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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
---
  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@xxxxxxxxxxxx>

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:





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux