hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Simple display panel
====================
 
panel node
----------
 
Required properties:
- compatible: Should contain one of the following:
   - "simple-panel": for common simple panel
   - "simple-panel-dsi": for common simple dsi panel
   - "vendor,panel": for vendor specific panel
- power-supply: See panel-common.txt
 
Optional properties:
- vsp-supply: positive voltage supply
- vsn-supply: negative voltage supply
- ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
- enable-gpios: GPIO pin to enable or disable the panel
- reset-gpios: GPIO pin to reset the panel
- backlight: phandle of the backlight device attached to the panel
- prepare-delay-ms: the time (in milliseconds) that it takes for the panel to
           become ready and start receiving video data
- enable-delay-ms: the time (in milliseconds) that it takes for the panel to
          display the first valid frame after starting to receive
          video data
- disable-delay-ms: the time (in milliseconds) that it takes for the panel to
           turn the display off (no content is visible)
- unprepare-delay-ms: the time (in milliseconds) that it takes for the panel
             to power itself down completely
- reset-delay-ms: the time (in milliseconds) that it takes for the panel to
         reset itself completely
- init-delay-ms: the time (in milliseconds) that it takes for the panel to
        send init command sequence after reset deassert
- width-mm: width (in millimeters) of the panel's active display area
- height-mm: height (in millimeters) of the panel's active display area
- bpc: bits per color/component
- bus-format: Pixel data format on the wire
 
- dsi,lanes: number of active data lanes
- dsi,format: pixel format for video mode
- dsi,flags: DSI operation mode related flags
- panel-init-sequence:
- panel-exit-sequence:
  A byte stream formed by simple multiple dcs packets.
   byte 0: dcs data type
   byte 1: wait number of specified ms after dcs command transmitted
   byte 2: packet payload length
   byte 3 and beyond: number byte of payload
 
- power-invert: power invert control
- rockchip,cmd-type: default is DSI cmd, or "spi", "mcu" cmd type
- spi-sdi: spi init panel for spi-sdi io
- spi-scl: spi init panel for spi-scl io
- spi-cs: spi init pael for spi-cs io
 
Example:
 
   panel: panel {
       compatible = "cptt,claa101wb01";
       ddc-i2c-bus = <&panelddc>;
 
       power-supply = <&vdd_pnl_reg>;
       enable-gpios = <&gpio 90 0>;
 
       backlight = <&backlight>;
   };