Compared with RK3288/RK3399, the HBR2 link rate support is the main improvement of RK3588 eDP TX controller, and there are also two independent eDP display interfaces on RK3588 Soc. The newly added 'apb' reset is to ensure the APB bus of eDP controller works well on the RK3588 SoC. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Change-Id: If3864613762898624ba39ad0395516a4ebb02732 Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Link: https://lore.kernel.org/r/20250310104114.2608063-10-damon.ding@rock-chips.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> (cherry picked from commit f855146263b14abadd8d5bd0e280e54fbab3bd18)
122 lines
2.4 KiB
YAML
122 lines
2.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/rockchip/rockchip,analogix-dp.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Rockchip specific extensions to the Analogix Display Port
|
|
|
|
maintainers:
|
|
- Sandy Huang <hjc@rock-chips.com>
|
|
- Heiko Stuebner <heiko@sntech.de>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- rockchip,rk3288-dp
|
|
- rockchip,rk3399-edp
|
|
- rockchip,rk3588-edp
|
|
|
|
clocks:
|
|
minItems: 2
|
|
maxItems: 3
|
|
|
|
clock-names:
|
|
minItems: 2
|
|
items:
|
|
- const: dp
|
|
- const: pclk
|
|
- const: grf
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
reset-names:
|
|
minItems: 1
|
|
items:
|
|
- const: dp
|
|
- const: apb
|
|
|
|
rockchip,grf:
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
description:
|
|
This SoC makes use of GRF regs.
|
|
|
|
required:
|
|
- compatible
|
|
- clocks
|
|
- clock-names
|
|
- resets
|
|
- reset-names
|
|
- rockchip,grf
|
|
|
|
allOf:
|
|
- $ref: /schemas/display/bridge/analogix,dp.yaml#
|
|
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- rockchip,rk3588-edp
|
|
then:
|
|
properties:
|
|
resets:
|
|
minItems: 2
|
|
reset-names:
|
|
minItems: 2
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/rk3288-cru.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
dp@ff970000 {
|
|
compatible = "rockchip,rk3288-dp";
|
|
reg = <0xff970000 0x4000>;
|
|
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cru SCLK_EDP>, <&cru PCLK_EDP_CTRL>;
|
|
clock-names = "dp", "pclk";
|
|
phys = <&dp_phy>;
|
|
phy-names = "dp";
|
|
resets = <&cru 111>;
|
|
reset-names = "dp";
|
|
rockchip,grf = <&grf>;
|
|
pinctrl-0 = <&edp_hpd>;
|
|
pinctrl-names = "default";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
edp_in: port@0 {
|
|
reg = <0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
edp_in_vopb: endpoint@0 {
|
|
reg = <0>;
|
|
remote-endpoint = <&vopb_out_edp>;
|
|
};
|
|
edp_in_vopl: endpoint@1 {
|
|
reg = <1>;
|
|
remote-endpoint = <&vopl_out_edp>;
|
|
};
|
|
};
|
|
|
|
edp_out: port@1 {
|
|
reg = <1>;
|
|
|
|
edp_out_panel: endpoint {
|
|
remote-endpoint = <&panel_in_edp>;
|
|
};
|
|
};
|
|
};
|
|
};
|