1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 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/innolux,p097pfg.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Innolux P097PFG 9.7" 1536x2048 TFT LCD 7 title: Innolux P097PFG 9.7" 1536x2048 TFT LCD panel 8 8 9 maintainers: 9 maintainers: 10 - Lin Huang <hl@rock-chips.com> 10 - Lin Huang <hl@rock-chips.com> 11 11 12 allOf: 12 allOf: 13 - $ref: panel-common.yaml# 13 - $ref: panel-common.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: innolux,p097pfg 17 const: innolux,p097pfg 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 backlight: true 22 backlight: true 23 enable-gpios: true 23 enable-gpios: true 24 24 25 avdd-supply: 25 avdd-supply: 26 description: The regulator that provides p 26 description: The regulator that provides positive voltage 27 27 28 avee-supply: 28 avee-supply: 29 description: The regulator that provides n 29 description: The regulator that provides negative voltage 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 - reg 33 - reg 34 - avdd-supply 34 - avdd-supply 35 - avee-supply 35 - avee-supply 36 - enable-gpios 36 - enable-gpios 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 43 44 dsi { 44 dsi { 45 #address-cells = <1>; 45 #address-cells = <1>; 46 #size-cells = <0>; 46 #size-cells = <0>; 47 47 48 panel@0 { 48 panel@0 { 49 compatible = "innolux,p097pfg"; 49 compatible = "innolux,p097pfg"; 50 reg = <0>; 50 reg = <0>; 51 avdd-supply = <&avdd>; 51 avdd-supply = <&avdd>; 52 avee-supply = <&avee>; 52 avee-supply = <&avee>; 53 backlight = <&backlight>; 53 backlight = <&backlight>; 54 enable-gpios = <&gpio1 13 GPIO_ACT 54 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 55 }; 55 }; 56 }; 56 }; 57 57 58 ... 58 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.