devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] occ: Restore default behavior of polling OCC during init
@ 2022-08-09 20:06 Eddie James
  2022-08-09 20:06 ` [PATCH v2 1/3] dt-bindings: hwmon: Add IBM OCC bindings Eddie James
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eddie James @ 2022-08-09 20:06 UTC (permalink / raw)
  To: joel
  Cc: jdelvare, robh+dt, linux, krzysztof.kozlowski+dt, linux-hwmon,
	devicetree, linux-kernel, linux-fsi, Eddie James

A recent change to the OCC hwmon driver modified the default behavior to
no longer poll the OCC during initialization. This does change the
interface, meaning that old applications will not work with the more
recent driver. To resolve this issue, introduce a new dts property to
control the behavior of the driver during initialization, similar to the
FSI master property "no-scan-on-init". Without the new
"ibm,no-poll-on-init" boolean present, the driver will now do the
previous behavior of polling the OCC.

Changes since v1:
 - Fix bindings and rename ibm,inactive-on-init to ibm,no-poll-on-init
 - Fix incorrect MODULE_DEVICE_TABLE argument

Eddie James (3):
  dt-bindings: hwmon: Add IBM OCC bindings
  fsi: occ: Support probing the hwmon child device from dts node
  hwmon: (occ) Check for device property for setting OCC active during
    probe

 .../bindings/hwmon/ibm,occ-hwmon.yaml         | 39 ++++++++++++++++++
 drivers/fsi/fsi-occ.c                         | 41 +++++++++++++++----
 drivers/hwmon/occ/common.c                    | 11 ++++-
 drivers/hwmon/occ/p9_sbe.c                    |  9 ++++
 4 files changed, 92 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/ibm,occ-hwmon.yaml

-- 
2.31.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-27  7:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 20:06 [PATCH v2 0/3] occ: Restore default behavior of polling OCC during init Eddie James
2022-08-09 20:06 ` [PATCH v2 1/3] dt-bindings: hwmon: Add IBM OCC bindings Eddie James
2022-08-10 17:31   ` Rob Herring
2022-08-09 20:07 ` [PATCH v2 2/3] fsi: occ: Support probing the hwmon child device from dts node Eddie James
2022-08-09 20:07 ` [PATCH v2 3/3] hwmon: (occ) Check for device property for setting OCC active during probe Eddie James
2022-09-25 18:06   ` Guenter Roeck
2022-09-27  7:35     ` Joel Stanley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).