19.11.2019 09:50, Sowjanya Komatineni пишет: > Current Tegra clock driver registers PMC clocks clk_out_1, clk_out_2, > clk_out_3 and blink output in tegra_pmc_init() which does direct Tegra > PMC access during clk_ops and these PMC register read and write access > will not happen when PMC is in secure mode. > > Any direct PMC register access from non-secure world will not go > through and all the PMC clocks and blink control are done in Tegra PMC > driver with PMC as clock provider. > > This patch removes tegra_pmc_clk_init along with corresponding clk ids > from Tegra clock driver. > > Signed-off-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx> > --- > drivers/clk/tegra/Makefile | 1 - > drivers/clk/tegra/clk-id.h | 7 ------- > drivers/clk/tegra/clk-tegra114.c | 33 ------------------------------ > drivers/clk/tegra/clk-tegra124.c | 44 +++++----------------------------------- > drivers/clk/tegra/clk-tegra20.c | 24 ---------------------- > drivers/clk/tegra/clk-tegra210.c | 32 ----------------------------- > drivers/clk/tegra/clk-tegra30.c | 32 ----------------------------- > drivers/clk/tegra/clk.h | 1 - > 8 files changed, 5 insertions(+), 169 deletions(-) > > diff --git a/drivers/clk/tegra/Makefile b/drivers/clk/tegra/Makefile > index df966ca06788..1f7c30f87ece 100644 > --- a/drivers/clk/tegra/Makefile > +++ b/drivers/clk/tegra/Makefile > @@ -12,7 +12,6 @@ obj-y += clk-sdmmc-mux.o > obj-y += clk-super.o > obj-y += clk-tegra-audio.o > obj-y += clk-tegra-periph.o > -obj-y += clk-tegra-pmc.o > obj-y += clk-tegra-fixed.o > obj-y += clk-tegra-super-gen4.o > obj-$(CONFIG_TEGRA_CLK_EMC) += clk-emc.o Why clk-tegra-pmc.c itself isn't removed? [snip]