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,hdmi-phy.yaml# 65def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 75def4c47SEmmanuel Vadot 88bab661aSEmmanuel Vadottitle: MediaTek High Definition Multimedia Interface (HDMI) 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: | 165def4c47SEmmanuel Vadot The HDMI PHY serializes the HDMI encoder's three channel 10-bit parallel 175def4c47SEmmanuel Vadot output and drives the HDMI pads. 185def4c47SEmmanuel Vadot 195def4c47SEmmanuel Vadotproperties: 205def4c47SEmmanuel Vadot $nodename: 215def4c47SEmmanuel Vadot pattern: "^hdmi-phy@[0-9a-f]+$" 225def4c47SEmmanuel Vadot 235def4c47SEmmanuel Vadot compatible: 242eb4d8dcSEmmanuel Vadot oneOf: 252eb4d8dcSEmmanuel Vadot - items: 262eb4d8dcSEmmanuel Vadot - enum: 275def4c47SEmmanuel Vadot - mediatek,mt7623-hdmi-phy 282eb4d8dcSEmmanuel Vadot - const: mediatek,mt2701-hdmi-phy 292eb4d8dcSEmmanuel Vadot - const: mediatek,mt2701-hdmi-phy 302eb4d8dcSEmmanuel Vadot - const: mediatek,mt8173-hdmi-phy 31*fac71e4eSEmmanuel Vadot - const: mediatek,mt8195-hdmi-phy 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadot reg: 345def4c47SEmmanuel Vadot maxItems: 1 355def4c47SEmmanuel Vadot 365def4c47SEmmanuel Vadot clocks: 375def4c47SEmmanuel Vadot items: 385def4c47SEmmanuel Vadot - description: PLL reference clock 395def4c47SEmmanuel Vadot 405def4c47SEmmanuel Vadot clock-names: 415def4c47SEmmanuel Vadot items: 425def4c47SEmmanuel Vadot - const: pll_ref 435def4c47SEmmanuel Vadot 445def4c47SEmmanuel Vadot clock-output-names: 455def4c47SEmmanuel Vadot items: 465def4c47SEmmanuel Vadot - const: hdmitx_dig_cts 475def4c47SEmmanuel Vadot 485def4c47SEmmanuel Vadot "#phy-cells": 495def4c47SEmmanuel Vadot const: 0 505def4c47SEmmanuel Vadot 515def4c47SEmmanuel Vadot "#clock-cells": 525def4c47SEmmanuel Vadot const: 0 535def4c47SEmmanuel Vadot 545def4c47SEmmanuel Vadot mediatek,ibias: 555def4c47SEmmanuel Vadot description: 565def4c47SEmmanuel Vadot TX DRV bias current for < 1.65Gbps 575def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 585def4c47SEmmanuel Vadot minimum: 0 595def4c47SEmmanuel Vadot maximum: 63 605def4c47SEmmanuel Vadot default: 0xa 615def4c47SEmmanuel Vadot 625def4c47SEmmanuel Vadot mediatek,ibias_up: 635def4c47SEmmanuel Vadot description: 645def4c47SEmmanuel Vadot TX DRV bias current for >= 1.65Gbps 655def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 665def4c47SEmmanuel Vadot minimum: 0 675def4c47SEmmanuel Vadot maximum: 63 685def4c47SEmmanuel Vadot default: 0x1c 695def4c47SEmmanuel Vadot 705def4c47SEmmanuel Vadotrequired: 715def4c47SEmmanuel Vadot - compatible 725def4c47SEmmanuel Vadot - reg 735def4c47SEmmanuel Vadot - clocks 745def4c47SEmmanuel Vadot - clock-names 755def4c47SEmmanuel Vadot - clock-output-names 765def4c47SEmmanuel Vadot - "#phy-cells" 775def4c47SEmmanuel Vadot - "#clock-cells" 785def4c47SEmmanuel Vadot 795def4c47SEmmanuel VadotadditionalProperties: false 805def4c47SEmmanuel Vadot 815def4c47SEmmanuel Vadotexamples: 825def4c47SEmmanuel Vadot - | 835def4c47SEmmanuel Vadot #include <dt-bindings/clock/mt8173-clk.h> 845def4c47SEmmanuel Vadot hdmi_phy: hdmi-phy@10209100 { 855def4c47SEmmanuel Vadot compatible = "mediatek,mt8173-hdmi-phy"; 865def4c47SEmmanuel Vadot reg = <0x10209100 0x24>; 875def4c47SEmmanuel Vadot clocks = <&apmixedsys CLK_APMIXED_HDMI_REF>; 885def4c47SEmmanuel Vadot clock-names = "pll_ref"; 895def4c47SEmmanuel Vadot clock-output-names = "hdmitx_dig_cts"; 905def4c47SEmmanuel Vadot mediatek,ibias = <0xa>; 915def4c47SEmmanuel Vadot mediatek,ibias_up = <0x1c>; 925def4c47SEmmanuel Vadot #clock-cells = <0>; 935def4c47SEmmanuel Vadot #phy-cells = <0>; 945def4c47SEmmanuel Vadot }; 955def4c47SEmmanuel Vadot 965def4c47SEmmanuel Vadot... 97