diff mbox series

[v3,2/2] dt-bindings: mfd: Add properties for thermal sensor cells

Message ID 20241113024000.3327161-2-lschyi@chromium.org (mailing list archive)
State Handled Elsewhere
Headers show
Series [v3,1/2] hwmon: (cros_ec) register thermal sensors to thermal framework | expand

Commit Message

Sung-Chi Li Nov. 13, 2024, 2:39 a.m. UTC
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.

Signed-off-by: Sung-Chi, Li <lschyi@chromium.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
 Changes in v2:
   - Add changes for DTS binding.
 Changes in v3:
   - Remove unneeded Change-Id tag in commit message.
---
 Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Guenter Roeck Nov. 13, 2024, 3:05 a.m. UTC | #1
On 11/12/24 18:39, Sung-Chi, Li 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.
> 
> Signed-off-by: Sung-Chi, Li <lschyi@chromium.org>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
>   Changes in v2:
>     - Add changes for DTS binding.
>   Changes in v3:
>     - Remove unneeded Change-Id tag in commit message.
> ---

I can't apply this one (not in hwmon space), so

Acked-by: Guenter Roeck <linux@roeck-us.net>

with the assumption that Lee will pick it up.

Thanks,
Guenter

>   Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 3 +++
>   1 file changed, 3 insertions(+)
> 
> 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:
diff mbox series

Patch

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: