Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Andy Shevchenko
4fdcbb88 96145459

+8 -8
+8 -8
Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml
··· 116 116 compatible = "hit,hd44780"; 117 117 display-height-chars = <2>; 118 118 display-width-chars = <16>; 119 - data-gpios = <&pcf8574 4 0>, 120 - <&pcf8574 5 0>, 121 - <&pcf8574 6 0>, 122 - <&pcf8574 7 0>; 123 - enable-gpios = <&pcf8574 2 0>; 124 - rs-gpios = <&pcf8574 0 0>; 125 - rw-gpios = <&pcf8574 1 0>; 126 - backlight-gpios = <&pcf8574 3 0>; 119 + data-gpios = <&pcf8574 4 GPIO_ACTIVE_HIGH>, 120 + <&pcf8574 5 GPIO_ACTIVE_HIGH>, 121 + <&pcf8574 6 GPIO_ACTIVE_HIGH>, 122 + <&pcf8574 7 GPIO_ACTIVE_HIGH>; 123 + enable-gpios = <&pcf8574 2 GPIO_ACTIVE_HIGH>; 124 + rs-gpios = <&pcf8574 0 GPIO_ACTIVE_HIGH>; 125 + rw-gpios = <&pcf8574 1 GPIO_ACTIVE_HIGH>; 126 + backlight-gpios = <&pcf8574 3 GPIO_ACTIVE_HIGH>; 127 127 };