ptp: ocp: expose config and temperature for ART card
authorVadim Fedorenko <vadfed@fb.com>
Thu, 20 Oct 2022 23:24:32 +0000 (02:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2022 12:10:40 +0000 (13:10 +0100)
commitee6439aaad3245851bbbcbf6c7534c9a29407ab2
treed8e626898c6a283bb4a7ceaa40662393ee767e4f
parent9c44a7ac17fb980f8e297588e75a6158c69a1a8e
ptp: ocp: expose config and temperature for ART card

Orolia card has disciplining configuration and temperature table
stored in EEPROM. This patch exposes them as binary attributes to
have read and write access.

Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Co-developed-by: Charles Parent <charles.parent@orolia2s.com>
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Vadim Fedorenko <vadfed@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c