aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-12-02 08:22:58 -0500
committerThierry Reding <treding@nvidia.com>2013-12-17 12:10:08 -0500
commit4c48140aaa38e4da44a2fcfe50c476208904fdd3 (patch)
treed4f37aed9c9525f54a0b6c682671e045bffc6cde /Documentation
parent5d30be283f30bac34dae26a1014795b061f10c49 (diff)
gpu: host1x: Add MIPI pad calibration DT bindings
Introduce device tree bindings for the MIPI pad calibration controller found on Tegra SoCs. The controller can be used to perform calibration of pads used for DSI and CSI peripherals. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mipi/nvidia,tegra114-mipi.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mipi/nvidia,tegra114-mipi.txt b/Documentation/devicetree/bindings/mipi/nvidia,tegra114-mipi.txt
new file mode 100644
index 000000000000..e4a25cedc5cf
--- /dev/null
+++ b/Documentation/devicetree/bindings/mipi/nvidia,tegra114-mipi.txt
@@ -0,0 +1,41 @@
1NVIDIA Tegra MIPI pad calibration controller
2
3Required properties:
4- compatible: "nvidia,tegra<chip>-mipi"
5- reg: Physical base address and length of the controller's registers.
6- clocks: Must contain an entry for each entry in clock-names.
7 See ../clocks/clock-bindings.txt for details.
8- clock-names: Must include the following entries:
9 - mipi-cal
10- #nvidia,mipi-calibrate-cells: Should be 1. The cell is a bitmask of the pads
11 that need to be calibrated for a given device.
12
13User nodes need to contain an nvidia,mipi-calibrate property that has a
14phandle to refer to the calibration controller node and a bitmask of the pads
15that need to be calibrated.
16
17Example:
18
19 mipi: mipi@700e3000 {
20 compatible = "nvidia,tegra114-mipi";
21 reg = <0x700e3000 0x100>;
22 clocks = <&tegra_car TEGRA114_CLK_MIPI_CAL>;
23 clock-names = "mipi-cal";
24 #nvidia,mipi-calibrate-cells = <1>;
25 };
26
27 ...
28
29 host1x@50000000 {
30 ...
31
32 dsi@54300000 {
33 ...
34
35 nvidia,mipi-calibrate = <&mipi 0x060>;
36
37 ...
38 };
39
40 ...
41 };