Debian Codegraph @

Documentation/devicetree/bindings/display/tegra/nvidia,tegra114-mipi.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra114-mipi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NVIDIA Tegra MIPI pad calibration controller
8
9 maintainers:
10 - Thierry Reding <[email protected]>
11 - Jon Hunter <[email protected]>
12
13 properties:
14 $nodename:
15 pattern: "^mipi@[0-9a-f]+$"
16
17 compatible:
18 enum:
19 - nvidia,tegra114-mipi
20 - nvidia,tegra124-mipi
21 - nvidia,tegra132-mipi
22 - nvidia,tegra210-mipi
23 - nvidia,tegra186-mipi
24
25 reg:
26 maxItems: 1
27
28 clocks:
29 items:
30 - description: module clock
31
32 clock-names:
33 items:
34 - const: mipi-cal
35
36 power-domains:
37 maxItems: 1
38
39 "#nvidia,mipi-calibrate-cells":
40 description: The number of cells in a MIPI calibration specifier.
41 Should be 1. The single cell specifies a bitmask of the pads that
42 need to be calibrated for a given device.
43 $ref: /schemas/types.yaml#/definitions/uint32
44 const: 1
45
46 additionalProperties: false
47
48 required:
49 - compatible
50 - reg
51 - clocks
52 - "#nvidia,mipi-calibrate-cells"
53
54 examples:
55 - |
56 #include <dt-bindings/clock/tegra114-car.h>
57
58 mipi@700e3000 {
59 compatible = "nvidia,tegra114-mipi";
60 reg = <0x700e3000 0x100>;
61 clocks = <&tegra_car TEGRA114_CLK_MIPI_CAL>;
62 clock-names = "mipi-cal";
63 #nvidia,mipi-calibrate-cells = <1>;
64 };
65
66 dsia: dsi@54300000 {
67 compatible = "nvidia,tegra114-dsi";
68 reg = <0x54300000 0x00040000>;
69 clocks = <&tegra_car TEGRA114_CLK_DSIA>,
70 <&tegra_car TEGRA114_CLK_DSIALP>,
71 <&tegra_car TEGRA114_CLK_PLL_D_OUT0>;
72 clock-names = "dsi", "lp", "parent";
73 resets = <&tegra_car 48>;
74 reset-names = "dsi";
75 nvidia,mipi-calibrate = <&mipi 0x060>; /* DSIA & DSIB pads */
76 };