mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 09:04:51 +08:00
4162dd5b3a
On gxbb and axg, try to get the hhi regmap from the parent DT node, which should be the HHI system controller once the necessary changes have been made in amlogic's DTs Until then, if getting regmap through the system controller fails, the clock controller will fall back to the old way, requesting memory region directly and then registering the regmap itself. This should allow a smooth transition to syscon Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
39 lines
1006 B
Plaintext
39 lines
1006 B
Plaintext
config COMMON_CLK_AMLOGIC
|
|
bool
|
|
depends on OF
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
|
|
config COMMON_CLK_REGMAP_MESON
|
|
bool
|
|
select REGMAP
|
|
|
|
config COMMON_CLK_MESON8B
|
|
bool
|
|
depends on COMMON_CLK_AMLOGIC
|
|
select RESET_CONTROLLER
|
|
select COMMON_CLK_REGMAP_MESON
|
|
help
|
|
Support for the clock controller on AmLogic S802 (Meson8),
|
|
S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you
|
|
want peripherals and CPU frequency scaling to work.
|
|
|
|
config COMMON_CLK_GXBB
|
|
bool
|
|
depends on COMMON_CLK_AMLOGIC
|
|
select RESET_CONTROLLER
|
|
select COMMON_CLK_REGMAP_MESON
|
|
select MFD_SYSCON
|
|
help
|
|
Support for the clock controller on AmLogic S905 devices, aka gxbb.
|
|
Say Y if you want peripherals and CPU frequency scaling to work.
|
|
|
|
config COMMON_CLK_AXG
|
|
bool
|
|
depends on COMMON_CLK_AMLOGIC
|
|
select RESET_CONTROLLER
|
|
select COMMON_CLK_REGMAP_MESON
|
|
select MFD_SYSCON
|
|
help
|
|
Support for the clock controller on AmLogic A113D devices, aka axg.
|
|
Say Y if you want peripherals and CPU frequency scaling to work.
|