Skip to contentSkip to conversation

dt-bindings: media: eliminate yamllint warnings

PATCH Applied Zhen Lei 3 participants 9 messages Dec 7, 2020 – Dec 18, 2020

Subsystems (5)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

cover dt-bindings: media: eliminate yamllint warnings

These patches are based on the latest linux-next code.

Zhen Lei (4):
dt-bindings: media: adv7604: eliminate yamllint warnings
dt-bindings: media: nokia,smia: eliminate yamllint warnings
dt-bindings: media: ov772x: eliminate yamllint warnings
dt-bindings: media: imx214: eliminate yamllint warnings

 Documentation/devicetree/bindings/media/i2c/adv7604.yaml     |  4 ++--
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml    | 11 ++++++-----
 Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml | 12 ++++++------
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 12 ++++++------
 4 files changed, 20 insertions(+), 19 deletions(-)
Signature · 1 line
1.8.3
author
#1 lore raw

PATCH 1/4 dt-bindings: media: adv7604: eliminate yamllint warnings

Eliminate the following yamllint warnings:
./Documentation/devicetree/bindings/media/i2c/adv7604.yaml :24:9: [warning] wrong indentation: expected 10 but found 8 (indentation)

---
 Documentation/devicetree/bindings/media/i2c/adv7604.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/media/i2c/adv7604.yaml +2 -2
index 81f17e719d87da5..693f31daf5aa699 100644
@@ -21,8 +21,8 @@ properties:
   compatible:
     items:
       - enum:
-        - adi,adv7611
-        - adi,adv7612
+          - adi,adv7611
+          - adi,adv7612
 
   reg:
     minItems: 1
Signature · 1 line
1.8.3
author
#2 lore raw

PATCH 2/4 dt-bindings: media: nokia,smia: eliminate yamllint warnings

In reply to Zhen Lei

Eliminate the following yamllint warnings:
./Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml :4:1: [error] missing document start "---" (document-start) :29:9: [warning] wrong indentation: expected 10 but found 8 (indentation) :32:9: [warning] wrong indentation: expected 10 but found 8 (indentation)

---
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml +6 -5
index d94bd67ccea111d..0df0334d2d0db3b 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 # Copyright (C) 2014--2020 Intel Corporation
-
+%YAML 1.2
+---
 $id: http://devicetree.org/schemas/media/i2c/mipi-ccs.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
@@ -26,11 +27,11 @@ properties:
   compatible:
     oneOf:
       - items:
-        - const: mipi-ccs-1.1
-        - const: mipi-ccs
+          - const: mipi-ccs-1.1
+          - const: mipi-ccs
       - items:
-        - const: mipi-ccs-1.0
-        - const: mipi-ccs
+          - const: mipi-ccs-1.0
+          - const: mipi-ccs
       - const: nokia,smia
 
   reg:
Signature · 1 line
1.8.3
maintainer Reviewed-by on v1 2/4
#3 lore raw

Re: [PATCH 2/4] dt-bindings: media: nokia, smia: eliminate yamllint warnings

Quoted 11 lines · Zhen Lei

Eliminate the following yamllint warnings:
./Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml :4:1: [error] missing document start "---" (document-start) :29:9: [warning] wrong indentation: expected 10 but found 8 (indentation) :32:9: [warning] wrong indentation: expected 10 but found 8 (indentation)

---
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
maintainer Applied
#4 lore raw

Re: [PATCH 2/4] dt-bindings: media: nokia, smia: eliminate yamllint warnings

In reply to Zhen Lei
Quoted 11 lines · Zhen Lei

Eliminate the following yamllint warnings:
./Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml :4:1: [error] missing document start "---" (document-start) :29:9: [warning] wrong indentation: expected 10 but found 8 (indentation) :32:9: [warning] wrong indentation: expected 10 but found 8 (indentation)

---
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Applied, thanks!

author
#5 lore raw

PATCH 3/4 dt-bindings: media: ov772x: eliminate yamllint warnings

In reply to Zhen Lei

Eliminate the following yamllint warnings:
./Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml :79:17: [warning] wrong indentation: expected 14 but found 16 (indentation) :88:17: [warning] wrong indentation: expected 14 but found 16 (indentation)

---
 Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml +6 -6
index 450e5bd64312ddf..eedc560837d2c80 100644
@@ -76,18 +76,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
Signature · 1 line
1.8.3
author
#6 lore raw

PATCH 4/4 dt-bindings: media: imx214: eliminate yamllint warnings

In reply to Zhen Lei

Eliminate the following yamllint warnings:
./Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml :72:17: [warning] wrong indentation: expected 18 but found 16 (indentation) :75:17: [warning] wrong indentation: expected 18 but found 16 (indentation)

---
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml +6 -6
index 884bd3527e0a430..0599df605a4f8a6 100644
@@ -69,13 +69,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
1.8.3
maintainer
#7 lore raw
In reply to Zhen Lei

Hi Zhen,

Quoted 7 lines · Zhen Lei

These patches are based on the latest linux-next code.

Zhen Lei (4):
dt-bindings: media: adv7604: eliminate yamllint warnings
dt-bindings: media: nokia,smia: eliminate yamllint warnings
dt-bindings: media: ov772x: eliminate yamllint warnings
dt-bindings: media: imx214: eliminate yamllint warnings

The adv7604, ov772x and imx214 bits have been addressed by:
https://www.spinics.net/lists/linux-media/msg181093.html

Thanks
j

Quoted 11 lines
 Documentation/devicetree/bindings/media/i2c/adv7604.yaml     |  4 ++--
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml    | 11 ++++++-----
 Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml | 12 ++++++------
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 12 ++++++------
 4 files changed, 20 insertions(+), 19 deletions(-)

--
1.8.3

#8 lore raw
Quoted 5 lines · Jacopo Mondi

Hi Zhen,

Quoted 2 lines · Zhen Lei

These patches are based on the latest linux-next code.

Quoted 8 lines
Quoted 5 lines

Zhen Lei (4):
dt-bindings: media: adv7604: eliminate yamllint warnings
dt-bindings: media: nokia,smia: eliminate yamllint warnings
dt-bindings: media: ov772x: eliminate yamllint warnings
dt-bindings: media: imx214: eliminate yamllint warnings

The adv7604, ov772x and imx214 bits have been addressed by:
https://www.spinics.net/lists/linux-media/msg181093.html

OK

Quoted 18 lines

Thanks
j

Quoted 11 lines
 Documentation/devicetree/bindings/media/i2c/adv7604.yaml     |  4 ++--
 Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml    | 11 ++++++-----
 Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml | 12 ++++++------
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 12 ++++++------
 4 files changed, 20 insertions(+), 19 deletions(-)

--
1.8.3

.