bus: kconfig: Enable SUNXI RSB for arm64
PATCH 1/3 bus: kconfig: Enable SUNXI RSB for arm64
From: Jagan Teki <[email protected]>
Sunxi arm64 doesn't have separate configs for
h5 and a64 so enable SUNXI_RSB bus for ARM64.
--- drivers/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/Kconfig +1 -1
@@ -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
Signature · 1 line
2.7.4
PATCH 2/3 arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB
From: Jagan Teki <[email protected]>
X-Powers AXP series PMICs with RSB is need for sunxi a64 so make it default in defconfig.
--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
@@ -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
Signature · 1 line
2.7.4
PATCH 3/3 arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X
In reply to Jagan TekiFrom: Jagan Teki <[email protected]>
X-POWERS AXP20X PMIC Regulators is need for sunxi a64 so make it default in defconfig.
--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
@@ -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
Signature · 1 line
2.7.4
Quoted 4 lines · Jagan Teki
From: Jagan Teki <[email protected]>
Sunxi arm64 doesn't have separate configs for
h5 and a64 so enableSUNXI_RSBbus 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
Quoted 2 lines
Signed-off-by Jagan Teki <[email protected]>
Re: [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB
In reply to Jagan TekiQuoted 3 lines · Jagan Teki
From: Jagan Teki <[email protected]>
X-Powers AXP series PMICs with RSB is need for sunxi a64
The proper vendor name is "Allwinner".
Quoted 3 lines
so make it default in defconfig.
Signed-off-by Jagan Teki <[email protected]>
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
Quoted 19 lines
--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm64/configs/defconfig +1
-1@@ -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
Re: [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X
In reply to Jagan TekiQuoted 6 lines · Jagan Teki
From: Jagan Teki <[email protected]>
X-POWERS AXP20X PMIC Regulators is need for sunxi a64 so make it default in defconfig.
Signed-off-by Jagan Teki <[email protected]>
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
Quoted 19 lines
--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm64/configs/defconfig +1
-1@@ -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