Skip to content

Commit 32e4285

Browse files
rruuaanngkartben
authored andcommitted
dts: bindings: display: Change the property names in the overlay
Unify property names in bindings and overlay, using hyphens (-) instead of underscores (_) as separators. Signed-off-by: James Roy <[email protected]>
1 parent 5a5f05b commit 32e4285

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

boards/shields/ftdi_vm800c/ftdi_vm800c.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;
2020

2121
pclk = <5>;
22-
pclk_pol = <1>;
22+
pclk-pol = <1>;
2323
cspread = <1>;
2424
swizzle = <0>;
2525
vsize = <272>;

boards/shields/ssd1306/ssd1306_128x64_spi.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
segment-remap;
2727
com-invdir;
2828
prechargep = <0x22>;
29-
data_cmd-gpios = <&arduino_header 15 0>;
29+
data-cmd-gpios = <&arduino_header 15 0>;
3030
/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
3131
};
3232
};

dts/bindings/display/ftdi,ft800.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ properties:
2020
typical main clock was 48MHz and this value is 5, the PCLK
2121
will be 9.6 MHz. Must be positive value to enable the screen
2222
23-
pclk_pol:
23+
pclk-pol:
2424
type: int
2525
required: true
2626
description: |

dts/bindings/display/sinowealth,sh1106-spi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ compatible: "sinowealth,sh1106"
88
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
99

1010
properties:
11-
data_cmd-gpios:
11+
data-cmd-gpios:
1212
type: phandle-array
1313
required: true
1414
description: D/C# pin.

dts/bindings/display/solomon,ssd1306fb-spi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ compatible: "solomon,ssd1306fb"
88
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
99

1010
properties:
11-
data_cmd-gpios:
11+
data-cmd-gpios:
1212
type: phandle-array
1313
required: true
1414
description: D/C# pin.

0 commit comments

Comments
 (0)