From: Damon Ding <damon.ding@rock-chips.com>
To: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
Dave Jones <s.dave.jones@gmail.com>,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Damon Ding <damon.ding@rock-chips.com>
Subject: [PATCH v5 0/3] Add eDP support for RK3568
Date: Tue, 10 Nov 2026 15:45:30 +0800 [thread overview]
Message-ID: <20261110074533.4052196-1-damon.ding@rock-chips.com> (raw)
Picked from:
https://lore.kernel.org/all/20261030064905.2248999-1-damon.ding@rock-chips.com/
The 'rockchip,rk3568-edp' display binding, the RK3568 support for the
Analogix DP bridge driver and the RK3568 support for the Rockchip
Analogix DP driver have been applied to the drm-misc-next tree.
PATCH 1 is to document the RK3568 eDP Transmitter PHY with Naneng IP
block, along with the eDP PHY GRF syscon node it resides in.
PATCH 2 is to add the driver for the Rockchip eDP Transmitter PHY with
Naneng IP block.
PATCH 3 is to add the eDP controller and eDP PHY nodes for the RK3568
SoCs.
Tested on RK3568 EVB1 board with LG eDP panel LP079QX1-SP0V.
&edp {
avdd-0v9-supply = <&vdda0v9_image>;
avdd-1v8-supply = <&vcca1v8_image>;
force-hpd;
status = "okay";
aux-bus {
panel {
compatible = "edp-panel";
backlight = <&backlight>;
power-supply = <&vcc3v3_lcd0_n>;
no-hpd;
port {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
};
};
};
};
&edp_in {
edp_in_vp0: endpoint {
remote-endpoint = <&vp0_out_edp>;
};
};
&edp_out {
edp_out_panel: endpoint {
remote-endpoint = <&panel_in_edp>;
};
};
&edp_phy {
status = "okay";
};
&vp0 {
vp0_out_edp: endpoint@ROCKCHIP_VOP2_EP_EDP0 {
reg = <ROCKCHIP_VOP2_EP_EDP0>;
remote-endpoint = <&edp_in_vp0>;
};
};
Damon Ding (3):
dt-bindings: phy: Add rockchip,rk3568-edp-phy
phy: rockchip: Add support for Naneng eDP phy
arm64: dts: rockchip: rk356x: Add eDP controller and phy nodes
.../bindings/phy/rockchip,rk3568-edp-phy.yaml | 46 ++
.../rockchip/rockchip,rk3568-edp-phy-grf.yaml | 80 +++
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 45 ++
drivers/phy/rockchip/Kconfig | 11 +
drivers/phy/rockchip/Makefile | 1 +
.../phy/rockchip/phy-rockchip-naneng-edp.c | 471 ++++++++++++++++++
6 files changed, 654 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3568-edp-phy.yaml
create mode 100644 Documentation/devicetree/bindings/soc/rockchip/rockchip,rk3568-edp-phy-grf.yaml
create mode 100644 drivers/phy/rockchip/phy-rockchip-naneng-edp.c
---
Changes in v2:
- Apply the lane-dependent TX configurations in set_lanes() instead of
set_rate(), and store the lane count for set_voltages(), since the
Analogix DP core issues separate phy_configure() calls and the lane
count is only valid in the set_lanes/set_voltages calls. (Sashiko)
- Initialize val to zero in rockchip_edp_phy_enabled() to avoid using
an uninitialized variable when regmap_read() fails. (Sashiko)
- Fail the probe when the chip data requires GRF configurations while
the "rockchip,grf" property is missing. (Sashiko)
- Rebase onto latest drm-misc-next tree.
Changes in v3:
- Restore the PHY related changes which were missing in v2 for
unexpected reasons.
Changes in v4:
- Restrict the avdd-0v9 and avdd-1v8 supplies to the RK3568 compatible
in the Rockchip Analogix DP binding.
- Add the reg entry for the PHY node and the ranges/#address-cells/
#size-cells for the parent syscon node in the Rockchip GRF schema.
- Map the PHY registers from its own reg property instead of accessing
them through the parent syscon regmap.
- Model the PHY node with a reg property under the parent syscon in the
DT.
Changes in v5:
- Move the APB clock (PCLK_EDPPHY_GRF) from the parent syscon node to
the PHY node and enable it in the driver. (Sashiko)
- Split the "rockchip,rk3568-edp-phy-grf" syscon node to its own
binding schema, instead of extending the shared Rockchip GRF schema.
- Validate the voltages against the effective lane count, to also
cover combined set_lanes + set_voltages requests. (Sashiko)
- Select REGMAP_MMIO.
- Drop the example from the PHY binding schema, as complete MFD
examples belong in the GRF binding schema.
- Rename the reference clock to "ref".
--
2.34.1
next reply other threads:[~2026-11-10 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 7:45 Damon Ding [this message]
2026-11-10 7:45 ` [PATCH v5 1/3] dt-bindings: phy: Add rockchip,rk3568-edp-phy Damon Ding
2026-11-10 7:45 ` [PATCH v5 2/3] phy: rockchip: Add support for Naneng eDP phy Damon Ding
2026-11-10 7:45 ` [PATCH v5 3/3] arm64: dts: rockchip: rk356x: Add eDP controller and phy nodes Damon Ding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261110074533.4052196-1-damon.ding@rock-chips.com \
--to=damon.ding@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=luca.ceresoli@bootlin.com \
--cc=mani@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=s.dave.jones@gmail.com \
--cc=sebastian.reichel@collabora.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®