]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - Documentation/devicetree/bindings/video/nvidia,tegra124-dc.txt
video: tegra: dc: make SOR instance configurable
[sojka/nv-tegra/linux-3.10.git] / Documentation / devicetree / bindings / video / nvidia,tegra124-dc.txt
1 NVIDIA Tegra124 Display Controller
2 ==================================
3
4 1) The dc node:
5  dc node must be contained in host1x parent node. This node represents
6  NVIDIA Tegra124 Display controller.
7
8  Required properties:
9  - name: dc
10  - compatible: Should contain "nvidia,tegra124-dc".
11  - reg: Physical base address and length of the controller's registers.
12  - interrupts: The interrupt outputs from the controller.
13  - nvidia,memory-clients: This is the "swgroup" ID in the Tegra TRM term.
14  - nvidia,dc-flags: can be 0 or below flags
15    TEGRA_DC_FLAG_ENABLED is to enable display controller in probe time.
16    TEGRA_DC_FLAG_SET_EARLY_MODE together with TEGRA_DC_FLAG_ENABLED is to enable
17    early modeset during kernel boot.
18  - nvidia,emc-clk-rate: Initially required embedded memory controller clk rate.
19  - nvidia,cmu-enable: Toggle switch for color management unit.
20  - nvidia,low-v-win: If low_v_win is set, we can lower vdd_core when that windows
21    is the only one active.
22  - nvidia,fb-bpp: Bits per pixel of fb.
23  - nvidia,fb-flags: Window is updated in display controller device probe. Should be TEGRA_FB_FLIP_ON_PROBE,
24    or 0
25  - avdd_hdmi-supply: phandle to the regulator device tree node for HDMI supply voltage,
26    HDMI_AVDD.
27  - avdd_hdmi_pll-supply: phandle to the regulator device tree node for HDMI pll supply.
28  - vdd_hdmi_5v0-supply: phandle to the regulator device tree node for HDMI 5V source.
29
30  Optional properties:
31  - nvidia,dc-or-node: Specifies which OR this DC is connected to. Can be either "/host1x/sor" or
32    "/host1x/sor1".
33
34 Example
35
36         host1x {
37                 /* tegradc.0 */
38                 dc@54200000 {
39                         status = "okay";
40                         compatible = "nvidia,tegra124-dc";
41                         reg = <0x54200000 0x00040000>;
42                         interrupts = <0 73 0x04>;
43                         nvidia,memory-clients = <2>;
44                         nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
45                         nvidia,emc-clk-rate = <204000000>;
46                         nvidia,cmu-enable = <1>;
47                         nvidia,low-v-win = <0x2>;
48                         nvidia,fb-bpp = <32>; /* bits per pixel */
49                         nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
50                 };
51                 /* tegradc.1 */
52                 dc@54240000 {
53                         status = "okay";
54                         compatible = "nvidia,tegra124-dc";
55                         reg = <0x54240000 0x00040000>;
56                         interrupts = <0 74 0x04>;
57                         nvidia,memory-clients = <3>;
58                         nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
59                         nvidia,emc-clk-rate = <300000000>;
60                         nvidia,fb-bpp = <32>; /* bits per pixel */
61                         nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
62                         avdd_hdmi-supply = <&palmas_ldoln>;
63                         avdd_hdmi_pll-supply = <&palmas_ldo1>;
64                         vdd_hdmi_5v0-supply = <&vdd_hdmi>;
65                 };
66         }