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/samsung,ams495qa01.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Samsung AMS495QA01 panel with Magnachip 7 title: Samsung AMS495QA01 panel with Magnachip D53E6EA8966 controller 8 8 9 maintainers: 9 maintainers: 10 - Chris Morgan <macromorgan@hotmail.com> 10 - Chris Morgan <macromorgan@hotmail.com> 11 11 12 allOf: 12 allOf: 13 - $ref: panel-common.yaml# 13 - $ref: panel-common.yaml# 14 - $ref: /schemas/spi/spi-peripheral-props.ya 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 const: samsung,ams495qa01 18 const: samsung,ams495qa01 19 19 20 reg: 20 reg: 21 maxItems: 1 21 maxItems: 1 22 22 23 reset-gpios: 23 reset-gpios: 24 description: reset gpio, must be GPIO_ACTI 24 description: reset gpio, must be GPIO_ACTIVE_LOW 25 elvdd-supply: 25 elvdd-supply: 26 description: regulator that supplies volta 26 description: regulator that supplies voltage to the panel display 27 enable-gpios: true 27 enable-gpios: true 28 port: true 28 port: true 29 vdd-supply: 29 vdd-supply: 30 description: regulator that supplies volta 30 description: regulator that supplies voltage to panel logic 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg 35 - reset-gpios 35 - reset-gpios 36 - vdd-supply 36 - vdd-supply 37 37 38 additionalProperties: false 38 additionalProperties: false 39 39 40 examples: 40 examples: 41 - | 41 - | 42 #include <dt-bindings/gpio/gpio.h> 42 #include <dt-bindings/gpio/gpio.h> 43 spi { 43 spi { 44 #address-cells = <1>; 44 #address-cells = <1>; 45 #size-cells = <0>; 45 #size-cells = <0>; 46 panel@0 { 46 panel@0 { 47 compatible = "samsung,ams495qa01"; 47 compatible = "samsung,ams495qa01"; 48 reg = <0>; 48 reg = <0>; 49 reset-gpios = <&gpio4 0 GPIO_ACTIV 49 reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; 50 vdd-supply = <&vcc_3v3>; 50 vdd-supply = <&vcc_3v3>; 51 51 52 port { 52 port { 53 mipi_in_panel: endpoint { 53 mipi_in_panel: endpoint { 54 remote-endpoint = <&mipi_out 54 remote-endpoint = <&mipi_out_panel>; 55 }; 55 }; 56 }; 56 }; 57 }; 57 }; 58 }; 58 }; 59 59 60 ... 60 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.