Skip to contentSkip to conversation

dt-bindings: iio: imu: add missing property type

PATCH In review Vasileios Amoiridis 4 participants 10 messages Dec 19, 2024 – Dec 28, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover dt-bindings: iio: imu: add missing property type

It seems that some drivers miss the "type: boolean" under the drive-open-drain property, so add it.

Vasileios Amoiridis (3):
dt-bindings: iio: imu: bmi160: add boolean type for drive-open-drain
dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain
dt-bindings: iio: imu: bmi323: add boolean type for drive-open-drain

 Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml | 1 +
 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml | 1 +
 Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml | 1 +
 3 files changed, 3 insertions(+)

base-commit: fe2a04fbcbfe44694fcb36ff6212fce54b8f56cc

Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/3 dt-bindings: iio: imu: bmi160: add boolean type for drive-open-drain

Add missing type description "boolean" for the drive-open-drain property.

---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml +1 -0
index 3b0a2d8b2e91..2cf8a0c7eb4c 100644
@@ -37,6 +37,7 @@ properties:
       to "INT2" if INT2 pin should be used instead
 
   drive-open-drain:
+    type: boolean
     description: |
       set if the specified interrupt pin should be configured as
       open drain. If not set, defaults to push-pull.
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/3 dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain

In reply to Vasileios Amoiridis

Add missing type description "boolean" for the drive-open-drain property.

---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +1 -0
index 7b0cde1c9b0a..860a6c1fea3c 100644
@@ -41,6 +41,7 @@ properties:
         - INT2
 
   drive-open-drain:
+    type: boolean
     description:
       set if the specified interrupt pins should be configured as
       open drain. If not set, defaults to push-pull.
Signature · 1 line
2.43.0
maintainer
#3 lore raw

Re: [PATCH v1 2/3] dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain

Quoted 12 lines · Vasileios Amoiridis

Add missing type description "boolean" for the drive-open-drain property.

---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +0 -0
index 7b0cde1c9b0a..860a6c1fea3c 100644

Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml properties: · line 47

Quoted 7 lines
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +1 -0
@@ -41,6 +41,7 @@ properties:
         - INT2
 
   drive-open-drain:
+    type: boolean
     description:
       set if the specified interrupt pins should be configured as
       open drain. If not set, defaults to push-pull.
#4 lore raw

Re: [PATCH v1 2/3] dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain

Quoted 15 lines · Alex Lanzano
Quoted 14 lines · Vasileios Amoiridis

Add missing type description "boolean" for the drive-open-drain property.

---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +0 -0
index 7b0cde1c9b0a..860a6c1fea3c 100644
@@ -41,6 +41,7 @@ properties:
         - INT2
 
Quoted 7 lines

Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml properties: · line 47

Quoted 5 lines
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +1 -0
   drive-open-drain:
+    type: boolean
     description:
       set if the specified interrupt pins should be configured as
       open drain. If not set, defaults to push-pull.

What do you mean with this tag? A sign-off means you're part of the chain of custody of the patch, but you're neither author nor submitter. Did you mean Reviewed-by or Acked-by?

maintainer
#5 lore raw

Re: [PATCH v1 2/3] dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain

Quoted 24 lines · Conor Dooley
Quoted 15 lines · Alex Lanzano
Quoted 14 lines · Vasileios Amoiridis

Add missing type description "boolean" for the drive-open-drain property.

---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +0 -0
index 7b0cde1c9b0a..860a6c1fea3c 100644
@@ -41,6 +41,7 @@ properties:
         - INT2
 
Quoted 7 lines

Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml properties: · line 47

Quoted 5 lines
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +1 -0
   drive-open-drain:
+    type: boolean
     description:
       set if the specified interrupt pins should be configured as
       open drain. If not set, defaults to push-pull.
Quoted 3 lines

What do you mean with this tag? A sign-off means you're part of the chain of custody of the patch, but you're neither author nor submitter. Did you mean Reviewed-by or Acked-by?

Whoops! I ment to use the reviewed-by tag

maintainer Reviewed-by on v1 2/3
#6 lore raw

Re: [PATCH v1 2/3] dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain

In reply to Vasileios Amoiridis
Quoted 22 lines · Vasileios Amoiridis

Add missing type description "boolean" for the drive-open-drain property.

---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml +1 -0
index 7b0cde1c9b0a..860a6c1fea3c 100644
@@ -41,6 +41,7 @@ properties:
         - INT2
 
   drive-open-drain:
+    type: boolean
     description:
       set if the specified interrupt pins should be configured as
       open drain. If not set, defaults to push-pull.
Signature · 1 line
2.43.0

Ignore previous tag I sent in.

#7 lore raw

PATCH 3/3 dt-bindings: iio: imu: bmi323: add boolean type for drive-open-drain

In reply to Vasileios Amoiridis

Add missing type description "boolean" for the drive-open-drain property.

---
 Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml +1 -0
index 64ef26e19669..7bf8294a8f2e 100644
@@ -38,6 +38,7 @@ properties:
         - INT2
 
   drive-open-drain:
+    type: boolean
     description:
       set if the specified interrupt pin should be configured as
       open drain. If not set, defaults to push-pull.
Signature · 1 line
2.43.0
Acked-by on the v1 series
#8 lore raw
In reply to Vasileios Amoiridis
Quoted 7 lines · Vasileios Amoiridis

It seems that some drivers miss the "type: boolean" under the drive-open-drain property, so add it.

Vasileios Amoiridis (3):
dt-bindings: iio: imu: bmi160: add boolean type for drive-open-drain
dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain
dt-bindings: iio: imu: bmi323: add boolean type for drive-open-drain

maintainer
#9 lore raw
Quoted 10 lines · On Wed, 25 Dec 2024 14:23:34 +0000 Conor Dooley <[email protected]> wrote:
Quoted 7 lines · Vasileios Amoiridis

It seems that some drivers miss the "type: boolean" under the drive-open-drain property, so add it.

Vasileios Amoiridis (3):
dt-bindings: iio: imu: bmi160: add boolean type for drive-open-drain
dt-bindings: iio: imu: bmi270: add boolean type for drive-open-drain
dt-bindings: iio: imu: bmi323: add boolean type for drive-open-drain

Applied to the togreg branch of iio.git and pushed out as testing for 0-day to probably ignore these.

Thanks,

Jonathan