* [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64
@ 2017-08-12 5:40 Jagan Teki
2017-08-12 5:40 ` [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB Jagan Teki
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Jagan Teki @ 2017-08-12 5:40 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, Icenowy Zheng, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, Michael Trimarchi,
linux-arm-kernel, devicetree, linux-kernel, linux-sunxi,
Jagan Teki
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB
2017-08-12 5:40 [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Jagan Teki
@ 2017-08-12 5:40 ` Jagan Teki
2017-08-14 7:28 ` Chen-Yu Tsai
2017-08-12 5:40 ` [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X Jagan Teki
2017-08-14 7:22 ` [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Chen-Yu Tsai
2 siblings, 1 reply; 6+ messages in thread
From: Jagan Teki @ 2017-08-12 5:40 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, Icenowy Zheng, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, Michael Trimarchi,
linux-arm-kernel, devicetree, linux-kernel, linux-sunxi,
Jagan Teki
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X
2017-08-12 5:40 [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Jagan Teki
2017-08-12 5:40 ` [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB Jagan Teki
@ 2017-08-12 5:40 ` Jagan Teki
2017-08-14 7:44 ` Chen-Yu Tsai
2017-08-14 7:22 ` [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Chen-Yu Tsai
2 siblings, 1 reply; 6+ messages in thread
From: Jagan Teki @ 2017-08-12 5:40 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, Icenowy Zheng, Rob Herring, Mark Rutland,
Catalin Marinas, Will Deacon, Michael Trimarchi,
linux-arm-kernel, devicetree, linux-kernel, linux-sunxi,
Jagan Teki
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64
2017-08-12 5:40 [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Jagan Teki
2017-08-12 5:40 ` [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB Jagan Teki
2017-08-12 5:40 ` [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X Jagan Teki
@ 2017-08-14 7:22 ` Chen-Yu Tsai
2 siblings, 0 replies; 6+ messages in thread
From: Chen-Yu Tsai @ 2017-08-14 7:22 UTC (permalink / raw)
To: Jagan Teki
Cc: Maxime Ripard, Chen-Yu Tsai, Icenowy Zheng, Rob Herring,
Mark Rutland, Catalin Marinas, Will Deacon, Michael Trimarchi,
linux-arm-kernel, devicetree, linux-kernel, linux-sunxi,
Jagan Teki
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB
2017-08-12 5:40 ` [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB Jagan Teki
@ 2017-08-14 7:28 ` Chen-Yu Tsai
0 siblings, 0 replies; 6+ messages in thread
From: Chen-Yu Tsai @ 2017-08-14 7:28 UTC (permalink / raw)
To: Jagan Teki
Cc: Maxime Ripard, Chen-Yu Tsai, Icenowy Zheng, Rob Herring,
Mark Rutland, Catalin Marinas, Will Deacon, Michael Trimarchi,
linux-arm-kernel, devicetree, linux-kernel, linux-sunxi,
Jagan Teki
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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X
2017-08-12 5:40 ` [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X Jagan Teki
@ 2017-08-14 7:44 ` Chen-Yu Tsai
0 siblings, 0 replies; 6+ messages in thread
From: Chen-Yu Tsai @ 2017-08-14 7:44 UTC (permalink / raw)
To: Jagan Teki
Cc: Maxime Ripard, Chen-Yu Tsai, Icenowy Zheng, Rob Herring,
Mark Rutland, Catalin Marinas, Will Deacon, Michael Trimarchi,
linux-arm-kernel, devicetree, linux-kernel, linux-sunxi,
Jagan Teki
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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-08-14 7:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-12 5:40 [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Jagan Teki
2017-08-12 5:40 ` [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB Jagan Teki
2017-08-14 7:28 ` Chen-Yu Tsai
2017-08-12 5:40 ` [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X Jagan Teki
2017-08-14 7:44 ` Chen-Yu Tsai
2017-08-14 7:22 ` [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64 Chen-Yu Tsai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).