Skip to content

Commit 048213a

Browse files
Heiko Stuebnermmind
authored andcommitted
soc: rockchip: grf: Add select correct PWM implementation on RK3368
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@cherry.de> Link: https://patch.msgid.link/20251021074254.87065-4-heiko@sntech.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent fc3d701 commit 048213a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/soc/rockchip

drivers/soc/rockchip/grf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ static const struct rockchip_grf_info rk3328_grf __initconst = {
9191

9292
static const struct rockchip_grf_value rk3368_defaults[] __initconst = {
9393
{ "jtag switching", RK3368_GRF_SOC_CON15, FIELD_PREP_WM16_CONST(BIT(13), 0) },
94+
{ "pwm select", RK3368_GRF_SOC_CON15, FIELD_PREP_WM16_CONST(BIT(12), 1) },
9495
};
9596

9697
static const struct rockchip_grf_info rk3368_grf __initconst = {

0 commit comments

Comments
 (0)