Skip to content

Commit 6ad8838

Browse files
committed
dt-bindings: More whitespace clean-ups in schema files
Clean-up incorrect indentation, extra spaces, and missing EOF newline in schema files. Most of the clean-ups are for list indentation which should always be 2 spaces more than the preceding keyword. Found with yamllint (now integrated into the checks). Cc: linux-arm-kernel@lists.infradead.org Cc: dri-devel@lists.freedesktop.org Cc: linux-gpio@vger.kernel.org Cc: linux-i2c@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-mmc@vger.kernel.org Cc: linux-mtd@lists.infradead.org Cc: linux-serial@vger.kernel.org Cc: linux-usb@vger.kernel.org Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C Acked-by: Sam Ravnborg <sam@ravnborg.org> # for display Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 5c024e6 commit 6ad8838

34 files changed

Lines changed: 223 additions & 219 deletions

Documentation/devicetree/bindings/arm/stm32/stm32.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ properties:
5454
- const: st,stm32mp157
5555
- description: Odyssey STM32MP1 SoM based Boards
5656
items:
57-
- enum:
58-
- seeed,stm32mp157c-odyssey
59-
- const: seeed,stm32mp157c-odyssey-som
60-
- const: st,stm32mp157
57+
- enum:
58+
- seeed,stm32mp157c-odyssey
59+
- const: seeed,stm32mp157c-odyssey-som
60+
- const: st,stm32mp157
6161
...

Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Toshiba TC358775 DSI to LVDS bridge bindings
88

99
maintainers:
10-
- Vinay Simha BN <simhavcs@gmail.com>
10+
- Vinay Simha BN <simhavcs@gmail.com>
1111

1212
description: |
13-
This binding supports DSI to LVDS bridge TC358775
13+
This binding supports DSI to LVDS bridge TC358775
1414
15-
MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane.
16-
Video frame size:
17-
Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel
18-
limited by 135 MHz LVDS speed
19-
Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display
20-
panel, limited by 270 MHz LVDS speed.
15+
MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane.
16+
Video frame size:
17+
Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel
18+
limited by 135 MHz LVDS speed
19+
Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display
20+
panel, limited by 270 MHz LVDS speed.
2121
2222
properties:
2323
compatible:
@@ -29,7 +29,7 @@ properties:
2929

3030
vdd-supply:
3131
maxItems: 1
32-
description: 1.2V LVDS Power Supply
32+
description: 1.2V LVDS Power Supply
3333

3434
vddio-supply:
3535
maxItems: 1
@@ -77,16 +77,16 @@ properties:
7777
- port@1
7878

7979
required:
80-
- compatible
81-
- reg
82-
- vdd-supply
83-
- vddio-supply
84-
- stby-gpios
85-
- reset-gpios
86-
- ports
80+
- compatible
81+
- reg
82+
- vdd-supply
83+
- vddio-supply
84+
- stby-gpios
85+
- reset-gpios
86+
- ports
8787

8888
examples:
89-
- |
89+
- |
9090
#include <dt-bindings/gpio/gpio.h>
9191
9292
/* For single-link LVDS display panel */
@@ -147,7 +147,7 @@ examples:
147147
};
148148
};
149149
150-
- |
150+
- |
151151
/* For dual-link LVDS display panel */
152152
153153
i2c@78b8000 {

Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ properties:
1313
compatible:
1414
items:
1515
- enum:
16-
- bananapi,lhr050h41
17-
- feixin,k101-im2byl02
18-
16+
- bananapi,lhr050h41
17+
- feixin,k101-im2byl02
1918
- const: ilitek,ili9881c
2019

2120
backlight: true

Documentation/devicetree/bindings/eeprom/at25.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ properties:
8181
at25,byte-len:
8282
$ref: /schemas/types.yaml#/definitions/uint32
8383
description:
84-
Total eeprom size in bytes. Deprecated, use "size" property instead.
84+
Total eeprom size in bytes. Deprecated, use "size" property instead.
8585
deprecated: true
8686

8787
at25,addr-mode:
8888
$ref: /schemas/types.yaml#/definitions/uint32
8989
description:
90-
Addr-mode flags, as defined in include/linux/spi/eeprom.h.
91-
Deprecated, use "address-width" property instead.
90+
Addr-mode flags, as defined in include/linux/spi/eeprom.h.
91+
Deprecated, use "address-width" property instead.
9292
deprecated: true
9393

9494
at25,page-size:

Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ properties:
4343
gpio-controller: true
4444

4545
gpio-line-names:
46-
minItems: 1
47-
maxItems: 8
46+
minItems: 1
47+
maxItems: 8
4848

4949
required:
5050
- compatible

Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ properties:
1919
compatible:
2020
oneOf:
2121
- enum:
22-
- ingenic,jz4770-i2c
23-
- ingenic,x1000-i2c
22+
- ingenic,jz4770-i2c
23+
- ingenic,x1000-i2c
2424
- items:
25-
- const: ingenic,jz4780-i2c
26-
- const: ingenic,jz4770-i2c
25+
- const: ingenic,jz4780-i2c
26+
- const: ingenic,jz4770-i2c
2727

2828
reg:
2929
maxItems: 1

Documentation/devicetree/bindings/iio/adc/adi,ad7291.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ examples:
4343
vref-supply = <&adc_vref>;
4444
};
4545
};
46-
...
46+
...
47+

Documentation/devicetree/bindings/iio/adc/adi,ad7768-1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ properties:
4646
spi-max-frequency: true
4747

4848
spi-cpol: true
49-
spi-cpha : true
49+
50+
spi-cpha: true
5051

5152
"#io-channel-cells":
5253
const: 1

Documentation/devicetree/bindings/iio/adc/cosmic,10001-adc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ properties:
2222
adc-reserved-channels:
2323
$ref: /schemas/types.yaml#/definitions/uint32
2424
description:
25-
Bitmask of reserved channels, i.e. channels that cannot be
26-
used by the OS.
25+
Bitmask of reserved channels, i.e. channels that cannot be
26+
used by the OS.
2727

2828
clocks:
2929
maxItems: 1

Documentation/devicetree/bindings/iio/adc/holt,hi8435.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ properties:
2121

2222
gpios:
2323
description:
24-
GPIO used for controlling the reset pin
24+
GPIO used for controlling the reset pin
2525
maxItems: 1
2626

2727
spi-max-frequency: true

0 commit comments

Comments
 (0)