Skip to contentSkip to conversation

dt-bindings: i2c: opencores: Add missing type for "regstep"

PATCH In review Rob Herring 6 participants 6 messages Jun 13, 2023 – Jun 14, 2023

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: i2c: opencores: Add missing type for "regstep"

"regstep" may be deprecated, but it still needs a type.

---
 Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml +1 -0
index 85d9efb743ee..d9ef86729011 100644
@@ -60,6 +60,7 @@ properties:
     default: 0
 
   regstep:
+    $ref: /schemas/types.yaml#/definitions/uint32
     description: |
       deprecated, use reg-shift above
     deprecated: true
Signature · 1 line
2.39.2
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Rob" == Rob Herring <[email protected]> writes:

"regstep" may be deprecated, but it still needs a type.

---
 Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml +0 -0
index 85d9efb743ee..d9ef86729011 100644

Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml properties: · line 63

Quoted 4 lines
Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml +1 -0
@@ -60,6 +60,7 @@ properties:
     default: 0
 
   regstep:
+    $ref: /schemas/types.yaml#/definitions/uint32
Signature · 1 line
Bye, Peter Korsgaard
Reviewed-by on v1 1/1
#3 lore raw
In reply to Rob Herring
Quoted 1 line · Rob Herring

"regstep" may be deprecated, but it still needs a type.

Mea culpa!

Quoted 21 lines
---
 Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/opencores,i2c-ocores.yaml +1 -0
index 85d9efb743ee..d9ef86729011 100644
@@ -60,6 +60,7 @@ properties:
     default: 0
 
   regstep:
+    $ref: /schemas/types.yaml#/definitions/uint32
     description: |
       deprecated, use reg-shift above
     deprecated: true
Signature · 1 line
2.39.2