Skip to contentSkip to conversation

dt-bindings: iio/adc: ti,palmas-gpadc: Split interrupt fields in example

PATCH Applied Rob Herring 2 participants 2 messages Jan 6, 2022 – Jan 9, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: iio/adc: ti,palmas-gpadc: Split interrupt fields in example

Best practice for multi-cell property values is to bracket each multi-cell value.

---
 .../devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml +3 -3
index 7b895784e008..57a31356082e 100644
@@ -74,9 +74,9 @@ examples:
         compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
         adc {
             compatible = "ti,palmas-gpadc";
-            interrupts = <18 0
-                          16 0
-                          17 0>;
+            interrupts = <18 0>,
+                         <16 0>,
+                         <17 0>;
             #io-channel-cells = <1>;
             ti,channel0-current-microamp = <5>;
             ti,channel3-current-microamp = <10>;
Signature · 1 line
2.32.0
maintainer Applied
#1 lore raw
Quoted 4 lines · On Thu, 6 Jan 2022 12:25:11 -0600 Rob Herring <[email protected]> wrote:

Best practice for multi-cell property values is to bracket each multi-cell value.

Applied to the togreg branch of iio.git.

I'm assuming there is no rush on this as it's best practice rather than a bug.

Thanks,

Jonathan

Quoted 21 lines
---
 .../devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml +3 -3
index 7b895784e008..57a31356082e 100644
@@ -74,9 +74,9 @@ examples:
         compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
         adc {
             compatible = "ti,palmas-gpadc";
-            interrupts = <18 0
-                          16 0
-                          17 0>;
+            interrupts = <18 0>,
+                         <16 0>,
+                         <17 0>;
             #io-channel-cells = <1>;
             ti,channel0-current-microamp = <5>;
             ti,channel3-current-microamp = <10>;