Skip to content

Commit

Permalink
dt-bindings: white-space cleanups
Browse files Browse the repository at this point in the history
Remove trailing white-spaces and trailing blank lines (yamllint with
default options does not like them).

Suggested-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220402192819.154691-1-krzysztof.kozlowski@linaro.org
  • Loading branch information
Krzysztof Kozlowski authored and Rob Herring committed Apr 5, 2022
1 parent d9a64c5 commit 2d09115
Show file tree
Hide file tree
Showing 52 changed files with 10 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ examples:
clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>;
clock-names = "aclk200", "aclk400_mcuisp";
};
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ examples:
clock-names = "bus", "mod";
resets = <&ccu RST_BUS_CE>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ examples:
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ examples:
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,3 @@ examples:
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,3 @@ examples:
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,3 @@ examples:
clock-names = "merge";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,3 @@ examples:
};
};
...

Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ examples:
};
};
...

Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ examples:
compatible = "sprd,display-subsystem";
ports = <&dpu_out>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,3 @@ examples:
};
...

1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ examples:
};
...

1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,3 @@ examples:
};
...

1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/gpu/samsung-rotator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ examples:
clocks = <&clock 278>;
clock-names = "rotator";
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/hwmon/adt7475.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ examples:
adi,pwm-active-state = <1 0 1>;
};
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/i2c/i2c-gate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ examples:
};
};
...

1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/i2c/i2c-mux-gpmux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ description: |+
'------------' '-----' '-----' '-----'
allOf:
- $ref: /schemas/i2c/i2c-mux.yaml#

Expand Down
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/iio/adc/adi,ad7291.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ examples:
};
};
...

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ examples:
spi {
#address-cells = <1>;
#size-cells = <0>;
dac@0 {
compatible = "lltc,ltc1660";
reg = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,3 @@ examples:
power-domains = <&pd_gsc>;
#iommu-cells = <0>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ properties:
description: |
kHz; switching frequency.
$ref: /schemas/types.yaml#/definitions/uint32
enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920,
enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920,
2400, 3200, 4800, 9600 ]

qcom,ovp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ examples:
interrupts = <208>, <209>, <210>;
#mbox-cells = <1>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@ examples:
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,3 @@ examples:
assigned-clock-parents = <&k3_clks 118 11>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ examples:
pcie0 {
#size-cells = <2>;
#address-cells = <3>;
wifi_0: wifi@0 {
reg = <0 0 0 0 0>;
memory-region = <&qcn9074_0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ examples:
#power-domain-cells = <1>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ examples:
power-supplies = <&mains_charger>, <&usb_charger>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ properties:
supply it power, referenced by their phandles.

additionalProperties: true

Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ examples:
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ properties:
items:
- const: USB
- const: AC

required:
- compatible
- interrupts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@ examples:
resets = <&sys_rst 14>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ examples:
};
...

Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,3 @@ examples:
};
};
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/reset/microchip,rst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ examples:
#reset-cells = <1>;
cpu-syscon = <&cpu_ctrl>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ examples:
compatible = "intel,ixp46x-rng";
reg = <0x70002100 4>;
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/serial/sprd-uart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ properties:

clock-names:
description: |
"enable" for UART module enable clock, "uart" for UART clock, "source"
"enable" for UART module enable clock, "uart" for UART clock, "source"
for UART source (parent) clock.
items:
- const: enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ examples:
compatible = "amlogic,canvas";
reg = <0x48 0x14>;
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/sound/adi,adau1372.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ examples:
clock-frequency = <12288000>;
};
...

Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,3 @@ examples:
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ examples:
reg = <0x38>;
};
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/mchp,spdifrx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ maintainers:
- Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

description:
The Microchip Sony/Philips Digital Interface Receiver is a serial port
The Microchip Sony/Philips Digital Interface Receiver is a serial port
compliant with the IEC-60958 standard.

properties:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/mchp,spdiftx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ maintainers:
- Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

description:
The Microchip Sony/Philips Digital Interface Transmitter is a serial port
The Microchip Sony/Philips Digital Interface Transmitter is a serial port
compliant with the IEC-60958 standard.

properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ examples:
clocks = <&clk 216>, <&clk 217>, <&clk 120>;
clock-names = "pll_a", "pll_a_out0", "mclk";
};
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,3 @@ examples:
sound-dai = <&wm8994>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,3 @@ examples:
sound-dai = <&hdmi>, <&max98090>;
};
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/sound/tas2562.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ examples:
ti,imon-slot-no = <0>;
};
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/sound/tas2770.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ examples:
ti,vmon-slot-no = <2>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ examples:
reg = <0>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ examples:
spi-max-frequency = <40000000>;
};
};
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/spi/renesas,hspi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
};
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/usb/dwc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ properties:

snps,need-phy-for-wake:
$ref: /schemas/types.yaml#/definitions/flag
description: If present indicates that the phy needs to be left on for
description: If present indicates that the phy needs to be left on for
remote wakeup during suspend.

snps,reset-phy-on-wake:
$ref: /schemas/types.yaml#/definitions/flag
description: If present indicates that we need to reset the PHY when we
description: If present indicates that we need to reset the PHY when we
detect a wakeup. This is due to a hardware errata.

port:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/usb/smsc,usb3503.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ examples:
i2c {
#address-cells = <1>;
#size-cells = <0>;

usb-hub@8 {
compatible = "smsc,usb3503";
reg = <0x08>;
Expand Down

0 comments on commit 2d09115

Please sign in to comment.