Skip to contentSkip to conversation

dt-bindings: iio: Fix incorrect compatible strings in examples

PATCH In review Rob Herring 4 participants 6 messages Apr 22, 2022 – Apr 28, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: iio: Fix incorrect compatible strings in examples

Fix a couple of examples using incorrect compatible strings.

---
 Documentation/devicetree/bindings/iio/dac/lltc,ltc2632.yaml     | 2 +-
 .../bindings/iio/potentiometer/microchip,mcp4131.yaml           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/iio/dac/lltc,ltc2632.yaml +1 -1
index edf804d0aca2..b1eb77335d05 100644
@@ -68,7 +68,7 @@ examples:
       #size-cells = <0>;
 
       dac@0 {
-        compatible = "lltc,ltc2632";
+        compatible = "lltc,ltc2632-l12";
         reg = <0>;    /* CS0 */
         spi-max-frequency = <1000000>;
         vref-supply = <&vref>;
Documentation/devicetree/bindings/iio/potentiometer/microchip,mcp4131.yaml +1 -1
index 945a2d644ddc..32e92bced81f 100644
@@ -95,7 +95,7 @@ examples:
         #size-cells = <0>;
 
         potentiometer@0 {
-            compatible = "mcp4131-502";
+            compatible = "microchip,mcp4131-502";
             reg = <0>;
             spi-max-frequency = <500000>;
         };
Signature · 1 line
2.32.0
maintainer Acked-by on v1 1/1
#3 lore raw
In reply to Rob Herring
Quoted 3 lines · On Fri, 22 Apr 2022 14:20:39 -0500 Rob Herring <[email protected]> wrote:

Fix a couple of examples using incorrect compatible strings.

or I can pick these up through IIO if preferred.

Thanks,

Jonathan

Quoted 31 lines
---
 Documentation/devicetree/bindings/iio/dac/lltc,ltc2632.yaml     | 2 +-
 .../bindings/iio/potentiometer/microchip,mcp4131.yaml           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/iio/dac/lltc,ltc2632.yaml +1 -1
index edf804d0aca2..b1eb77335d05 100644
@@ -68,7 +68,7 @@ examples:
       #size-cells = <0>;
 
       dac@0 {
-        compatible = "lltc,ltc2632";
+        compatible = "lltc,ltc2632-l12";
         reg = <0>;    /* CS0 */
         spi-max-frequency = <1000000>;
         vref-supply = <&vref>;
Documentation/devicetree/bindings/iio/potentiometer/microchip,mcp4131.yaml +1 -1
index 945a2d644ddc..32e92bced81f 100644
@@ -95,7 +95,7 @@ examples:
         #size-cells = <0>;
 
         potentiometer@0 {
-            compatible = "mcp4131-502";
+            compatible = "microchip,mcp4131-502";
             reg = <0>;
             spi-max-frequency = <500000>;
         };
maintainer
#5 lore raw
Quoted 4 lines · On Mon, 25 Apr 2022 14:45:17 -0500 Rob Herring <[email protected]> wrote:
Quoted 3 lines · Jonathan Cameron

On Fri, 22 Apr 2022 14:20:39 -0500
Rob Herring <[email protected]> wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Fix a couple of examples using incorrect compatible strings.

or I can pick these up through IIO if preferred.

Yes, please apply.

Done,

Thanks,

Jonathan

Quoted 2 lines

Rob