Skip to contentSkip to conversation

media: dt-bindings: schema indentation fixes

PATCH In review Rob Herring 3 participants 4 messages Nov 12, 2020 – Dec 7, 2020

Subsystems (4)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 media: dt-bindings: schema indentation fixes

Fix a few new indentation warnings found with yamllint (now integrated into the checks).

Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Jacopo Mondi <[email protected]>
Cc Ricardo Ribalda <[email protected]>
---
 .../devicetree/bindings/media/i2c/adv7604.yaml       |  4 ++--
 .../devicetree/bindings/media/i2c/ovti,ov772x.yaml   | 12 ++++++------
 .../devicetree/bindings/media/i2c/sony,imx214.yaml   | 12 ++++++------
 3 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/media/i2c/adv7604.yaml +2 -2
index 3897af540ddd..407baddfaa1d 100644
@@ -21,8 +21,8 @@ properties:
   compatible:
     items:
       - enum:
-        - adi,adv7611
-        - adi,adv7612
+          - adi,adv7611
+          - adi,adv7612
 
   reg:
     minItems: 1
Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml +6 -6
index 63b3779d7289..6866c2cdac50 100644
@@ -75,18 +75,18 @@ properties:
                 bus-type:
                   const: 6
             then:
-                properties:
-                  hsync-active: false
-                  vsync-active: false
+              properties:
+                hsync-active: false
+                vsync-active: false
 
           - if:
               properties:
                 bus-width:
                   const: 10
             then:
-                properties:
-                  data-shift:
-                    const: 0
+              properties:
+                data-shift:
+                  const: 0
 
         required:
           - bus-type
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +6 -6
index 0f5e25fa4e9d..1a3590dd0e98 100644
@@ -68,13 +68,13 @@ properties:
             description: See ../video-interfaces.txt
             anyOf:
               - items:
-                - const: 1
-                - const: 2
+                  - const: 1
+                  - const: 2
               - items:
-                - const: 1
-                - const: 2
-                - const: 3
-                - const: 4
+                  - const: 1
+                  - const: 2
+                  - const: 3
+                  - const: 4
 
           link-frequencies:
             $ref: /schemas/types.yaml#/definitions/uint64-array
Signature · 1 line
2.25.1
maintainer Acked-by on v1 1/1
#1 lore raw

Hi Rob,

Quoted 9 lines · Rob Herring

Fix a few new indentation warnings found with yamllint (now integrated into the checks).

Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Jacopo Mondi <[email protected]>
Cc Ricardo Ribalda <[email protected]>
Quoted 4 lines
---
 .../devicetree/bindings/media/i2c/adv7604.yaml       |  4 ++--
 .../devicetree/bindings/media/i2c/ovti,ov772x.yaml   | 12 ++++++------
 .../devicetree/bindings/media/i2c/sony,imx214.yaml   | 12 ++++++------

Thank you!

For ov772x and imx214

Quoted 73 lines
 3 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/media/i2c/adv7604.yaml +2 -2
index 3897af540ddd..407baddfaa1d 100644
@@ -21,8 +21,8 @@ properties:
   compatible:
     items:
       - enum:
-        - adi,adv7611
-        - adi,adv7612
+          - adi,adv7611
+          - adi,adv7612
 
   reg:
     minItems: 1
Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml +6 -6
index 63b3779d7289..6866c2cdac50 100644
@@ -75,18 +75,18 @@ properties:
                 bus-type:
                   const: 6
             then:
-                properties:
-                  hsync-active: false
-                  vsync-active: false
+              properties:
+                hsync-active: false
+                vsync-active: false
 
           - if:
               properties:
                 bus-width:
                   const: 10
             then:
-                properties:
-                  data-shift:
-                    const: 0
+              properties:
+                data-shift:
+                  const: 0
 
         required:
           - bus-type
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +6 -7
index 0f5e25fa4e9d..1a3590dd0e98 100644
@@ -68,13 +68,13 @@ properties:
             description: See ../video-interfaces.txt
             anyOf:
               - items:
-                - const: 1
-                - const: 2
+                  - const: 1
+                  - const: 2
               - items:
-                - const: 1
-                - const: 2
-                - const: 3
-                - const: 4
+                  - const: 1
+                  - const: 2
+                  - const: 3
+                  - const: 4
 
           link-frequencies:
             $ref: /schemas/types.yaml#/definitions/uint64-array
