Loading Documentation/devicetree/bindings/clock/sunxi-ccu.txt +4 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,10 @@ Allwinner Clock Control Unit Binding ------------------------------------ Required properties : - compatible: must contain one of the following compatible: - compatible: must contain one of the following compatibles: - "allwinner,sun6i-a31-ccu" - "allwinner,sun8i-a23-ccu" - "allwinner,sun8i-a33-ccu" - "allwinner,sun8i-h3-ccu" - reg: Must contain the registers base address and length Loading drivers/clk/sunxi-ng/Kconfig +39 −0 Original line number Diff line number Diff line config SUNXI_CCU bool "Clock support for Allwinner SoCs" depends on ARCH_SUNXI || COMPILE_TEST default ARCH_SUNXI if SUNXI_CCU Loading @@ -19,6 +20,10 @@ config SUNXI_CCU_GATE config SUNXI_CCU_MUX bool config SUNXI_CCU_MULT bool select SUNXI_CCU_MUX config SUNXI_CCU_PHASE bool Loading Loading @@ -51,6 +56,40 @@ config SUNXI_CCU_MP # SoC Drivers config SUN6I_A31_CCU bool "Support for the Allwinner A31/A31s CCU" select SUNXI_CCU_DIV select SUNXI_CCU_NK select SUNXI_CCU_NKM select SUNXI_CCU_NM select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN6I config SUN8I_A23_CCU bool "Support for the Allwinner A23 CCU" select SUNXI_CCU_DIV select SUNXI_CCU_MULT select SUNXI_CCU_NK select SUNXI_CCU_NKM select SUNXI_CCU_NKMP select SUNXI_CCU_NM select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I config SUN8I_A33_CCU bool "Support for the Allwinner A33 CCU" select SUNXI_CCU_DIV select SUNXI_CCU_MULT select SUNXI_CCU_NK select SUNXI_CCU_NKM select SUNXI_CCU_NKMP select SUNXI_CCU_NM select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I config SUN8I_H3_CCU bool "Support for the Allwinner H3 CCU" select SUNXI_CCU_DIV Loading drivers/clk/sunxi-ng/Makefile +4 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ obj-$(CONFIG_SUNXI_CCU_DIV) += ccu_div.o obj-$(CONFIG_SUNXI_CCU_FRAC) += ccu_frac.o obj-$(CONFIG_SUNXI_CCU_GATE) += ccu_gate.o obj-$(CONFIG_SUNXI_CCU_MUX) += ccu_mux.o obj-$(CONFIG_SUNXI_CCU_MULT) += ccu_mult.o obj-$(CONFIG_SUNXI_CCU_PHASE) += ccu_phase.o # Multi-factor clocks Loading @@ -17,4 +18,7 @@ obj-$(CONFIG_SUNXI_CCU_NM) += ccu_nm.o obj-$(CONFIG_SUNXI_CCU_MP) += ccu_mp.o # SoC support obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6i-a31.o obj-$(CONFIG_SUN8I_A23_CCU) += ccu-sun8i-a23.o obj-$(CONFIG_SUN8I_A33_CCU) += ccu-sun8i-a33.o obj-$(CONFIG_SUN8I_H3_CCU) += ccu-sun8i-h3.o Loading
Documentation/devicetree/bindings/clock/sunxi-ccu.txt +4 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,10 @@ Allwinner Clock Control Unit Binding ------------------------------------ Required properties : - compatible: must contain one of the following compatible: - compatible: must contain one of the following compatibles: - "allwinner,sun6i-a31-ccu" - "allwinner,sun8i-a23-ccu" - "allwinner,sun8i-a33-ccu" - "allwinner,sun8i-h3-ccu" - reg: Must contain the registers base address and length Loading
drivers/clk/sunxi-ng/Kconfig +39 −0 Original line number Diff line number Diff line config SUNXI_CCU bool "Clock support for Allwinner SoCs" depends on ARCH_SUNXI || COMPILE_TEST default ARCH_SUNXI if SUNXI_CCU Loading @@ -19,6 +20,10 @@ config SUNXI_CCU_GATE config SUNXI_CCU_MUX bool config SUNXI_CCU_MULT bool select SUNXI_CCU_MUX config SUNXI_CCU_PHASE bool Loading Loading @@ -51,6 +56,40 @@ config SUNXI_CCU_MP # SoC Drivers config SUN6I_A31_CCU bool "Support for the Allwinner A31/A31s CCU" select SUNXI_CCU_DIV select SUNXI_CCU_NK select SUNXI_CCU_NKM select SUNXI_CCU_NM select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN6I config SUN8I_A23_CCU bool "Support for the Allwinner A23 CCU" select SUNXI_CCU_DIV select SUNXI_CCU_MULT select SUNXI_CCU_NK select SUNXI_CCU_NKM select SUNXI_CCU_NKMP select SUNXI_CCU_NM select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I config SUN8I_A33_CCU bool "Support for the Allwinner A33 CCU" select SUNXI_CCU_DIV select SUNXI_CCU_MULT select SUNXI_CCU_NK select SUNXI_CCU_NKM select SUNXI_CCU_NKMP select SUNXI_CCU_NM select SUNXI_CCU_MP select SUNXI_CCU_PHASE default MACH_SUN8I config SUN8I_H3_CCU bool "Support for the Allwinner H3 CCU" select SUNXI_CCU_DIV Loading
drivers/clk/sunxi-ng/Makefile +4 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ obj-$(CONFIG_SUNXI_CCU_DIV) += ccu_div.o obj-$(CONFIG_SUNXI_CCU_FRAC) += ccu_frac.o obj-$(CONFIG_SUNXI_CCU_GATE) += ccu_gate.o obj-$(CONFIG_SUNXI_CCU_MUX) += ccu_mux.o obj-$(CONFIG_SUNXI_CCU_MULT) += ccu_mult.o obj-$(CONFIG_SUNXI_CCU_PHASE) += ccu_phase.o # Multi-factor clocks Loading @@ -17,4 +18,7 @@ obj-$(CONFIG_SUNXI_CCU_NM) += ccu_nm.o obj-$(CONFIG_SUNXI_CCU_MP) += ccu_mp.o # SoC support obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6i-a31.o obj-$(CONFIG_SUN8I_A23_CCU) += ccu-sun8i-a23.o obj-$(CONFIG_SUN8I_A33_CCU) += ccu-sun8i-a33.o obj-$(CONFIG_SUN8I_H3_CCU) += ccu-sun8i-h3.o