diff mbox

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

Message ID 1502516443-4740-1-git-send-email-jteki@openedev.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jagan Teki Aug. 12, 2017, 5:40 a.m. UTC
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(-)

Comments

Chen-Yu Tsai Aug. 14, 2017, 7:22 a.m. UTC | #1
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>
diff mbox

Patch

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