diff options
author | Alexey Romanov | 2023-11-01 17:04:56 +0300 |
---|---|---|
committer | Neil Armstrong | 2023-11-06 09:45:47 +0100 |
commit | 8ec790399aa88bb8d0a02282e411f34584c74950 (patch) | |
tree | c635b20ce0e1c8c18a1250750d5d6aff03178ca9 /drivers | |
parent | a4c83bda17196bf5d1ce640844595aaeced6465e (diff) |
clk: a1: add new clocks for USB stack
Since we sync device tree with Linux, we have to add this
clock definition for USB stack.
Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231101140500.9025-2-avromanov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/clk/meson/a1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/meson/a1.c b/drivers/clk/meson/a1.c index 1075ba73339..d0f5bb37530 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 ), |