GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / display / repaper.txt
1 Pervasive Displays RePaper branded e-ink displays
2
3 Required properties:
4 - compatible:           "pervasive,e1144cs021" for 1.44" display
5                         "pervasive,e1190cs021" for 1.9" display
6                         "pervasive,e2200cs021" for 2.0" display
7                         "pervasive,e2271cs021" for 2.7" display
8
9 - panel-on-gpios:       Timing controller power control
10 - discharge-gpios:      Discharge control
11 - reset-gpios:          RESET pin
12 - busy-gpios:           BUSY pin
13
14 Required property for e2271cs021:
15 - border-gpios:         Border control
16
17 The node for this driver must be a child node of a SPI controller, hence
18 all mandatory properties described in ../spi/spi-bus.txt must be specified.
19
20 Optional property:
21 - pervasive,thermal-zone:       name of thermometer's thermal zone
22
23 Example:
24
25         display_temp: lm75@48 {
26                 compatible = "lm75b";
27                 reg = <0x48>;
28                 #thermal-sensor-cells = <0>;
29         };
30
31         thermal-zones {
32                 display {
33                         polling-delay-passive = <0>;
34                         polling-delay = <0>;
35                         thermal-sensors = <&display_temp>;
36                 };
37         };
38
39         papirus27@0{
40                 compatible = "pervasive,e2271cs021";
41                 reg = <0>;
42
43                 spi-max-frequency = <8000000>;
44
45                 panel-on-gpios = <&gpio 23 0>;
46                 border-gpios = <&gpio 14 0>;
47                 discharge-gpios = <&gpio 15 0>;
48                 reset-gpios = <&gpio 24 0>;
49                 busy-gpios = <&gpio 25 0>;
50
51                 pervasive,thermal-zone = "display";
52         };