arm: mach-k3: j721e: Add platform data for main_uart2
Subsystems (2)
PATCH 1/1 arm: mach-k3: j721e: Add platform data for main_uart2
Add platform clock and powerdomain data for main_uart2 in J721e. This data is used by the driver to register main_uart2 device clocks and powerdomains for J721e.
--- arch/arm/mach-k3/j721e/clk-data.c | 7 +++++-- arch/arm/mach-k3/j721e/dev-data.c | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-)
arch/arm/mach-k3/j721e/clk-data.c +5 -2
@@ -553,6 +553,7 @@ static const struct clk_data clk_list[] = {CLK_MUX ("main_pll4_xref_sel_out0" , main_pll4_xref_sel_out0_parents,2 ,0x43008090 ,4 ,1 ,0 ),CLK_MUX ("mcu_clkout_mux_out0" , mcu_clkout_mux_out0_parents,2 ,0x40f08010 ,0 ,1 ,0 ),CLK_DIV_DEFFREQ ("usart_programmable_clock_divider_out0" ,"hsdiv4_16fft_main_1_hsdivout0_clk" ,0x1081c0 ,0 ,2 ,0 ,0 ,48000000 ), +CLK_DIV ("usart_programmable_clock_divider_out2" ,"hsdiv4_16fft_main_1_hsdivout0_clk" ,0x1081c8 ,0 ,2 ,0 ,0 ),CLK_DIV ("hsdiv0_16fft_main_12_hsdivout0_clk" ,"pllfracf_ssmod_16fft_main_12_foutvcop_clk" ,0x68c080 ,0 ,7 ,0 ,0 ),CLK_DIV ("hsdiv0_16fft_main_6_hsdivout0_clk" ,"pllfrac2_ssmod_16fft_main_6_foutvcop_clk" ,0x686080 ,0 ,7 ,0 ,0 ), CLK_DIV("hsdiv0_16fft_main_7_hsdivout0_clk", "pllfrac2_ssmod_16fft_main_7_foutvcop_clk", 0x687080, 0, 7, 0, 0),
@@ -760,6 +761,8 @@ static const struct dev_clk soc_dev_clk_data[] = {DEV_CLK (197 ,4 ,"k3_pll_ctrl_wrap_wkup_0_chip_div1_clk_clk" ),DEV_CLK (202 ,2 ,"hsdiv0_16fft_main_8_hsdivout0_clk" ),DEV_CLK (203 ,0 ,"hsdiv0_16fft_main_8_hsdivout0_clk" ), +DEV_CLK (279 ,0 ,"usart_programmable_clock_divider_out2" ), +DEV_CLK (279 ,1 ,"k3_pll_ctrl_wrap_main_0_chip_div1_clk_clk" ),DEV_CLK (288 ,3 ,"postdiv3_16fft_main_1_hsdivout7_clk" ),DEV_CLK (288 ,4 ,"k3_pll_ctrl_wrap_main_0_chip_div1_clk_clk" ), DEV_CLK(288, 5, "k3_pll_ctrl_wrap_main_0_chip_div1_clk_clk"),
@@ -780,7 +783,7 @@ static const struct dev_clk soc_dev_clk_data[] = {const struct ti_k3_clk_platdata j721e_clk_platdata = { .clk_list = clk_list, - .clk_list_cnt =156 , + .clk_list_cnt =157 , .soc_dev_clk_data = soc_dev_clk_data, - .soc_dev_clk_data_cnt =171 , + .soc_dev_clk_data_cnt =173 , };
arch/arm/mach-k3/j721e/dev-data.c +2 -1
@@ -46,6 +46,7 @@ static struct ti_dev soc_dev_list[] = {PSC_DEV (30 , &soc_lpsc_list[0 ]),PSC_DEV (61 , &soc_lpsc_list[0 ]),PSC_DEV (146 , &soc_lpsc_list[1 ]), +PSC_DEV (279 , &soc_lpsc_list[1 ]),PSC_DEV (90 , &soc_lpsc_list[2 ]),PSC_DEV (47 , &soc_lpsc_list[3 ]), PSC_DEV(288, &soc_lpsc_list[4]),
@@ -75,5 +76,5 @@ const struct ti_k3_pd_platdata j721e_pd_platdata = { .num_psc = 2, .num_pd = 5, .num_lpsc = 16, - .num_devs = 22, + .num_devs = 23, };
Signature · 1 line
2.37.2
Hi Bhavya!
On December 19, 2022 thus sayeth Bhavya Kapoor:
Quoted 10 lines
Add platform clock and powerdomain data for
main_uart2in J721e. This data is used by the driver to registermain_uart2device clocks and powerdomains for J721e.Signed-off-by Bhavya Kapoor <[email protected]>--- arch/arm/mach-k3/j721e/clk-data.c | 7 +++++-- arch/arm/mach-k3/j721e/dev-data.c | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-)
I know there are a lot of changes coming up for the clock tree on all of our j7* devices. Would you be comfortable if we held off on this until we can get all the other changes lined up?
~Bryan
Hi Bryan, sure i can wait for that. Can i get the information when that gets merged.
Quoted 18 lines · Bryan Brattlof
Hi Bhavya!
On December 19, 2022 thus sayeth Bhavya Kapoor:
Quoted 10 lines
Add platform clock and powerdomain data for
main_uart2in J721e. This data is used by the driver to registermain_uart2device clocks and powerdomains for J721e.Signed-off-by Bhavya Kapoor <[email protected]>--- arch/arm/mach-k3/j721e/clk-data.c | 7 +++++-- arch/arm/mach-k3/j721e/dev-data.c | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-)I know there are a lot of changes coming up for the clock tree on all of our j7* devices. Would you be comfortable if we held off on this until we can get all the other changes lined up?
~Bryan