mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
23c83366f3
Add a driver so the clocks/resets for these peripherals (especially I2C, RSB, and UART) can be enabled using the normal uclass methods. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
110 lines
2.8 KiB
Text
110 lines
2.8 KiB
Text
config CLK_SUNXI
|
|
bool "Clock support for Allwinner SoCs"
|
|
depends on CLK && ARCH_SUNXI
|
|
select DM_RESET
|
|
default y
|
|
help
|
|
This enables support for common clock driver API on Allwinner
|
|
SoCs.
|
|
|
|
if CLK_SUNXI
|
|
|
|
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_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.
|
|
|
|
endif # CLK_SUNXI
|