1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,dp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek Display Port Controller
10 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
11 - Jitao shi <jitao.shi@mediatek.com>
14 MediaTek DP and eDP are different hardwares and there are some features
15 which are not supported for eDP. For example, audio is not supported for
16 eDP. Therefore, we need to use two different compatibles to describe them.
17 In addition, We just need to enable the power domain of DP, so the clock
18 of DP is generated by itself and we are not using other PLL to generate
24 - mediatek,mt8195-dp-tx
25 - mediatek,mt8195-edp-tx
32 description: efuse data for display port calibration
35 const: dp_calibration_data
44 $ref: /schemas/graph.yaml#/properties/ports
47 $ref: /schemas/graph.yaml#/properties/port
48 description: Input endpoint of the controller, usually dp_intf
51 $ref: /schemas/graph.yaml#/$defs/port-base
52 unevaluatedProperties: false
53 description: Output endpoint of the controller
56 $ref: /schemas/media/video-interfaces.yaml#
57 unevaluatedProperties: false
61 number of lanes supported by the hardware.
63 0 - For 1 lane enabled in IP.
64 0 1 - For 2 lanes enabled in IP.
65 0 1 2 3 - For 4 lanes enabled in IP.
76 enum: [ 1620, 2700, 5400, 8100 ]
77 description: maximum link rate supported by the hardware.
86 additionalProperties: false
90 #include <dt-bindings/interrupt-controller/arm-gic.h>
91 #include <dt-bindings/power/mt8195-power.h>
93 compatible = "mediatek,mt8195-dp-tx";
94 reg = <0x1c600000 0x8000>;
95 power-domains = <&spm MT8195_POWER_DOMAIN_DP_TX>;
96 interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH 0>;
97 max-linkrate-mhz = <8100>;
100 #address-cells = <1>;
106 remote-endpoint = <&dp_intf0_out>;
112 data-lanes = <0 1 2 3>;