1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,analogix-dp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: Rockchip specific extensions to the Analogix Display Port 8 9 maintainers: 10 - Sandy Huang <hjc@rock-chips.com> 11 - Heiko Stuebner <heiko@sntech.de> 12 13 properties: 14 compatible: 15 enum: 16 - rockchip,rk3288-dp 17 - rockchip,rk3399-edp 18 19 clocks: 20 minItems: 2 21 maxItems: 3 22 23 clock-names: 24 minItems: 2 25 items: 26 - const: dp 27 - const: pclk 28 - const: grf 29 30 power-domains: 31 maxItems: 1 32 33 resets: 34 maxItems: 1 35 36 reset-names: 37 const: dp 38 39 rockchip,grf: 40 $ref: /schemas/types.yaml#/definitions/phandle 41 description: 42 This SoC makes use of GRF regs. 43 44 required: 45 - compatible 46 - clocks 47 - clock-names 48 - resets 49 - reset-names 50 - rockchip,grf 51 52 allOf: 53 - $ref: /schemas/display/bridge/analogix,dp.yaml# 54 55 unevaluatedProperties: false 56 57 examples: 58 - | 59 #include <dt-bindings/clock/rk3288-cru.h> 60 #include <dt-bindings/interrupt-controller/arm-gic.h> 61 #include <dt-bindings/interrupt-controller/irq.h> 62 dp@ff970000 { 63 compatible = "rockchip,rk3288-dp"; 64 reg = <0xff970000 0x4000>; 65 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 66 clocks = <&cru SCLK_EDP>, <&cru PCLK_EDP_CTRL>; 67 clock-names = "dp", "pclk"; 68 phys = <&dp_phy>; 69 phy-names = "dp"; 70 resets = <&cru 111>; 71 reset-names = "dp"; 72 rockchip,grf = <&grf>; 73 pinctrl-0 = <&edp_hpd>; 74 pinctrl-names = "default"; 75 76 ports { 77 #address-cells = <1>; 78 #size-cells = <0>; 79 80 edp_in: port@0 { 81 reg = <0>; 82 #address-cells = <1>; 83 #size-cells = <0>; 84 85 edp_in_vopb: endpoint@0 { 86 reg = <0>; 87 remote-endpoint = <&vopb_out_edp>; 88 }; 89 edp_in_vopl: endpoint@1 { 90 reg = <1>; 91 remote-endpoint = <&vopl_out_edp>; 92 }; 93 }; 94 95 edp_out: port@1 { 96 reg = <1>; 97 98 edp_out_panel: endpoint { 99 remote-endpoint = <&panel_in_edp>; 100 }; 101 }; 102 }; 103 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.