linux_old1/drivers/clk/mediatek
Sean Wang bc27360b3c clk: mediatek: adjust dependency of reset.c to avoid unexpectedly being built
Changes from v1->v2:
Add 'select RESET_CONTROLLER' under COMMON_CLK_MEDIATEK and enable
reset.c to be built when COMMON_CLK_MEDIATEK is selected. That should
be quite reasonable because the reset controller is tightly embedded
inside and exported from these clock subsystems. At least it can be found
on infracfg and pericfg subsystem that both are really fundamental block
lots of devices must depend on.

commit 74cb0d6dde ("clk: mediatek: fixup test-building of MediaTek clock
drivers") can let the build system looking into the directory where the
clock drivers resides and then allow test-building the drivers.

But the change also gives rise to certain incorrect behavior which is
reset.c being built even not depending on either COMPILE_TEST or
ARCH_MEDIATEK alternative dependency. To get rid of reset.c being built
unexpectedly on the other platforms, it would be a good change that the
file should be built depending on its own specific configuration rather
than just on generic RESET_CONTROLLER one.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2018-01-10 13:41:15 -08:00
..
Kconfig clk: mediatek: adjust dependency of reset.c to avoid unexpectedly being built 2018-01-10 13:41:15 -08:00
Makefile clk: mediatek: adjust dependency of reset.c to avoid unexpectedly being built 2018-01-10 13:41:15 -08:00
clk-apmixed.c clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS 2015-10-01 12:06:00 +08:00
clk-cpumux.c clk: Convert to using %pOF instead of full_name 2017-07-21 15:49:54 -07:00
clk-cpumux.h clk: mediatek: add missing cpu mux causing Mediatek cpufreq can't work 2017-06-19 19:02:43 -07:00
clk-gate.c clk: mediatek: Add MT2701 clock support 2016-11-08 15:59:49 -08:00
clk-gate.h clk: mediatek: Add MT2701 clock support 2016-11-08 15:59:49 -08:00
clk-mt2701-bdp.c clk: mediatek: Add MT2701 clock support 2016-11-08 15:59:49 -08:00
clk-mt2701-eth.c clk: mediatek: add mt2701 ethernet reset 2017-04-21 19:20:33 -07:00
clk-mt2701-hif.c reset: mediatek: Add MT2701 reset driver 2016-11-08 15:59:51 -08:00
clk-mt2701-img.c clk: mediatek: Add MT2701 clock support 2016-11-08 15:59:49 -08:00
clk-mt2701-mm.c clk: mediatek: Add MT2701 clock support 2016-11-08 15:59:49 -08:00
clk-mt2701-vdec.c clk: mediatek: Add MT2701 clock support 2016-11-08 15:59:49 -08:00
clk-mt2701.c clk: mediatek: mark mtk_infrasys_init_early __init 2017-11-02 01:06:15 -07:00
clk-mt2712-bdp.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt2712-img.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt2712-jpgdec.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt2712-mfg.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt2712-mm.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt2712-vdec.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt2712-venc.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt2712.c clk: mediatek: Add MT2712 clock support 2017-11-02 01:02:53 -07:00
clk-mt6797-img.c clk: mediatek: add clk support for MT6797 2017-04-19 09:20:21 -07:00
clk-mt6797-mm.c clk: mediatek: add clk support for MT6797 2017-04-19 09:20:21 -07:00
clk-mt6797-vdec.c clk: mediatek: add clk support for MT6797 2017-04-19 09:20:21 -07:00
clk-mt6797-venc.c clk: mediatek: add clk support for MT6797 2017-04-19 09:20:21 -07:00
clk-mt6797.c clk: mediatek: add clk support for MT6797 2017-04-19 09:20:21 -07:00
clk-mt7622-aud.c clk: mediatek: add clock support for MT7622 SoC 2017-11-02 01:10:12 -07:00
clk-mt7622-eth.c clk: mediatek: add clock support for MT7622 SoC 2017-11-02 01:10:12 -07:00
clk-mt7622-hif.c clk: mediatek: add clock support for MT7622 SoC 2017-11-02 01:10:12 -07:00
clk-mt7622.c clk: mediatek: add clock support for MT7622 SoC 2017-11-02 01:10:12 -07:00
clk-mt8135.c clk: mediatek: Properly include clk.h 2015-07-20 10:53:09 -07:00
clk-mt8173.c clk: mediatek: export cpu multiplexer clock for MT8173 SoCs 2017-06-19 19:02:44 -07:00
clk-mtk.c clk: Convert to using %pOF instead of full_name 2017-07-21 15:49:54 -07:00
clk-mtk.h clk: mediatek: adjust dependency of reset.c to avoid unexpectedly being built 2018-01-10 13:41:15 -08:00
clk-pll.c clk: mediatek: add the option for determining PLL source clock 2017-11-02 01:07:51 -07:00
reset.c clk: Convert to using %pOF instead of full_name 2017-07-21 15:49:54 -07:00