diff mbox series

media: dt-bindings: schema indentation fixes

Message ID 20201112224951.166313-1-robh@kernel.org (mailing list archive)
State New, archived
Headers show
Series media: dt-bindings: schema indentation fixes | expand

Commit Message

Rob Herring (Arm) Nov. 12, 2020, 10:49 p.m. UTC
Fix a few new indentation warnings found with yamllint (now integrated
into the checks).

Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: Ricardo Ribalda <ribalda@kernel.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../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(-)

Comments

Jacopo Mondi Nov. 14, 2020, 10:57 a.m. UTC | #1
Hi Rob,

On Thu, Nov 12, 2020 at 04:49:51PM -0600, Rob Herring wrote:
> Fix a few new indentation warnings found with yamllint (now integrated
> into the checks).
>
> Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Jacopo Mondi <jacopo@jmondi.org>
> Cc: Ricardo Ribalda <ribalda@kernel.org>
> Cc: linux-media@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../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
Acked-by: Jacopo Mondi <jacopo+renesas@jmondi.org>

>  3 files changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> index 3897af540ddd..407baddfaa1d 100644
> --- a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> @@ -21,8 +21,8 @@ properties:
>    compatible:
>      items:
>        - enum:
> -        - adi,adv7611
> -        - adi,adv7612
> +          - adi,adv7611
> +          - adi,adv7612
>
>    reg:
>      minItems: 1
> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> index 63b3779d7289..6866c2cdac50 100644
> --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> index 0f5e25fa4e9d..1a3590dd0e98 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> @@ -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
>
Rob Herring (Arm) Dec. 3, 2020, 3:11 p.m. UTC | #2
On Thu, Nov 12, 2020 at 04:49:51PM -0600, Rob Herring wrote:
> Fix a few new indentation warnings found with yamllint (now integrated
> into the checks).
> 
> Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Jacopo Mondi <jacopo@jmondi.org>
> Cc: Ricardo Ribalda <ribalda@kernel.org>
> Cc: linux-media@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---

Ping! This should go via the media tree.

>  .../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(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> index 3897af540ddd..407baddfaa1d 100644
> --- a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> @@ -21,8 +21,8 @@ properties:
>    compatible:
>      items:
>        - enum:
> -        - adi,adv7611
> -        - adi,adv7612
> +          - adi,adv7611
> +          - adi,adv7612
>  
>    reg:
>      minItems: 1
> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> index 63b3779d7289..6866c2cdac50 100644
> --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> index 0f5e25fa4e9d..1a3590dd0e98 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> @@ -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
>
Hans Verkuil Dec. 7, 2020, 2:12 p.m. UTC | #3
On 12/11/2020 23:49, Rob Herring wrote:
> Fix a few new indentation warnings found with yamllint (now integrated
> into the checks).
> 
> Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Jacopo Mondi <jacopo@jmondi.org>
> Cc: Ricardo Ribalda <ribalda@kernel.org>
> Cc: linux-media@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>

For adv7604:

Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

Regards,

	Hans

> ---
>  .../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(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> index 3897af540ddd..407baddfaa1d 100644
> --- a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
> @@ -21,8 +21,8 @@ properties:
>    compatible:
>      items:
>        - enum:
> -        - adi,adv7611
> -        - adi,adv7612
> +          - adi,adv7611
> +          - adi,adv7612
>  
>    reg:
>      minItems: 1
> diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> index 63b3779d7289..6866c2cdac50 100644
> --- a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> index 0f5e25fa4e9d..1a3590dd0e98 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> @@ -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
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
index 3897af540ddd..407baddfaa1d 100644
--- a/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/adv7604.yaml
@@ -21,8 +21,8 @@  properties:
   compatible:
     items:
       - enum:
-        - adi,adv7611
-        - adi,adv7612
+          - adi,adv7611
+          - adi,adv7612
 
   reg:
     minItems: 1
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
index 63b3779d7289..6866c2cdac50 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
index 0f5e25fa4e9d..1a3590dd0e98 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
@@ -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