Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/sitronix,st7586.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sitronix ST7586 Display Controller
8
9maintainers:
10 - David Lechner <david@lechnology.com>
11
12description:
13 Sitronix ST7586 is a driver and controller for 4-level gray
14 scale and monochrome dot matrix LCD panels.
15 https://topwaydisplay.com/sites/default/files/2020-04/ST7586S.pdf
16
17$ref: panel/panel-common.yaml#
18
19additionalProperties: false
20
21properties:
22 compatible:
23 const: lego,ev3-lcd
24
25 reg:
26 maxItems: 1
27
28 spi-max-frequency:
29 maximum: 50000000
30
31 a0-gpios:
32 description:
33 The A0 signal (for serial mode, this is the pin labeled D1 on the
34 controller, not the pin labeled A0)
35 maxItems: 1
36
37 reset-gpios: true
38 rotation: true
39
40required:
41 - compatible
42 - reg
43 - a0-gpios
44 - reset-gpios
45
46examples:
47 - |
48 #include <dt-bindings/gpio/gpio.h>
49
50 spi {
51 #address-cells = <1>;
52 #size-cells = <0>;
53
54 display@0 {
55 compatible = "lego,ev3-lcd";
56 reg = <0>;
57 spi-max-frequency = <10000000>;
58 a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
59 reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
60 };
61 };