Message ID | 20241111095045.1218986-2-lschyi@chromium.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v2] hwmon: (cros_ec) register thermal sensors to thermal framework | expand |
On Mon, Nov 11, 2024 at 05:50:31PM +0800, Sung-Chi wrote: > The cros_ec supports reading thermal values from thermal sensors > connect to it. Add the property '#thermal-sensor-cells' bindings, such > that thermal framework can recognize cros_ec as a valid thermal device. > > Change-Id: I95a22c0f1a69de547fede5f0f9c43cbd60820789 ^^^^^^^^^ With this removed, Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor.
diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml index aac8819bd00b..c7d63e3aacd2 100644 --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml @@ -96,6 +96,9 @@ properties: '#gpio-cells': const: 2 + '#thermal-sensor-cells': + const: 1 + gpio-controller: true typec:
The cros_ec supports reading thermal values from thermal sensors connect to it. Add the property '#thermal-sensor-cells' bindings, such that thermal framework can recognize cros_ec as a valid thermal device. Change-Id: I95a22c0f1a69de547fede5f0f9c43cbd60820789 Signed-off-by: Sung-Chi <lschyi@chromium.org> --- Changes in v2: - Add changes for DTS binding. --- Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 3 +++ 1 file changed, 3 insertions(+)