Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710168 > unrolled thread

[PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64

Started byJagan Teki <jagannadh.teki@gmail.com>
First post2017-08-12 07:50 +0200
Last post2017-08-14 09:30 +0200
Articles 6 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Jagan Teki <jagannadh.teki@gmail.com> - 2017-08-12 07:50 +0200
    [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB Jagan Teki <jagannadh.teki@gmail.com> - 2017-08-12 07:50 +0200
      Re: [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB Chen-Yu Tsai <wens@csie.org> - 2017-08-14 09:30 +0200
    [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X Jagan Teki <jagannadh.teki@gmail.com> - 2017-08-12 07:50 +0200
      Re: [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X Chen-Yu Tsai <wens@csie.org> - 2017-08-14 09:50 +0200
    Re: [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Chen-Yu Tsai <wens@csie.org> - 2017-08-14 09:30 +0200

#1710168 — [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64

FromJagan Teki <jagannadh.teki@gmail.com>
Date2017-08-12 07:50 +0200
Subject[PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64
Message-ID<udxt7-51g-1@gated-at.bofh.it>
From: Jagan Teki <jagan@amarulasolutions.com>

Sunxi arm64 doesn't have separate configs for
h5 and a64 so enable SUNXI_RSB bus for ARM64.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 drivers/bus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 2408ea3..ae3d8f3 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -132,7 +132,7 @@ config SIMPLE_PM_BUS
 
 config SUNXI_RSB
 	tristate "Allwinner sunXi Reduced Serial Bus Driver"
-	  default MACH_SUN8I || MACH_SUN9I
+	  default MACH_SUN8I || MACH_SUN9I || ARM64
 	  depends on ARCH_SUNXI
 	  select REGMAP
 	  help
-- 
2.7.4

[toc] | [next] | [standalone]


#1710169 — [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB

FromJagan Teki <jagannadh.teki@gmail.com>
Date2017-08-12 07:50 +0200
Subject[PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB
Message-ID<udxt7-51g-3@gated-at.bofh.it>
In reply to#1710168
From: Jagan Teki <jagan@amarulasolutions.com>

X-Powers AXP series PMICs with RSB is need for sunxi a64
so make it default in defconfig.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 33d2d62..a11fce7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -313,6 +313,7 @@ CONFIG_MESON_GXBB_WATCHDOG=m
 CONFIG_MESON_WATCHDOG=m
 CONFIG_RENESAS_WDT=y
 CONFIG_BCM2835_WDT=y
+CONFIG_MFD_AXP20X_RSB=y
 CONFIG_MFD_CROS_EC=y
 CONFIG_MFD_CROS_EC_I2C=y
 CONFIG_MFD_CROS_EC_SPI=y
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


#1710687 — Re: [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB

FromChen-Yu Tsai <wens@csie.org>
Date2017-08-14 09:30 +0200
SubjectRe: [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB
Message-ID<uehZ1-1bj-23@gated-at.bofh.it>
In reply to#1710169
On Sat, Aug 12, 2017 at 1:40 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> X-Powers AXP series PMICs with RSB is need for sunxi a64

The proper vendor name is "Allwinner".

> so make it default in defconfig.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Applied with the following commit message:

arm64: defconfig: Enable MFD_AXP20X_RSB

The Allwinner A64 SoC is paired with the X-Powers AXP803 PMIC over the
Reduced Serial Bus (RSB).

Enable the driver for this PMIC.


ChenYu

> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 33d2d62..a11fce7 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -313,6 +313,7 @@ CONFIG_MESON_GXBB_WATCHDOG=m
>  CONFIG_MESON_WATCHDOG=m
>  CONFIG_RENESAS_WDT=y
>  CONFIG_BCM2835_WDT=y
> +CONFIG_MFD_AXP20X_RSB=y
>  CONFIG_MFD_CROS_EC=y
>  CONFIG_MFD_CROS_EC_I2C=y
>  CONFIG_MFD_CROS_EC_SPI=y
> --
> 2.7.4
>

[toc] | [prev] | [next] | [standalone]


#1710172 — [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X

FromJagan Teki <jagannadh.teki@gmail.com>
Date2017-08-12 07:50 +0200
Subject[PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X
Message-ID<udxt8-51g-9@gated-at.bofh.it>
In reply to#1710168
From: Jagan Teki <jagan@amarulasolutions.com>

X-POWERS AXP20X PMIC Regulators is need for sunxi a64
so make it default in defconfig.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a11fce7..d8f23c5 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -323,6 +323,7 @@ CONFIG_MFD_MAX77620=y
 CONFIG_MFD_SPMI_PMIC=y
 CONFIG_MFD_RK808=y
 CONFIG_MFD_SEC_CORE=y
+CONFIG_REGULATOR_AXP20X=y
 CONFIG_REGULATOR_FAN53555=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_REGULATOR_GPIO=y
-- 
2.7.4

[toc] | [prev] | [next] | [standalone]


#1710700 — Re: [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X

FromChen-Yu Tsai <wens@csie.org>
Date2017-08-14 09:50 +0200
SubjectRe: [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X
Message-ID<ueiim-1lD-9@gated-at.bofh.it>
In reply to#1710172
On Sat, Aug 12, 2017 at 1:40 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> X-POWERS AXP20X PMIC Regulators is need for sunxi a64
> so make it default in defconfig.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Applied with the following commit message:

arm64: defconfig: Enable REGULATOR_AXP20X

The Allwinner A64 SoC is paired with the X-Powers AXP803 PMIC over the
Reduced Serial Bus (RSB). The regulators of this PMIC supply all power
rails of the SoC and many external peripherals.

Enable the driver for the regulators of this PMIC.

ChenYu

> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index a11fce7..d8f23c5 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -323,6 +323,7 @@ CONFIG_MFD_MAX77620=y
>  CONFIG_MFD_SPMI_PMIC=y
>  CONFIG_MFD_RK808=y
>  CONFIG_MFD_SEC_CORE=y
> +CONFIG_REGULATOR_AXP20X=y
>  CONFIG_REGULATOR_FAN53555=y
>  CONFIG_REGULATOR_FIXED_VOLTAGE=y
>  CONFIG_REGULATOR_GPIO=y
> --
> 2.7.4
>

[toc] | [prev] | [next] | [standalone]


#1710682

FromChen-Yu Tsai <wens@csie.org>
Date2017-08-14 09:30 +0200
Message-ID<uehYZ-1bj-1@gated-at.bofh.it>
In reply to#1710168
On Sat, Aug 12, 2017 at 1:40 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> Sunxi arm64 doesn't have separate configs for
> h5 and a64 so enable SUNXI_RSB bus for ARM64.

The commit message is missing a lot of details. It assumes the
reader knows about the A64 SoC and that it uses the RSB bus to
communicate with the PMIC.

Applied for 4.14 with the following commit message:

bus: sunxi-rsb: Enable by default for ARM64

Allwinner's A64 SoC uses the "Reduced Serial Bus" to communicate with
its companion PMIC.

Since arm64 does not have separate defconfigs for each platform or
processor family, enable this driver by default for ARM64 as well.
Note that the Kconfig symbol already depends on ARCH_SUNXI.

ChenYu

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web