1440b075bSKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 23b0c2b2bSJavier Martinez Canillas%YAML 1.2 33b0c2b2bSJavier Martinez Canillas--- 43b0c2b2bSJavier Martinez Canillas$id: http://devicetree.org/schemas/display/panel/himax,hx8394.yaml# 53b0c2b2bSJavier Martinez Canillas$schema: http://devicetree.org/meta-schemas/core.yaml# 63b0c2b2bSJavier Martinez Canillas 73b0c2b2bSJavier Martinez Canillastitle: Himax HX8394 MIPI-DSI LCD panel controller 83b0c2b2bSJavier Martinez Canillas 93b0c2b2bSJavier Martinez Canillasmaintainers: 103b0c2b2bSJavier Martinez Canillas - Ondrej Jirman <megi@xff.cz> 113b0c2b2bSJavier Martinez Canillas - Javier Martinez Canillas <javierm@redhat.com> 123b0c2b2bSJavier Martinez Canillas 133b0c2b2bSJavier Martinez Canillasdescription: 143b0c2b2bSJavier Martinez Canillas Device tree bindings for panels based on the Himax HX8394 controller, 153b0c2b2bSJavier Martinez Canillas such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with 163b0c2b2bSJavier Martinez Canillas a MIPI-DSI video interface. 173b0c2b2bSJavier Martinez Canillas 183b0c2b2bSJavier Martinez Canillasproperties: 193b0c2b2bSJavier Martinez Canillas compatible: 203b0c2b2bSJavier Martinez Canillas items: 213b0c2b2bSJavier Martinez Canillas - enum: 223b0c2b2bSJavier Martinez Canillas - hannstar,hsd060bhw4 23*223c12ddSManikandan Muralidharan - microchip,ac40t08a-mipi-panel 2400830a0dSChris Morgan - powkiddy,x55-panel 253b0c2b2bSJavier Martinez Canillas - const: himax,hx8394 263b0c2b2bSJavier Martinez Canillas 279fa6bcf2SKrzysztof Kozlowski reg: 289fa6bcf2SKrzysztof Kozlowski maxItems: 1 293b0c2b2bSJavier Martinez Canillas 303b0c2b2bSJavier Martinez Canillas reset-gpios: true 313b0c2b2bSJavier Martinez Canillas 323b0c2b2bSJavier Martinez Canillas backlight: true 333b0c2b2bSJavier Martinez Canillas 34be478bc7SChris Morgan rotation: true 35be478bc7SChris Morgan 363b0c2b2bSJavier Martinez Canillas port: true 373b0c2b2bSJavier Martinez Canillas 383b0c2b2bSJavier Martinez Canillas vcc-supply: 393b0c2b2bSJavier Martinez Canillas description: Panel power supply 403b0c2b2bSJavier Martinez Canillas 413b0c2b2bSJavier Martinez Canillas iovcc-supply: 423b0c2b2bSJavier Martinez Canillas description: I/O voltage supply 433b0c2b2bSJavier Martinez Canillas 443b0c2b2bSJavier Martinez Canillasrequired: 453b0c2b2bSJavier Martinez Canillas - compatible 463b0c2b2bSJavier Martinez Canillas - reg 473b0c2b2bSJavier Martinez Canillas - backlight 483b0c2b2bSJavier Martinez Canillas - port 493b0c2b2bSJavier Martinez Canillas - vcc-supply 503b0c2b2bSJavier Martinez Canillas - iovcc-supply 513b0c2b2bSJavier Martinez Canillas 523b0c2b2bSJavier Martinez CanillasadditionalProperties: false 533b0c2b2bSJavier Martinez Canillas 54*223c12ddSManikandan MuralidharanallOf: 55*223c12ddSManikandan Muralidharan - $ref: panel-common.yaml# 56*223c12ddSManikandan Muralidharan - if: 57*223c12ddSManikandan Muralidharan not: 58*223c12ddSManikandan Muralidharan properties: 59*223c12ddSManikandan Muralidharan compatible: 60*223c12ddSManikandan Muralidharan enum: 61*223c12ddSManikandan Muralidharan - microchip,ac40t08a-mipi-panel 62*223c12ddSManikandan Muralidharan then: 63*223c12ddSManikandan Muralidharan required: 64*223c12ddSManikandan Muralidharan - reset-gpios 65*223c12ddSManikandan Muralidharan 663b0c2b2bSJavier Martinez Canillasexamples: 673b0c2b2bSJavier Martinez Canillas - | 683b0c2b2bSJavier Martinez Canillas #include <dt-bindings/gpio/gpio.h> 693b0c2b2bSJavier Martinez Canillas 703b0c2b2bSJavier Martinez Canillas dsi { 713b0c2b2bSJavier Martinez Canillas #address-cells = <1>; 723b0c2b2bSJavier Martinez Canillas #size-cells = <0>; 733b0c2b2bSJavier Martinez Canillas panel@0 { 743b0c2b2bSJavier Martinez Canillas compatible = "hannstar,hsd060bhw4", "himax,hx8394"; 753b0c2b2bSJavier Martinez Canillas reg = <0>; 763b0c2b2bSJavier Martinez Canillas vcc-supply = <®_2v8_p>; 773b0c2b2bSJavier Martinez Canillas iovcc-supply = <®_1v8_p>; 783b0c2b2bSJavier Martinez Canillas reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; 793b0c2b2bSJavier Martinez Canillas backlight = <&backlight>; 803b0c2b2bSJavier Martinez Canillas 813b0c2b2bSJavier Martinez Canillas port { 823b0c2b2bSJavier Martinez Canillas mipi_in_panel: endpoint { 833b0c2b2bSJavier Martinez Canillas remote-endpoint = <&mipi_out_panel>; 843b0c2b2bSJavier Martinez Canillas }; 853b0c2b2bSJavier Martinez Canillas }; 863b0c2b2bSJavier Martinez Canillas }; 873b0c2b2bSJavier Martinez Canillas }; 883b0c2b2bSJavier Martinez Canillas 893b0c2b2bSJavier Martinez Canillas... 90