]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: clockmatrix: Rework clockmatrix version information.
authorVincent Cheng <vincent.cheng.xh@renesas.com>
Tue, 7 Jan 2020 14:47:57 +0000 (09:47 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2020 21:51:23 +0000 (13:51 -0800)
commit7806bd91a866377e506ac4aac21e4819421f68ab
tree8e01b9f16e4707e42f72bd827ed06af8a84a7412
parent5f8506b41bcaf2b41a156e2826ca843fb2b74f88
ptp: clockmatrix: Rework clockmatrix version information.

Simplify and fix the version information displayed by the driver.
The new info better relects what is needed to support the hardware.

Prev:
Version: 4.8.0, Pipeline 22169 0x4001, Rev 0, Bond 5, CSR 311, IRQ 2

New:
Version: 4.8.0, Id: 0x4001  Hw Rev: 5  OTP Config Select: 15

- Remove pipeline, CSR and IRQ because version x.y.z already incorporates
  this information.
- Remove bond number because it is not used.
- Remove rev number because register was not implemented, always 0
- Add HW Rev ID register to replace rev number
- Add OTP config select to show the user configuration chosen by
  the configurable GPIO pins on start-up

Signed-off-by: Vincent Cheng <vincent.cheng.xh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/idt8a340_reg.h
drivers/ptp/ptp_clockmatrix.c