1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2020 MediaTek 2 # Copyright (c) 2020 MediaTek 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/phy/mediate 5 $id: http://devicetree.org/schemas/phy/mediatek,dsi-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: MediaTek MIPI Display Serial Interface 8 title: MediaTek MIPI Display Serial Interface (DSI) PHY 9 9 10 maintainers: 10 maintainers: 11 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 12 - Philipp Zabel <p.zabel@pengutronix.de> 12 - Philipp Zabel <p.zabel@pengutronix.de> 13 - Chunfeng Yun <chunfeng.yun@mediatek.com> 13 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 14 15 description: The MIPI DSI PHY supports up to 4 15 description: The MIPI DSI PHY supports up to 4-lane output. 16 16 17 properties: 17 properties: 18 $nodename: 18 $nodename: 19 pattern: "^dsi-phy@[0-9a-f]+$" 19 pattern: "^dsi-phy@[0-9a-f]+$" 20 20 21 compatible: 21 compatible: 22 oneOf: 22 oneOf: 23 - items: 23 - items: 24 - enum: 24 - enum: 25 - mediatek,mt7623-mipi-tx 25 - mediatek,mt7623-mipi-tx 26 - const: mediatek,mt2701-mipi-tx 26 - const: mediatek,mt2701-mipi-tx 27 - items: 27 - items: 28 - enum: 28 - enum: 29 - mediatek,mt6795-mipi-tx 29 - mediatek,mt6795-mipi-tx 30 - const: mediatek,mt8173-mipi-tx 30 - const: mediatek,mt8173-mipi-tx 31 - items: 31 - items: 32 - enum: 32 - enum: 33 - mediatek,mt8188-mipi-tx 33 - mediatek,mt8188-mipi-tx 34 - mediatek,mt8195-mipi-tx << 35 - mediatek,mt8365-mipi-tx 34 - mediatek,mt8365-mipi-tx 36 - const: mediatek,mt8183-mipi-tx 35 - const: mediatek,mt8183-mipi-tx 37 - const: mediatek,mt2701-mipi-tx 36 - const: mediatek,mt2701-mipi-tx 38 - const: mediatek,mt8173-mipi-tx 37 - const: mediatek,mt8173-mipi-tx 39 - const: mediatek,mt8183-mipi-tx 38 - const: mediatek,mt8183-mipi-tx 40 39 41 reg: 40 reg: 42 maxItems: 1 41 maxItems: 1 43 42 44 clocks: 43 clocks: 45 items: 44 items: 46 - description: PLL reference clock 45 - description: PLL reference clock 47 46 48 clock-output-names: 47 clock-output-names: 49 maxItems: 1 48 maxItems: 1 50 49 51 "#phy-cells": 50 "#phy-cells": 52 const: 0 51 const: 0 53 52 54 "#clock-cells": 53 "#clock-cells": 55 const: 0 54 const: 0 56 55 57 nvmem-cells: 56 nvmem-cells: 58 maxItems: 1 57 maxItems: 1 59 description: A phandle to the calibration 58 description: A phandle to the calibration data provided by a nvmem device, 60 if unspecified, default values shall be 59 if unspecified, default values shall be used. 61 60 62 nvmem-cell-names: 61 nvmem-cell-names: 63 items: 62 items: 64 - const: calibration-data 63 - const: calibration-data 65 64 66 drive-strength-microamp: 65 drive-strength-microamp: 67 description: adjust driving current 66 description: adjust driving current 68 multipleOf: 200 67 multipleOf: 200 69 minimum: 2000 68 minimum: 2000 70 maximum: 6000 69 maximum: 6000 71 default: 4600 70 default: 4600 72 71 73 required: 72 required: 74 - compatible 73 - compatible 75 - reg 74 - reg 76 - clocks 75 - clocks 77 - clock-output-names 76 - clock-output-names 78 - "#phy-cells" 77 - "#phy-cells" 79 - "#clock-cells" 78 - "#clock-cells" 80 79 81 additionalProperties: false 80 additionalProperties: false 82 81 83 examples: 82 examples: 84 - | 83 - | 85 #include <dt-bindings/clock/mt8173-clk.h> 84 #include <dt-bindings/clock/mt8173-clk.h> 86 dsi-phy@10215000 { 85 dsi-phy@10215000 { 87 compatible = "mediatek,mt8173-mipi-tx" 86 compatible = "mediatek,mt8173-mipi-tx"; 88 reg = <0x10215000 0x1000>; 87 reg = <0x10215000 0x1000>; 89 clocks = <&clk26m>; 88 clocks = <&clk26m>; 90 clock-output-names = "mipi_tx0_pll"; 89 clock-output-names = "mipi_tx0_pll"; 91 drive-strength-microamp = <4000>; 90 drive-strength-microamp = <4000>; 92 nvmem-cells = <&mipi_tx_calibration>; 91 nvmem-cells = <&mipi_tx_calibration>; 93 nvmem-cell-names = "calibration-data"; 92 nvmem-cell-names = "calibration-data"; 94 #clock-cells = <0>; 93 #clock-cells = <0>; 95 #phy-cells = <0>; 94 #phy-cells = <0>; 96 }; 95 }; 97 96 98 ... 97 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.