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