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