[PATCH v1 1/2] clk: a1: add new clocks for USB stack

neil.armstrong at linaro.org neil.armstrong at linaro.org
Thu Nov 2 14:36:12 CET 2023


On 01/11/2023 15:04, Alexey Romanov wrote:
> Since we sync device tree with Linux, we have to add this
> clock definition for USB stack.
> 
> Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
> ---
>   drivers/clk/meson/a1.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/clk/meson/a1.c b/drivers/clk/meson/a1.c
> index 1075ba7333..d0f5bb3753 100644
> --- a/drivers/clk/meson/a1.c
> +++ b/drivers/clk/meson/a1.c
> @@ -241,6 +241,12 @@ static const struct meson_clk_info *meson_clocks[] = {
>   	[CLKID_USB_PHY_IN] = CLK_GATE("usb_phy_in", A1_SYS_OSCIN_CTRL, 2,
>   		EXTERNAL_XTAL
>   	),
> +	[CLKID_USB_CTRL_IN] = CLK_GATE("usb_ctrl_in", A1_SYS_OSCIN_CTRL, 3,
> +		EXTERNAL_XTAL
> +	),
> +	[CLKID_USB_CTRL] = CLK_GATE("usb_ctrl", A1_SYS_CLK_EN0, 28,
> +		CLKID_SYS
> +	),
>   	[CLKID_USB_PHY] = CLK_GATE("usb_phy", A1_SYS_CLK_EN0, 27,
>   		CLKID_SYS
>   	),

Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>


More information about the U-Boot mailing list