[PATCH] clk: rockchip: rk3568: Add dummy I2S1_MCLKOUT_TX clock support

Kever Yang kever.yang at rock-chips.com
Fri Apr 14 10:50:12 CEST 2023


On 2023/4/2 23:58, Jonas Karlman wrote:
> A RK3568 device tree pmic node can reference the I2S1_MCLKOUT_TX clock
> in assigned-clocks, add dummy support to set parent of this clock to the
> rk3568 cru driver.
>
> Fixes probe of pmic driver and missing regulators on affected boards,
> rk3568-evb and rk3568-rock-3a.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   drivers/clk/rockchip/clk_rk3568.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/rockchip/clk_rk3568.c b/drivers/clk/rockchip/clk_rk3568.c
> index 1c6adc56f913..cefc263971a6 100644
> --- a/drivers/clk/rockchip/clk_rk3568.c
> +++ b/drivers/clk/rockchip/clk_rk3568.c
> @@ -2838,6 +2838,8 @@ static int rk3568_clk_set_parent(struct clk *clk, struct clk *parent)
>   	case ACLK_RKVDEC_PRE:
>   	case CLK_RKVDEC_CORE:
>   		return rk3568_rkvdec_set_parent(clk, parent);
> +	case I2S1_MCLKOUT_TX:
> +		break;
>   	default:
>   		return -ENOENT;
>   	}


More information about the U-Boot mailing list