mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
dt-bindings: auxdisplay: hit,hd44780: use defines for GPIO flags
Improve example DTS readability by using known defines for GPIO flags. Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
961454590d
commit
4fdcbb88b1
1 changed files with 8 additions and 8 deletions
|
@ -116,12 +116,12 @@ examples:
|
||||||
compatible = "hit,hd44780";
|
compatible = "hit,hd44780";
|
||||||
display-height-chars = <2>;
|
display-height-chars = <2>;
|
||||||
display-width-chars = <16>;
|
display-width-chars = <16>;
|
||||||
data-gpios = <&pcf8574 4 0>,
|
data-gpios = <&pcf8574 4 GPIO_ACTIVE_HIGH>,
|
||||||
<&pcf8574 5 0>,
|
<&pcf8574 5 GPIO_ACTIVE_HIGH>,
|
||||||
<&pcf8574 6 0>,
|
<&pcf8574 6 GPIO_ACTIVE_HIGH>,
|
||||||
<&pcf8574 7 0>;
|
<&pcf8574 7 GPIO_ACTIVE_HIGH>;
|
||||||
enable-gpios = <&pcf8574 2 0>;
|
enable-gpios = <&pcf8574 2 GPIO_ACTIVE_HIGH>;
|
||||||
rs-gpios = <&pcf8574 0 0>;
|
rs-gpios = <&pcf8574 0 GPIO_ACTIVE_HIGH>;
|
||||||
rw-gpios = <&pcf8574 1 0>;
|
rw-gpios = <&pcf8574 1 GPIO_ACTIVE_HIGH>;
|
||||||
backlight-gpios = <&pcf8574 3 0>;
|
backlight-gpios = <&pcf8574 3 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue