1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/pan 4 $id: http://devicetree.org/schemas/display/panel/himax,hx8394.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Himax HX8394 MIPI-DSI LCD panel control 7 title: Himax HX8394 MIPI-DSI LCD panel controller 8 8 9 maintainers: 9 maintainers: 10 - Ondrej Jirman <megi@xff.cz> 10 - Ondrej Jirman <megi@xff.cz> 11 - Javier Martinez Canillas <javierm@redhat.co 11 - Javier Martinez Canillas <javierm@redhat.com> 12 12 13 description: 13 description: 14 Device tree bindings for panels based on the 14 Device tree bindings for panels based on the Himax HX8394 controller, 15 such as the HannStar HSD060BHW4 720x1440 TFT 15 such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with 16 a MIPI-DSI video interface. 16 a MIPI-DSI video interface. 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 items: 20 items: 21 - enum: 21 - enum: 22 - hannstar,hsd060bhw4 22 - hannstar,hsd060bhw4 23 - microchip,ac40t08a-mipi-panel 23 - microchip,ac40t08a-mipi-panel 24 - powkiddy,x55-panel 24 - powkiddy,x55-panel 25 - const: himax,hx8394 25 - const: himax,hx8394 26 26 27 reg: 27 reg: 28 maxItems: 1 28 maxItems: 1 29 29 30 reset-gpios: true 30 reset-gpios: true 31 31 32 backlight: true 32 backlight: true 33 33 34 rotation: true 34 rotation: true 35 35 36 port: true 36 port: true 37 37 38 vcc-supply: 38 vcc-supply: 39 description: Panel power supply 39 description: Panel power supply 40 40 41 iovcc-supply: 41 iovcc-supply: 42 description: I/O voltage supply 42 description: I/O voltage supply 43 43 44 required: 44 required: 45 - compatible 45 - compatible 46 - reg 46 - reg 47 - backlight 47 - backlight 48 - port 48 - port 49 - vcc-supply 49 - vcc-supply 50 - iovcc-supply 50 - iovcc-supply 51 51 52 additionalProperties: false 52 additionalProperties: false 53 53 54 allOf: 54 allOf: 55 - $ref: panel-common.yaml# 55 - $ref: panel-common.yaml# 56 - if: 56 - if: 57 not: 57 not: 58 properties: 58 properties: 59 compatible: 59 compatible: 60 enum: 60 enum: 61 - microchip,ac40t08a-mipi-panel 61 - microchip,ac40t08a-mipi-panel 62 then: 62 then: 63 required: 63 required: 64 - reset-gpios 64 - reset-gpios 65 65 66 examples: 66 examples: 67 - | 67 - | 68 #include <dt-bindings/gpio/gpio.h> 68 #include <dt-bindings/gpio/gpio.h> 69 69 70 dsi { 70 dsi { 71 #address-cells = <1>; 71 #address-cells = <1>; 72 #size-cells = <0>; 72 #size-cells = <0>; 73 panel@0 { 73 panel@0 { 74 compatible = "hannstar,hsd060bhw4" 74 compatible = "hannstar,hsd060bhw4", "himax,hx8394"; 75 reg = <0>; 75 reg = <0>; 76 vcc-supply = <®_2v8_p>; 76 vcc-supply = <®_2v8_p>; 77 iovcc-supply = <®_1v8_p>; 77 iovcc-supply = <®_1v8_p>; 78 reset-gpios = <&gpio3 13 GPIO_ACTI 78 reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; 79 backlight = <&backlight>; 79 backlight = <&backlight>; 80 80 81 port { 81 port { 82 mipi_in_panel: endpoint { 82 mipi_in_panel: endpoint { 83 remote-endpoint = <&mipi_o 83 remote-endpoint = <&mipi_out_panel>; 84 }; 84 }; 85 }; 85 }; 86 }; 86 }; 87 }; 87 }; 88 88 89 ... 89 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.