[PATCH 2/3] bindings: hwmon: Add adi,adaq4224_temp as compatible string

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

 



In the device ada4224 the max31827 temperature sensor will be used, so
the default values corresponding to adaq4224_temp are the same for
max31827.

Signed-off-by: Daniel Matyas <daniel.matyas@xxxxxxxxxx>
---
 Documentation/devicetree/bindings/hwmon/adi,max31827.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
index f60e06ab7d0a..9f3b0839aa46 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
@@ -20,6 +20,7 @@ properties:
       - const: adi,max31827
       - items:
           - enum:
+              - adi,adaq4224_temp
               - adi,max31828
               - adi,max31829
           - const: adi,max31827
@@ -81,7 +82,9 @@ allOf:
       properties:
         compatible:
           contains:
-            const: adi,max31827
+            enum:
+              - adi,max31827
+              - adi,adaq4224_temp
 
     then:
       properties:
-- 
2.34.1





[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