1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/panel/renesas,r61307.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Renesas R61307 based DSI Display Panel 8 9maintainers: 10 - Svyatoslav Ryhel <clamor95@gmail.com> 11 12description: 13 The Renesas R61307 is a generic DSI Panel IC used to control LCD panels. 14 15allOf: 16 - $ref: panel-common.yaml# 17 18properties: 19 compatible: 20 items: 21 - enum: 22 # KOE/HITACHI TX13D100VM0EAA 5.0" XGA TFT LCD panel 23 - hit,tx13d100vm0eaa 24 - koe,tx13d100vm0eaa 25 - const: renesas,r61307 26 27 reg: 28 maxItems: 1 29 30 vcc-supply: 31 description: Regulator for main power supply. 32 33 iovcc-supply: 34 description: Regulator for 1.8V IO power supply. 35 36 backlight: true 37 38 renesas,gamma: 39 $ref: /schemas/types.yaml#/definitions/uint32 40 description: 41 0 - disabled 42 1-3 - gamma setting A presets 43 enum: [0, 1, 2, 3] 44 45 renesas,column-inversion: 46 type: boolean 47 description: switch between line and column inversion. The line 48 inversion is set by default. 49 50 renesas,contrast: 51 type: boolean 52 description: digital contrast adjustment 53 54 reset-gpios: true 55 port: true 56 57required: 58 - compatible 59 - port 60 - backlight 61 62additionalProperties: false 63 64examples: 65 - | 66 #include <dt-bindings/gpio/gpio.h> 67 68 dsi { 69 #address-cells = <1>; 70 #size-cells = <0>; 71 72 panel@1 { 73 compatible = "koe,tx13d100vm0eaa", "renesas,r61307"; 74 reg = <1>; 75 76 reset-gpios = <&gpio 176 GPIO_ACTIVE_LOW>; 77 78 renesas,gamma = <3>; 79 renesas,column-inversion; 80 renesas,contrast; 81 82 vcc-supply = <&vcc_3v0_lcd>; 83 iovcc-supply = <&iovcc_1v8_lcd>; 84 85 backlight = <&backlight>; 86 87 port { 88 panel_in: endpoint { 89 remote-endpoint = <&dsi_out>; 90 }; 91 }; 92 }; 93 }; 94... 95