^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menuconfig CLK_SUNXI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) bool "Legacy clock support for Allwinner SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on ARCH_SUNXI || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) if CLK_SUNXI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) config CLK_SUNXI_CLOCKS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) bool "Legacy clock drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Legacy clock drivers being used on older (A10, A13, A20,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) A23, A31, A80) SoCs. These drivers are kept around for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Device Tree backward compatibility issues, in case one would
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) still use a Device Tree with one clock provider by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) node. Newer Device Trees and newer SoCs use the drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) controlled by CONFIG_SUNXI_CCU.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config CLK_SUNXI_PRCM_SUN6I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) bool "Legacy A31 PRCM driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select MFD_SUN6I_PRCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Legacy clock driver for the A31 PRCM clocks. Those are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) usually needed for the PMIC communication, mostly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) config CLK_SUNXI_PRCM_SUN8I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) bool "Legacy sun8i PRCM driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) select MFD_SUN6I_PRCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Legacy clock driver for the sun8i family PRCM clocks.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Those are usually needed for the PMIC communication,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) mostly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) config CLK_SUNXI_PRCM_SUN9I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) bool "Legacy A80 PRCM driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Legacy clock driver for the A80 PRCM clocks. Those are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) usually needed for the PMIC communication, mostly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) endif