Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Himax HX8357D display panels |
| 2 | |
| 3 | This binding is for display panels using a Himax HX8357D controller in SPI |
| 4 | mode, such as the Adafruit 3.5" TFT for Raspberry Pi. |
| 5 | |
| 6 | Required properties: |
| 7 | - compatible: "adafruit,yx350hv15", "himax,hx8357d" |
| 8 | - dc-gpios: D/C pin |
| 9 | - reg: address of the panel on the SPI bus |
| 10 | |
| 11 | The node for this driver must be a child node of a SPI controller, hence |
| 12 | all mandatory properties described in ../spi/spi-bus.txt must be specified. |
| 13 | |
| 14 | Optional properties: |
| 15 | - rotation: panel rotation in degrees counter clockwise (0,90,180,270) |
| 16 | - backlight: phandle of the backlight device attached to the panel |
| 17 | |
| 18 | Example: |
| 19 | display@0{ |
| 20 | compatible = "adafruit,yx350hv15", "himax,hx8357d"; |
| 21 | reg = <0>; |
| 22 | spi-max-frequency = <32000000>; |
| 23 | dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; |
| 24 | rotation = <90>; |
| 25 | backlight = <&backlight>; |
| 26 | }; |