--

2.25.1

author maintainer
#2 lore raw
In reply to Rob Herring
Quoted 10 lines · Rob Herring

Fix a few new indentation warnings found with yamllint (now integrated into the checks).

Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Jacopo Mondi <[email protected]>
Cc Ricardo Ribalda <[email protected]>

---

Ping! This should go via the media tree.

Quoted 76 lines
 .../devicetree/bindings/media/i2c/adv7604.yaml       |  4 ++--
 .../devicetree/bindings/media/i2c/ovti,ov772x.yaml   | 12 ++++++------
 .../devicetree/bindings/media/i2c/sony,imx214.yaml   | 12 ++++++------
 3 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/media/i2c/adv7604.yaml +2 -2
index 3897af540ddd..407baddfaa1d 100644
@@ -21,8 +21,8 @@ properties:
   compatible:
     items:
       - enum:
-        - adi,adv7611
-        - adi,adv7612
+          - adi,adv7611
+          - adi,adv7612
 
   reg:
     minItems: 1
Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml +6 -6
index 63b3779d7289..6866c2cdac50 100644
@@ -75,18 +75,18 @@ properties:
                 bus-type:
                   const: 6
             then:
-                properties:
-                  hsync-active: false
-                  vsync-active: false
+              properties:
+                hsync-active: false
+                vsync-active: false
 
           - if:
               properties:
                 bus-width:
                   const: 10
             then:
-                properties:
-                  data-shift:
-                    const: 0
+              properties:
+                data-shift:
+                  const: 0
 
         required:
           - bus-type
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +6 -6
index 0f5e25fa4e9d..1a3590dd0e98 100644
@@ -68,13 +68,13 @@ properties:
             description: See ../video-interfaces.txt
             anyOf:
               - items:
-                - const: 1
-                - const: 2
+                  - const: 1
+                  - const: 2
               - items:
-                - const: 1
-                - const: 2
-                - const: 3
-                - const: 4
+                  - const: 1
+                  - const: 2
+                  - const: 3
+                  - const: 4
 
           link-frequencies:
             $ref: /schemas/types.yaml#/definitions/uint64-array
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#3 lore raw
In reply to Rob Herring
Quoted 9 lines · Rob Herring

Fix a few new indentation warnings found with yamllint (now integrated into the checks).

Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Jacopo Mondi <[email protected]>
Cc Ricardo Ribalda <[email protected]>

For adv7604:

Regards,

Hans

Quoted 75 lines
---
 .../devicetree/bindings/media/i2c/adv7604.yaml       |  4 ++--
 .../devicetree/bindings/media/i2c/ovti,ov772x.yaml   | 12 ++++++------
 .../devicetree/bindings/media/i2c/sony,imx214.yaml   | 12 ++++++------
 3 files changed, 14 insertions(+), 14 deletions(-)
Documentation/devicetree/bindings/media/i2c/adv7604.yaml +2 -2
index 3897af540ddd..407baddfaa1d 100644
@@ -21,8 +21,8 @@ properties:
   compatible:
     items:
       - enum:
-        - adi,adv7611
-        - adi,adv7612
+          - adi,adv7611
+          - adi,adv7612
 
   reg:
     minItems: 1
Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml +6 -6
index 63b3779d7289..6866c2cdac50 100644
@@ -75,18 +75,18 @@ properties:
                 bus-type:
                   const: 6
             then:
-                properties:
-                  hsync-active: false
-                  vsync-active: false
+              properties:
+                hsync-active: false
+                vsync-active: false
 
           - if:
               properties:
                 bus-width:
                   const: 10
             then:
-                properties:
-                  data-shift:
-                    const: 0
+              properties:
+                data-shift:
+                  const: 0
 
         required:
           - bus-type
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +6 -6
index 0f5e25fa4e9d..1a3590dd0e98 100644
@@ -68,13 +68,13 @@ properties:
             description: See ../video-interfaces.txt
             anyOf:
               - items:
-                - const: 1
-                - const: 2
+                  - const: 1
+                  - const: 2
               - items:
-                - const: 1
-                - const: 2
-                - const: 3
-                - const: 4
+                  - const: 1
+                  - const: 2
+                  - const: 3
+                  - const: 4
 
           link-frequencies:
             $ref: /schemas/types.yaml#/definitions/uint64-array