xref: /freebsd/sys/contrib/device-tree/Bindings/display/tegra/nvidia,tegra114-mipi.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNVIDIA Tegra MIPI pad calibration controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "nvidia,tegra<chip>-mipi"
5*c66ec88fSEmmanuel Vadot- reg: Physical base address and length of the controller's registers.
6*c66ec88fSEmmanuel Vadot- clocks: Must contain an entry for each entry in clock-names.
7*c66ec88fSEmmanuel Vadot  See ../clocks/clock-bindings.txt for details.
8*c66ec88fSEmmanuel Vadot- clock-names: Must include the following entries:
9*c66ec88fSEmmanuel Vadot  - mipi-cal
10*c66ec88fSEmmanuel Vadot- #nvidia,mipi-calibrate-cells: Should be 1. The cell is a bitmask of the pads
11*c66ec88fSEmmanuel Vadot  that need to be calibrated for a given device.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotUser nodes need to contain an nvidia,mipi-calibrate property that has a
14*c66ec88fSEmmanuel Vadotphandle to refer to the calibration controller node and a bitmask of the pads
15*c66ec88fSEmmanuel Vadotthat need to be calibrated.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot	mipi: mipi@700e3000 {
20*c66ec88fSEmmanuel Vadot		compatible = "nvidia,tegra114-mipi";
21*c66ec88fSEmmanuel Vadot		reg = <0x700e3000 0x100>;
22*c66ec88fSEmmanuel Vadot		clocks = <&tegra_car TEGRA114_CLK_MIPI_CAL>;
23*c66ec88fSEmmanuel Vadot		clock-names = "mipi-cal";
24*c66ec88fSEmmanuel Vadot		#nvidia,mipi-calibrate-cells = <1>;
25*c66ec88fSEmmanuel Vadot	};
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot	...
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot	host1x@50000000 {
30*c66ec88fSEmmanuel Vadot		...
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot		dsi@54300000 {
33*c66ec88fSEmmanuel Vadot			...
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot			nvidia,mipi-calibrate = <&mipi 0x060>;
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot			...
38*c66ec88fSEmmanuel Vadot		};
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadot		...
41*c66ec88fSEmmanuel Vadot	};
42