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:
Krzysztof Kozlowski 2024-02-14 16:54:38 +01:00 committed by Andy Shevchenko
parent 961454590d
commit 4fdcbb88b1

View file

@ -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>;
}; };