Skip to content

Commit 91c17a7

Browse files
Faiz-Abbastmlind
authored andcommitted
clk: ti: dra7: Add clkctrl clock data for the mcan clocks
Add clkctrl data for the m_can clocks and register it within the clkctrl driver Acked-by: Rob Herring <robh@kernel.org> Acked-by: Stephen Boyd <sboyd@kernel.org> CC: Tero Kristo <t-kristo@ti.com> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 2074905 commit 91c17a7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/clk/ti/clk-7xx.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ static const struct omap_clkctrl_reg_data dra7_wkupaon_clkctrl_regs[] __initcons
708708
{ DRA7_COUNTER_32K_CLKCTRL, NULL, 0, "wkupaon_iclk_mux" },
709709
{ DRA7_UART10_CLKCTRL, dra7_uart10_bit_data, CLKF_SW_SUP, "wkupaon_cm:clk:0060:24" },
710710
{ DRA7_DCAN1_CLKCTRL, dra7_dcan1_bit_data, CLKF_SW_SUP, "wkupaon_cm:clk:0068:24" },
711+
{ DRA7_ADC_CLKCTRL, NULL, CLKF_SW_SUP, "mcan_clk"},
711712
{ 0 },
712713
};
713714

‎include/dt-bindings/clock/dra7.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,6 @@
168168
#define DRA7_COUNTER_32K_CLKCTRL DRA7_CLKCTRL_INDEX(0x50)
169169
#define DRA7_UART10_CLKCTRL DRA7_CLKCTRL_INDEX(0x80)
170170
#define DRA7_DCAN1_CLKCTRL DRA7_CLKCTRL_INDEX(0x88)
171+
#define DRA7_ADC_CLKCTRL DRA7_CLKCTRL_INDEX(0xa0)
171172

172173
#endif

0 commit comments

Comments
 (0)