15ada755dSChunfeng Yun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25ada755dSChunfeng Yun# Copyright (c) 2020 MediaTek 35ada755dSChunfeng Yun%YAML 1.2 45ada755dSChunfeng Yun--- 55ada755dSChunfeng Yun$id: http://devicetree.org/schemas/phy/mediatek,hdmi-phy.yaml# 65ada755dSChunfeng Yun$schema: http://devicetree.org/meta-schemas/core.yaml# 75ada755dSChunfeng Yun 884e85359SKrzysztof Kozlowskititle: MediaTek High Definition Multimedia Interface (HDMI) PHY 95ada755dSChunfeng Yun 105ada755dSChunfeng Yunmaintainers: 115ada755dSChunfeng Yun - Chun-Kuang Hu <chunkuang.hu@kernel.org> 125ada755dSChunfeng Yun - Philipp Zabel <p.zabel@pengutronix.de> 135ada755dSChunfeng Yun - Chunfeng Yun <chunfeng.yun@mediatek.com> 145ada755dSChunfeng Yun 155ada755dSChunfeng Yundescription: | 165ada755dSChunfeng Yun The HDMI PHY serializes the HDMI encoder's three channel 10-bit parallel 175ada755dSChunfeng Yun output and drives the HDMI pads. 185ada755dSChunfeng Yun 195ada755dSChunfeng Yunproperties: 205ada755dSChunfeng Yun $nodename: 215ada755dSChunfeng Yun pattern: "^hdmi-phy@[0-9a-f]+$" 225ada755dSChunfeng Yun 235ada755dSChunfeng Yun compatible: 249dbccfefSChunfeng Yun oneOf: 259dbccfefSChunfeng Yun - items: 269dbccfefSChunfeng Yun - enum: 275ada755dSChunfeng Yun - mediatek,mt7623-hdmi-phy 289dbccfefSChunfeng Yun - const: mediatek,mt2701-hdmi-phy 299dbccfefSChunfeng Yun - const: mediatek,mt2701-hdmi-phy 309dbccfefSChunfeng Yun - const: mediatek,mt8173-hdmi-phy 31*c78fe548SGuillaume Ranquet - const: mediatek,mt8195-hdmi-phy 325ada755dSChunfeng Yun 335ada755dSChunfeng Yun reg: 345ada755dSChunfeng Yun maxItems: 1 355ada755dSChunfeng Yun 365ada755dSChunfeng Yun clocks: 375ada755dSChunfeng Yun items: 385ada755dSChunfeng Yun - description: PLL reference clock 395ada755dSChunfeng Yun 405ada755dSChunfeng Yun clock-names: 415ada755dSChunfeng Yun items: 425ada755dSChunfeng Yun - const: pll_ref 435ada755dSChunfeng Yun 445ada755dSChunfeng Yun clock-output-names: 455ada755dSChunfeng Yun items: 465ada755dSChunfeng Yun - const: hdmitx_dig_cts 475ada755dSChunfeng Yun 485ada755dSChunfeng Yun "#phy-cells": 495ada755dSChunfeng Yun const: 0 505ada755dSChunfeng Yun 515ada755dSChunfeng Yun "#clock-cells": 525ada755dSChunfeng Yun const: 0 535ada755dSChunfeng Yun 545ada755dSChunfeng Yun mediatek,ibias: 555ada755dSChunfeng Yun description: 565ada755dSChunfeng Yun TX DRV bias current for < 1.65Gbps 575ada755dSChunfeng Yun $ref: /schemas/types.yaml#/definitions/uint32 585ada755dSChunfeng Yun minimum: 0 595ada755dSChunfeng Yun maximum: 63 605ada755dSChunfeng Yun default: 0xa 615ada755dSChunfeng Yun 625ada755dSChunfeng Yun mediatek,ibias_up: 635ada755dSChunfeng Yun description: 645ada755dSChunfeng Yun TX DRV bias current for >= 1.65Gbps 655ada755dSChunfeng Yun $ref: /schemas/types.yaml#/definitions/uint32 665ada755dSChunfeng Yun minimum: 0 675ada755dSChunfeng Yun maximum: 63 685ada755dSChunfeng Yun default: 0x1c 695ada755dSChunfeng Yun 705ada755dSChunfeng Yunrequired: 715ada755dSChunfeng Yun - compatible 725ada755dSChunfeng Yun - reg 735ada755dSChunfeng Yun - clocks 745ada755dSChunfeng Yun - clock-names 755ada755dSChunfeng Yun - clock-output-names 765ada755dSChunfeng Yun - "#phy-cells" 775ada755dSChunfeng Yun - "#clock-cells" 785ada755dSChunfeng Yun 795ada755dSChunfeng YunadditionalProperties: false 805ada755dSChunfeng Yun 815ada755dSChunfeng Yunexamples: 825ada755dSChunfeng Yun - | 835ada755dSChunfeng Yun #include <dt-bindings/clock/mt8173-clk.h> 845ada755dSChunfeng Yun hdmi_phy: hdmi-phy@10209100 { 855ada755dSChunfeng Yun compatible = "mediatek,mt8173-hdmi-phy"; 865ada755dSChunfeng Yun reg = <0x10209100 0x24>; 875ada755dSChunfeng Yun clocks = <&apmixedsys CLK_APMIXED_HDMI_REF>; 885ada755dSChunfeng Yun clock-names = "pll_ref"; 895ada755dSChunfeng Yun clock-output-names = "hdmitx_dig_cts"; 905ada755dSChunfeng Yun mediatek,ibias = <0xa>; 915ada755dSChunfeng Yun mediatek,ibias_up = <0x1c>; 925ada755dSChunfeng Yun #clock-cells = <0>; 935ada755dSChunfeng Yun #phy-cells = <0>; 945ada755dSChunfeng Yun }; 955ada755dSChunfeng Yun 965ada755dSChunfeng Yun... 97