[PATCH 1/3] soc: rockchip: grf: Fix wrong RK3576_IOCGRF_MISC_CON definition

Chaoyi Chen chaoyi.chen at rock-chips.com
Mon Jan 12 03:10:19 PST 2026


On 1/12/2026 11:49 AM, Shawn Lin wrote:
> RK3576_IOCGRF_MISC_CON is IOC_GRF + 0x40F0, fix it.
> 
> Fixes: e1aaecacfa13 ("soc: rockchip: grf: Add rk3576 default GRF values")
> Signed-off-by: Shawn Lin <shawn.lin at rock-chips.com>
> ---
> 
>  drivers/soc/rockchip/grf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/rockchip/grf.c b/drivers/soc/rockchip/grf.c
> index 27bfa09..8974d1c 100644
> --- a/drivers/soc/rockchip/grf.c
> +++ b/drivers/soc/rockchip/grf.c
> @@ -146,7 +146,7 @@ static const struct rockchip_grf_info rk3576_sysgrf __initconst = {
>  	.num_values = ARRAY_SIZE(rk3576_defaults_sys_grf),
>  };
>  
> -#define RK3576_IOCGRF_MISC_CON		0x04F0
> +#define RK3576_IOCGRF_MISC_CON		0x40F0
>  
>  static const struct rockchip_grf_value rk3576_defaults_ioc_grf[] __initconst = {
>  	{ "jtag switching", RK3576_IOCGRF_MISC_CON, FIELD_PREP_WM16_CONST(BIT(1), 0) },

LGTM :)

Reviewed-by: Chaoyi Chen <chaoyi.chen at rock-chips.com>

-- 
Best, 
Chaoyi



More information about the Linux-rockchip mailing list