]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/misc/nvidia,tegra114-mipi.txt
gpu: host1x: Add MIPI pad calibration support
[karo-tx-linux.git] / Documentation / devicetree / bindings / misc / nvidia,tegra114-mipi.txt
1 NVIDIA Tegra MIPI pad calibration controller
2
3 Required properties:
4 - compatible: "nvidia,tegra<chip>-mipi"
5 - reg: Physical base address and length of the controller's registers.
6 - clocks: The clock consumed by the controller.
7 - #calibrate-cells: Should be 1. The cell is a bitmask of the pads that need
8   to be calibrated by a given device.
9
10 User nodes need to contain a calibrate property that has a phandle to refer
11 to the calibration controller node and a bitmask of the pads that need to be
12 calibrated.
13
14 Example:
15
16         mipi: mipi@700e3000 {
17                 compatible = "nvidia,tegra114-mipi";
18                 reg = <0x700e3000 0x100>;
19                 clocks = <&tegra_car TEGRA114_CLK_MIPI_CAL>;
20                 #calibrate-cells = <1>;
21         };
22
23         ...
24
25         host1x@50000000 {
26                 ...
27
28                 dsi@54300000 {
29                         ...
30
31                         calibrate = <&mipi 0x060>;
32
33                         ...
34                 };
35
36                 ...
37         };