forked from OERV-BSP/u-boot
Add a clock driver for the PRCM clock controller on the Allwinner A523 family of SoCs, often also used with an "r" prefix or suffix. This just describes the clock gates and reset lines for the few devices that we would need, most prominently the R_I2C device for the PMIC. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
147 lines
3.8 KiB
Plaintext
147 lines
3.8 KiB
Plaintext
config CLK_SUNXI
|
|
bool "Clock support for Allwinner SoCs"
|
|
depends on CLK && ARCH_SUNXI
|
|
select DM_RESET
|
|
select SPL_DM_RESET if SPL_CLK
|
|
default y
|
|
help
|
|
This enables support for common clock driver API on Allwinner
|
|
SoCs.
|
|
|
|
if CLK_SUNXI
|
|
|
|
config CLK_SUNIV_F1C100S
|
|
bool "Clock driver for Allwinner F1C100s"
|
|
default MACH_SUNIV
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner F1C100s SoC.
|
|
|
|
config CLK_SUN4I_A10
|
|
bool "Clock driver for Allwinner A10/A20"
|
|
default MACH_SUN4I || MACH_SUN7I
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A10/A20 SoC.
|
|
|
|
config CLK_SUN5I_A10S
|
|
bool "Clock driver for Allwinner A10s/A13"
|
|
default MACH_SUN5I
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A10s/A13 SoC.
|
|
|
|
config CLK_SUN6I_A31
|
|
bool "Clock driver for Allwinner A31/A31s"
|
|
default MACH_SUN6I
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A31/A31s SoC.
|
|
|
|
config CLK_SUN6I_A31_R
|
|
bool "Clock driver for Allwinner A31 generation PRCM"
|
|
default SUNXI_GEN_SUN6I
|
|
help
|
|
This enables common clock driver support for the PRCM
|
|
in Allwinner A31/A31s/A23/A33/A83T/H3/A64/H5 SoCs.
|
|
|
|
config CLK_SUN8I_A23
|
|
bool "Clock driver for Allwinner A23/A33"
|
|
default MACH_SUN8I_A23 || MACH_SUN8I_A33
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A23/A33 SoC.
|
|
|
|
config CLK_SUN8I_A83T
|
|
bool "Clock driver for Allwinner A83T"
|
|
default MACH_SUN8I_A83T
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A83T SoC.
|
|
|
|
config CLK_SUN8I_R40
|
|
bool "Clock driver for Allwinner R40"
|
|
default MACH_SUN8I_R40
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner R40 SoC.
|
|
|
|
config CLK_SUN8I_V3S
|
|
bool "Clock driver for Allwinner V3S"
|
|
default MACH_SUN8I_V3S
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner V3S SoC.
|
|
|
|
config CLK_SUN9I_A80
|
|
bool "Clock driver for Allwinner A80"
|
|
default MACH_SUN9I
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A80 SoC.
|
|
|
|
config CLK_SUN8I_H3
|
|
bool "Clock driver for Allwinner H3/H5"
|
|
default MACH_SUNXI_H3_H5
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner H3/H5 SoC.
|
|
|
|
config CLK_SUN20I_D1
|
|
bool "Clock driver for Allwinner D1"
|
|
default MACH_SUN8I_R528
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner D1 SoC.
|
|
|
|
config CLK_SUN50I_H6
|
|
bool "Clock driver for Allwinner H6"
|
|
default MACH_SUN50I_H6
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner H6 SoC.
|
|
|
|
config CLK_SUN50I_H6_R
|
|
bool "Clock driver for Allwinner H6 generation PRCM"
|
|
default SUN50I_GEN_H6
|
|
help
|
|
This enables common clock driver support for the PRCM
|
|
in Allwinner H6/H616 SoCs.
|
|
|
|
config CLK_SUN50I_H616
|
|
bool "Clock driver for Allwinner H616"
|
|
default MACH_SUN50I_H616
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner H616 SoC.
|
|
|
|
config CLK_SUN50I_A64
|
|
bool "Clock driver for Allwinner A64"
|
|
default MACH_SUN50I
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A64 SoC.
|
|
|
|
config CLK_SUN50I_A100
|
|
bool "Clock driver for Allwinner A100/A133"
|
|
default MACH_SUN50I_A133
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A100/A133 SoCs.
|
|
|
|
config CLK_SUN55I_A523
|
|
bool "Clock driver for Allwinner A523/T527"
|
|
default MACH_SUN55I_A523
|
|
help
|
|
This enables common clock driver support for platforms based
|
|
on Allwinner A523/T527 SoC.
|
|
|
|
config CLK_SUN55I_A523_R
|
|
bool "Clock driver for Allwinner A523 generation PRCM"
|
|
default MACH_SUN55I_A523
|
|
help
|
|
This enables common clock driver support for the PRCM
|
|
in Allwinner A523/T527 SoCs.
|
|
|
|
endif # CLK_SUNXI
|