public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "André Przywara" <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 15/20] sunxi: Enable CLK
Date: Fri, 11 Jan 2019 00:09:15 +0000	[thread overview]
Message-ID: <6540c3c5-2c29-2ec5-c1fc-a62bd040482c@arm.com> (raw)
In-Reply-To: <20190110184016.17027-16-jagan@amarulasolutions.com>

On 10/01/2019 18:40, Jagan Teki wrote:
> CLK and DM_RESET drivers are now available for most
> of the Allwinner platforms, so enable in mach-sunxi/Kconfig
> 
> Enabling CLK will select DM_RESET by default.

Shame we don't have the new A80 DTs in our tree, otherwise we would have
got away with a one-liner instead ...

> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Reviewed-by: Andre Przywara <andre.przywara@arm.com>

Cheers,
Andre.

> ---
>  arch/arm/mach-sunxi/Kconfig | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 3c54f5106d..5f51bbbed0 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -132,6 +132,7 @@ endif
>  
>  config MACH_SUNXI_H3_H5
>  	bool
> +	select CLK
>  	select DM_I2C
>  	select PHY_SUN4I_USB
>  	select SUNXI_DE2
> @@ -154,6 +155,7 @@ config MACH_SUN4I
>  	bool "sun4i (Allwinner A10)"
>  	select CPU_V7A
>  	select ARM_CORTEX_CPU_IS_UP
> +	select CLK
>  	select DM_MMC if MMC
>  	select DM_SCSI if SCSI
>  	select PHY_SUN4I_USB
> @@ -165,6 +167,7 @@ config MACH_SUN5I
>  	bool "sun5i (Allwinner A13)"
>  	select CPU_V7A
>  	select ARM_CORTEX_CPU_IS_UP
> +	select CLK
>  	select DRAM_SUN4I
>  	select PHY_SUN4I_USB
>  	select SUNXI_GEN_SUN4I
> @@ -177,6 +180,7 @@ config MACH_SUN6I
>  	select CPU_V7_HAS_NONSEC
>  	select CPU_V7_HAS_VIRT
>  	select ARCH_SUPPORT_PSCI
> +	select CLK
>  	select DRAM_SUN6I
>  	select PHY_SUN4I_USB
>  	select SUN6I_P2WI
> @@ -191,6 +195,7 @@ config MACH_SUN7I
>  	select CPU_V7_HAS_NONSEC
>  	select CPU_V7_HAS_VIRT
>  	select ARCH_SUPPORT_PSCI
> +	select CLK
>  	select DRAM_SUN4I
>  	select PHY_SUN4I_USB
>  	select SUNXI_GEN_SUN4I
> @@ -203,6 +208,7 @@ config MACH_SUN8I_A23
>  	select CPU_V7_HAS_NONSEC
>  	select CPU_V7_HAS_VIRT
>  	select ARCH_SUPPORT_PSCI
> +	select CLK
>  	select DRAM_SUN8I_A23
>  	select PHY_SUN4I_USB
>  	select SUNXI_GEN_SUN6I
> @@ -216,6 +222,7 @@ config MACH_SUN8I_A33
>  	select CPU_V7_HAS_NONSEC
>  	select CPU_V7_HAS_VIRT
>  	select ARCH_SUPPORT_PSCI
> +	select CLK
>  	select DRAM_SUN8I_A33
>  	select PHY_SUN4I_USB
>  	select SUNXI_GEN_SUN6I
> @@ -226,6 +233,7 @@ config MACH_SUN8I_A33
>  config MACH_SUN8I_A83T
>  	bool "sun8i (Allwinner A83T)"
>  	select CPU_V7A
> +	select CLK
>  	select DRAM_SUN8I_A83T
>  	select PHY_SUN4I_USB
>  	select SUNXI_GEN_SUN6I
> @@ -248,6 +256,7 @@ config MACH_SUN8I_R40
>  	select CPU_V7_HAS_NONSEC
>  	select CPU_V7_HAS_VIRT
>  	select ARCH_SUPPORT_PSCI
> +	select CLK
>  	select SUNXI_GEN_SUN6I
>  	select SUPPORT_SPL
>  	select SUNXI_DRAM_DW
> @@ -259,6 +268,7 @@ config MACH_SUN8I_V3S
>  	select CPU_V7_HAS_NONSEC
>  	select CPU_V7_HAS_VIRT
>  	select ARCH_SUPPORT_PSCI
> +	select CLK
>  	select SUNXI_GEN_SUN6I
>  	select SUNXI_DRAM_DW
>  	select SUNXI_DRAM_DW_16BIT
> @@ -277,6 +287,7 @@ config MACH_SUN9I
>  config MACH_SUN50I
>  	bool "sun50i (Allwinner A64)"
>  	select ARM64
> +	select CLK
>  	select DM_I2C
>  	select PHY_SUN4I_USB
>  	select SUN6I_PRCM
> @@ -300,6 +311,7 @@ config MACH_SUN50I_H5
>  config MACH_SUN50I_H6
>  	bool "sun50i (Allwinner H6)"
>  	select ARM64
> +	select CLK
>  	select SUPPORT_SPL
>  	select FIT
>  	select SPL_LOAD_FIT
> 

  reply	other threads:[~2019-01-11  0:09 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10 18:39 [U-Boot] [PATCH v6 00/20] clk: Add Allwinner CLK, RESET support Jagan Teki
2019-01-10 18:39 ` [U-Boot] [PATCH v6 01/20] clk: Add Allwinner A64 CLK driver Jagan Teki
2019-01-10 18:39 ` [U-Boot] [PATCH v6 02/20] reset: Add Allwinner RESET driver Jagan Teki
2019-01-10 18:39 ` [U-Boot] [PATCH v6 03/20] clk: sunxi: Add Allwinner H3/H5 CLK driver Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 04/20] clk: sunxi: Add Allwinner A10/A20 " Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 05/20] clk: sunxi: Add Allwinner A10s/A13 " Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 06/20] clk: sunxi: Add Allwinner A31 " Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 07/20] clk: sunxi: Add Allwinner A23/A33 " Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 08/20] clk: sunxi: Add Allwinner A83T " Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 09/20] clk: sunxi: Add Allwinner R40 " Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 10/20] clk: sunxi: Add Allwinner V3S " Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 11/20] clk: sunxi: Implement UART clocks Jagan Teki
2019-01-10 22:52   ` André Przywara
2019-01-10 18:40 ` [U-Boot] [PATCH v6 12/20] clk: sunxi: Implement UART resets Jagan Teki
2019-01-10 22:50   ` André Przywara
2019-01-10 18:40 ` [U-Boot] [PATCH v6 13/20] clk: sunxi: Add Allwinner H6 CLK driver Jagan Teki
2019-01-10 23:55   ` André Przywara
2019-01-10 18:40 ` [U-Boot] [PATCH v6 14/20] sunxi: A64: Update sun50i-a64-ccu.h Jagan Teki
2019-01-10 23:58   ` André Przywara
2019-01-10 18:40 ` [U-Boot] [PATCH v6 15/20] sunxi: Enable CLK Jagan Teki
2019-01-11  0:09   ` André Przywara [this message]
2019-01-10 18:40 ` [U-Boot] [PATCH v6 16/20] phy: sun4i-usb: Use CLK and RESET support Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 17/20] reset: Add reset valid Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 18/20] musb-new: sunxi: Use CLK and RESET support Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 19/20] sunxi: usb: Switch to Generic host controllers Jagan Teki
2019-01-10 18:40 ` [U-Boot] [PATCH v6 20/20] usb: host: Drop [e-o]hci-sunxi drivers Jagan Teki
2019-01-18 16:52 ` [U-Boot] [PATCH v6 00/20] clk: Add Allwinner CLK, RESET support Jagan Teki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6540c3c5-2c29-2ec5-c1fc-a62bd040482c@arm.com \
    --to=andre.przywara@arm.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox