Lines Matching +full:bus +full:- +full:width
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Geert Uytterhoeven <geert@linux-m68k.org>
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.
21 data-gpios:
23 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or
24 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface.
26 - maxItems: 4
27 - maxItems: 8
29 enable-gpios:
32 Controller's bus interface.
35 rs-gpios:
38 Controller's bus interface.
41 rw-gpios:
44 Controller's bus interface.
47 backlight-gpios:
51 display-height-chars:
57 display-width-chars:
58 description: Width of the display, in character cells.
63 internal-buffer-width:
65 Internal buffer width (default is 40 for displays with 1 or 2 lines, and
66 display-width-chars for displays with more than 2 lines).
72 - compatible
73 - data-gpios
74 - enable-gpios
75 - rs-gpios
76 - display-height-chars
77 - display-width-chars
82 - |
83 #include <dt-bindings/gpio/gpio.h>
87 data-gpios = <&hc595 0 GPIO_ACTIVE_HIGH>,
91 enable-gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
92 rs-gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
94 display-height-chars = <2>;
95 display-width-chars = <16>;