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 <rruuaanng@outlook.com>
This commit is contained in:
James Roy 2025-01-13 11:32:59 +08:00 committed by Benjamin Cabé
parent 5a5f05ba4e
commit 32e42856bc
5 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@
irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;
pclk = <5>;
pclk_pol = <1>;
pclk-pol = <1>;
cspread = <1>;
swizzle = <0>;
vsize = <272>;

View file

@ -26,7 +26,7 @@
segment-remap;
com-invdir;
prechargep = <0x22>;
data_cmd-gpios = <&arduino_header 15 0>;
data-cmd-gpios = <&arduino_header 15 0>;
/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
};
};

View file

@ -20,7 +20,7 @@ properties:
typical main clock was 48MHz and this value is 5, the PCLK
will be 9.6 MHz. Must be positive value to enable the screen
pclk_pol:
pclk-pol:
type: int
required: true
description: |

View file

@ -8,7 +8,7 @@ compatible: "sinowealth,sh1106"
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
properties:
data_cmd-gpios:
data-cmd-gpios:
type: phandle-array
required: true
description: D/C# pin.

View file

@ -8,7 +8,7 @@ compatible: "solomon,ssd1306fb"
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
properties:
data_cmd-gpios:
data-cmd-gpios:
type: phandle-array
required: true
description: D/C# pin.