192be07c6SChris Morgan# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 292be07c6SChris Morgan%YAML 1.2 392be07c6SChris Morgan--- 492be07c6SChris Morgan$id: http://devicetree.org/schemas/display/panel/samsung,ams495qa01.yaml# 592be07c6SChris Morgan$schema: http://devicetree.org/meta-schemas/core.yaml# 692be07c6SChris Morgan 792be07c6SChris Morgantitle: Samsung AMS495QA01 panel with Magnachip D53E6EA8966 controller 892be07c6SChris Morgan 992be07c6SChris Morganmaintainers: 1092be07c6SChris Morgan - Chris Morgan <macromorgan@hotmail.com> 1192be07c6SChris Morgan 1292be07c6SChris MorganallOf: 1392be07c6SChris Morgan - $ref: panel-common.yaml# 142ca99e6eSKrzysztof Kozlowski - $ref: /schemas/spi/spi-peripheral-props.yaml# 1592be07c6SChris Morgan 1692be07c6SChris Morganproperties: 1792be07c6SChris Morgan compatible: 1892be07c6SChris Morgan const: samsung,ams495qa01 1992be07c6SChris Morgan 20*6b2358ffSKrzysztof Kozlowski reg: 21*6b2358ffSKrzysztof Kozlowski maxItems: 1 22*6b2358ffSKrzysztof Kozlowski 2392be07c6SChris Morgan reset-gpios: 2492be07c6SChris Morgan description: reset gpio, must be GPIO_ACTIVE_LOW 2592be07c6SChris Morgan elvdd-supply: 2692be07c6SChris Morgan description: regulator that supplies voltage to the panel display 2792be07c6SChris Morgan enable-gpios: true 2892be07c6SChris Morgan port: true 2992be07c6SChris Morgan vdd-supply: 3092be07c6SChris Morgan description: regulator that supplies voltage to panel logic 3192be07c6SChris Morgan 3292be07c6SChris Morganrequired: 3392be07c6SChris Morgan - compatible 3492be07c6SChris Morgan - reg 3592be07c6SChris Morgan - reset-gpios 3692be07c6SChris Morgan - vdd-supply 3792be07c6SChris Morgan 3892be07c6SChris MorganadditionalProperties: false 3992be07c6SChris Morgan 4092be07c6SChris Morganexamples: 4192be07c6SChris Morgan - | 4292be07c6SChris Morgan #include <dt-bindings/gpio/gpio.h> 4392be07c6SChris Morgan spi { 4492be07c6SChris Morgan #address-cells = <1>; 4592be07c6SChris Morgan #size-cells = <0>; 4692be07c6SChris Morgan panel@0 { 4792be07c6SChris Morgan compatible = "samsung,ams495qa01"; 4892be07c6SChris Morgan reg = <0>; 4992be07c6SChris Morgan reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; 5092be07c6SChris Morgan vdd-supply = <&vcc_3v3>; 5192be07c6SChris Morgan 5292be07c6SChris Morgan port { 5392be07c6SChris Morgan mipi_in_panel: endpoint { 5492be07c6SChris Morgan remote-endpoint = <&mipi_out_panel>; 5592be07c6SChris Morgan }; 5692be07c6SChris Morgan }; 5792be07c6SChris Morgan }; 5892be07c6SChris Morgan }; 5992be07c6SChris Morgan 6092be07c6SChris Morgan... 61