Lines Matching +full:display +full:- +full:controller
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Hitachi HD44780 Character LCD Controller
10 - Geert Uytterhoeven <geert@linux-m68k.org>
13 The Hitachi HD44780 Character LCD Controller is commonly used on character
14 LCDs that can display one or more lines of text. It exposes an M6800 bus
15 interface, which can be used in either 4-bit or 8-bit mode. By using a
24 data-gpios:
26 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or
27 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface.
29 - maxItems: 4
30 - maxItems: 8
32 enable-gpios:
35 Controller's bus interface.
38 rs-gpios:
41 Controller's bus interface.
44 rw-gpios:
47 Controller's bus interface.
50 backlight-gpios:
54 display-height-chars:
55 description: Height of the display, in character cells,
60 display-width-chars:
61 description: Width of the display, in character cells.
66 internal-buffer-width:
69 display-width-chars for displays with more than 2 lines).
75 - compatible
76 - data-gpios
77 - enable-gpios
78 - rs-gpios
79 - display-height-chars
80 - display-width-chars
85 - |
86 #include <dt-bindings/gpio/gpio.h>
90 data-gpios = <&hc595 0 GPIO_ACTIVE_HIGH>,
94 enable-gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
95 rs-gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
97 display-height-chars = <2>;
98 display-width-chars = <16>;
100 - |
101 #include <dt-bindings/gpio/gpio.h>
103 #address-cells = <1>;
104 #size-cells = <0>;
109 gpio-controller;
110 #gpio-cells = <2>;
115 display-height-chars = <2>;
116 display-width-chars = <16>;
117 data-gpios = <&pcf8574 4 0>,
121 enable-gpios = <&pcf8574 2 0>;
122 rs-gpios = <&pcf8574 0 0>;
123 rw-gpios = <&pcf8574 1 0>;
124 backlight-gpios = <&pcf8574 3 0>;