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:
parent
5a5f05ba4e
commit
32e42856bc
5 changed files with 5 additions and 5 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;
|
irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;
|
||||||
|
|
||||||
pclk = <5>;
|
pclk = <5>;
|
||||||
pclk_pol = <1>;
|
pclk-pol = <1>;
|
||||||
cspread = <1>;
|
cspread = <1>;
|
||||||
swizzle = <0>;
|
swizzle = <0>;
|
||||||
vsize = <272>;
|
vsize = <272>;
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
segment-remap;
|
segment-remap;
|
||||||
com-invdir;
|
com-invdir;
|
||||||
prechargep = <0x22>;
|
prechargep = <0x22>;
|
||||||
data_cmd-gpios = <&arduino_header 15 0>;
|
data-cmd-gpios = <&arduino_header 15 0>;
|
||||||
/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
|
/* reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; */
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ properties:
|
||||||
typical main clock was 48MHz and this value is 5, the PCLK
|
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
|
will be 9.6 MHz. Must be positive value to enable the screen
|
||||||
|
|
||||||
pclk_pol:
|
pclk-pol:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ compatible: "sinowealth,sh1106"
|
||||||
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
|
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
data_cmd-gpios:
|
data-cmd-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: true
|
required: true
|
||||||
description: D/C# pin.
|
description: D/C# pin.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ compatible: "solomon,ssd1306fb"
|
||||||
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
|
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
data_cmd-gpios:
|
data-cmd-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: true
|
required: true
|
||||||
description: D/C# pin.
|
description: D/C# pin.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue