soc: rockchip: grf: Add select correct PWM implementation

A patch from »General RK3368 HDMI support and 2 outputs for RK3368-Lion« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko.stuebner@...> Date: Sun, 19 Oct 2025 14:44:34 +0200

Commit-Message

Similar to the RK3288, the RK3368 has two different implementations of the PWM block inside the SoC - the newer ones that we have a driver for and that is used on every SoC and a previous variant that was likely left as a fallback if the new one creates problems. The devicetree is already set up for the new variant, so make sure we actually use it - similar to the RK3288. Signed-off-by: Heiko Stuebner <heiko.stuebner@...>

Patch-Comment

drivers/soc/rockchip/grf.c | 1 + 1 file changed, 1 insertion(+)

Statistics

  • 1 lines added
  • 0 lines removed

Changes

-------------------------- drivers/soc/rockchip/grf.c --------------------------
index 344870da7675..963cdea01ce7 100644
@@ -91,6 +91,7 @@ static const struct rockchip_grf_info rk3328_grf __initconst = {
static const struct rockchip_grf_value rk3368_defaults[] __initconst = {
{ "jtag switching", RK3368_GRF_SOC_CON15, FIELD_PREP_WM16_CONST(BIT(13), 0) },
+ { "pwm select", RK3368_GRF_SOC_CON15, FIELD_PREP_WM16_CONST(BIT(12), 1) },
};
static const struct rockchip_grf_info rk3368_grf __initconst = {
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...