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