15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot# Copyright (c) 2020 MediaTek 35def4c47SEmmanuel Vadot%YAML 1.2 45def4c47SEmmanuel Vadot--- 55def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/mediatek,dsi-phy.yaml# 65def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 75def4c47SEmmanuel Vadot 88bab661aSEmmanuel Vadottitle: MediaTek MIPI Display Serial Interface (DSI) PHY 95def4c47SEmmanuel Vadot 105def4c47SEmmanuel Vadotmaintainers: 115def4c47SEmmanuel Vadot - Chun-Kuang Hu <chunkuang.hu@kernel.org> 125def4c47SEmmanuel Vadot - Philipp Zabel <p.zabel@pengutronix.de> 135def4c47SEmmanuel Vadot - Chunfeng Yun <chunfeng.yun@mediatek.com> 145def4c47SEmmanuel Vadot 155def4c47SEmmanuel Vadotdescription: The MIPI DSI PHY supports up to 4-lane output. 165def4c47SEmmanuel Vadot 175def4c47SEmmanuel Vadotproperties: 185def4c47SEmmanuel Vadot $nodename: 195def4c47SEmmanuel Vadot pattern: "^dsi-phy@[0-9a-f]+$" 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel Vadot compatible: 222eb4d8dcSEmmanuel Vadot oneOf: 232eb4d8dcSEmmanuel Vadot - items: 242eb4d8dcSEmmanuel Vadot - enum: 255def4c47SEmmanuel Vadot - mediatek,mt7623-mipi-tx 262eb4d8dcSEmmanuel Vadot - const: mediatek,mt2701-mipi-tx 27b97ee269SEmmanuel Vadot - items: 28b97ee269SEmmanuel Vadot - enum: 29f126890aSEmmanuel Vadot - mediatek,mt6795-mipi-tx 30f126890aSEmmanuel Vadot - const: mediatek,mt8173-mipi-tx 31f126890aSEmmanuel Vadot - items: 32f126890aSEmmanuel Vadot - enum: 3384943d6fSEmmanuel Vadot - mediatek,mt8188-mipi-tx 34*8d13bc63SEmmanuel Vadot - mediatek,mt8195-mipi-tx 35b97ee269SEmmanuel Vadot - mediatek,mt8365-mipi-tx 36b97ee269SEmmanuel Vadot - const: mediatek,mt8183-mipi-tx 372eb4d8dcSEmmanuel Vadot - const: mediatek,mt2701-mipi-tx 382eb4d8dcSEmmanuel Vadot - const: mediatek,mt8173-mipi-tx 392eb4d8dcSEmmanuel Vadot - const: mediatek,mt8183-mipi-tx 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadot reg: 425def4c47SEmmanuel Vadot maxItems: 1 435def4c47SEmmanuel Vadot 445def4c47SEmmanuel Vadot clocks: 455def4c47SEmmanuel Vadot items: 465def4c47SEmmanuel Vadot - description: PLL reference clock 475def4c47SEmmanuel Vadot 485def4c47SEmmanuel Vadot clock-output-names: 495def4c47SEmmanuel Vadot maxItems: 1 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel Vadot "#phy-cells": 525def4c47SEmmanuel Vadot const: 0 535def4c47SEmmanuel Vadot 545def4c47SEmmanuel Vadot "#clock-cells": 555def4c47SEmmanuel Vadot const: 0 565def4c47SEmmanuel Vadot 575def4c47SEmmanuel Vadot nvmem-cells: 585def4c47SEmmanuel Vadot maxItems: 1 595def4c47SEmmanuel Vadot description: A phandle to the calibration data provided by a nvmem device, 605def4c47SEmmanuel Vadot if unspecified, default values shall be used. 615def4c47SEmmanuel Vadot 625def4c47SEmmanuel Vadot nvmem-cell-names: 635def4c47SEmmanuel Vadot items: 645def4c47SEmmanuel Vadot - const: calibration-data 655def4c47SEmmanuel Vadot 665def4c47SEmmanuel Vadot drive-strength-microamp: 675def4c47SEmmanuel Vadot description: adjust driving current 685def4c47SEmmanuel Vadot multipleOf: 200 695def4c47SEmmanuel Vadot minimum: 2000 705def4c47SEmmanuel Vadot maximum: 6000 715def4c47SEmmanuel Vadot default: 4600 725def4c47SEmmanuel Vadot 735def4c47SEmmanuel Vadotrequired: 745def4c47SEmmanuel Vadot - compatible 755def4c47SEmmanuel Vadot - reg 765def4c47SEmmanuel Vadot - clocks 775def4c47SEmmanuel Vadot - clock-output-names 785def4c47SEmmanuel Vadot - "#phy-cells" 795def4c47SEmmanuel Vadot - "#clock-cells" 805def4c47SEmmanuel Vadot 815def4c47SEmmanuel VadotadditionalProperties: false 825def4c47SEmmanuel Vadot 835def4c47SEmmanuel Vadotexamples: 845def4c47SEmmanuel Vadot - | 855def4c47SEmmanuel Vadot #include <dt-bindings/clock/mt8173-clk.h> 865def4c47SEmmanuel Vadot dsi-phy@10215000 { 875def4c47SEmmanuel Vadot compatible = "mediatek,mt8173-mipi-tx"; 885def4c47SEmmanuel Vadot reg = <0x10215000 0x1000>; 895def4c47SEmmanuel Vadot clocks = <&clk26m>; 905def4c47SEmmanuel Vadot clock-output-names = "mipi_tx0_pll"; 915def4c47SEmmanuel Vadot drive-strength-microamp = <4000>; 925def4c47SEmmanuel Vadot nvmem-cells = <&mipi_tx_calibration>; 935def4c47SEmmanuel Vadot nvmem-cell-names = "calibration-data"; 945def4c47SEmmanuel Vadot #clock-cells = <0>; 955def4c47SEmmanuel Vadot #phy-cells = <0>; 965def4c47SEmmanuel Vadot }; 975def4c47SEmmanuel Vadot 985def4c47SEmmanuel Vadot... 99