]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: rockchip: Enable eDP0 display on RK3588S EVB1 board
authorDamon Ding <damon.ding@rock-chips.com>
Mon, 10 Mar 2025 10:41:14 +0000 (18:41 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 22 Apr 2025 11:28:32 +0000 (13:28 +0200)
commit53862b991e79d8816d5ff54b5954d6a0fe1dcd4c
tree4e527a801560c0f1abf6e80b3a005d623dac244d
parentdc79d3d5e7c7b2c177b4a4ca84d20d271fb68da0
arm64: dts: rockchip: Enable eDP0 display on RK3588S EVB1 board

Add the necessary DT changes to enable eDP0 on RK3588S EVB1 board:
- Set pinctrl of pwm12 for backlight
- Enable edp0/hdptxphy0/vp2
- Assign the parent of DCLK_VOP2_SRC to PLL_V0PLL
- Add aux-bus/panel nodes

For RK3588, the PLL_V0PLL is specifically designed for the VOP2. This
means the clock rate of PLL_V0PLL can be adjusted according to the dclk
rate of relevant VP. It is typically assigned as the dclk source of a
specific VP when the clock of relevant display mode is unusual, such as
the eDP panel 'lg,lp079qx1-sp0v' paired with RK3588S EVB1, which has a
clock rate of 202.02MHz.

Additionally, the 'force-hpd' is set for edp0 because the HPD pin on the
panel side is not connected to the eDP HPD pin on the SoC side according
to the RK3588S EVB1 hardware design.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Link: https://lore.kernel.org/r/20250310104114.2608063-14-damon.ding@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s-evb1-v10.dts