Hi,
This series updates sunxi_defconfig and multi_v7_defconfig with all
the latest Allwinner additions.
- DMA_SUN6I, P2WI and PWM were added a few releases back, but never
got added to the list.
- EXTCON is required by an updated sun4i USB PHY driver.
- Allwinner cryptodev (Security System) driver is queued up for 4.3.
ChenYu
Chen-Yu Tsai (2):
ARM: sunxi_defconfig: Enable DMA_SUN6I, P2WI, PWM, cryptodev, EXTCON,
FHANDLE
ARM: multi_v7_defconfig: Enable Allwinner P2WI, PWM, DMA_SUN6I,
crytodev
arch/arm/configs/multi_v7_defconfig | 5 +++++
arch/arm/configs/sunxi_defconfig | 9 ++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
--
2.5.0
Enable sun6i DMA engine, sun6i P2WI, PWM, and crypto engine (Security
System) drivers by default. EXTCON is needed by the updated sun4i USB
PHY driver.
While at it, enable FHANDLE, which is needed by systemd and newer
versions of udev.
And get rid of POWER_RESET, as the sun6i power reset driver has been
removed in favor of proper sun6i watchdog support.
Signed-off-by: Chen-Yu Tsai <[email protected]>
---
arch/arm/configs/sunxi_defconfig | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index 7ebc346bf9fa..52cc0686524f 100644
--- a/arch/arm/configs/sunxi_defconfig
+++ b/arch/arm/configs/sunxi_defconfig
@@ -1,3 +1,4 @@
+CONFIG_FHANDLE=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_BLK_DEV_INITRD=y
@@ -72,12 +73,12 @@ CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MV64XXX=y
+CONFIG_I2C_SUN6I_P2WI=y
CONFIG_SPI=y
CONFIG_SPI_SUN4I=y
CONFIG_SPI_SUN6I=y
CONFIG_GPIO_SYSFS=y
CONFIG_POWER_SUPPLY=y
-CONFIG_POWER_RESET=y
CONFIG_THERMAL=y
CONFIG_CPU_THERMAL=y
CONFIG_WATCHDOG=y
@@ -109,7 +110,12 @@ CONFIG_RTC_CLASS=y
# CONFIG_RTC_INTF_PROC is not set
CONFIG_RTC_DRV_SUN6I=y
CONFIG_RTC_DRV_SUNXI=y
+CONFIG_DMADEVICES=y
+CONFIG_DMA_SUN6I=y
# CONFIG_IOMMU_SUPPORT is not set
+CONFIG_EXTCON=y
+CONFIG_PWM=y
+CONFIG_PWM_SUN4I=y
CONFIG_PHY_SUN4I_USB=y
CONFIG_PHY_SUN9I_USB=y
CONFIG_EXT4_FS=y
@@ -123,3 +129,4 @@ CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_FS=y
+CONFIG_CRYPTO_DEV_SUN4I_SS=y
--
2.5.0
Enable drivers for Allwinner P2WI, PWM, crytodev (Security System) and
sun6i DMA engine. Also enable EXTCON as PHY_SUN4I_USB depends on it.
Signed-off-by: Chen-Yu Tsai <[email protected]>
---
arch/arm/configs/multi_v7_defconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 5fd8df6f50ea..5eaf39ce134e 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -301,6 +301,7 @@ CONFIG_I2C_S3C2410=y
CONFIG_I2C_SH_MOBILE=y
CONFIG_I2C_SIRF=y
CONFIG_I2C_ST=y
+CONFIG_I2C_SUN6I_P2WI=y
CONFIG_I2C_TEGRA=y
CONFIG_I2C_XILINX=y
CONFIG_I2C_RCAR=y
@@ -587,6 +588,7 @@ CONFIG_IMX_DMA=y
CONFIG_MXS_DMA=y
CONFIG_DMA_OMAP=y
CONFIG_XILINX_VDMA=y
+CONFIG_DMA_SUN6I=y
CONFIG_STAGING=y
CONFIG_SENSORS_ISL29018=y
CONFIG_SENSORS_ISL29028=y
@@ -612,6 +614,7 @@ CONFIG_TEGRA_IOMMU_SMMU=y
CONFIG_PM_DEVFREQ=y
CONFIG_ARM_TEGRA_DEVFREQ=m
CONFIG_MEMORY=y
+CONFIG_EXTCON=y
CONFIG_TI_AEMIF=y
CONFIG_IIO=y
CONFIG_AT91_ADC=m
@@ -622,6 +625,7 @@ CONFIG_PWM_ATMEL=m
CONFIG_PWM_ATMEL_TCB=m
CONFIG_PWM_RENESAS_TPU=y
CONFIG_PWM_SAMSUNG=m
+CONFIG_PWM_SUN4I=y
CONFIG_PWM_TEGRA=y
CONFIG_PWM_VT8500=y
CONFIG_PHY_HIX5HD2_SATA=y
@@ -660,6 +664,7 @@ CONFIG_LOCKUP_DETECTOR=y
CONFIG_CRYPTO_DEV_TEGRA_AES=y
CONFIG_CPUFREQ_DT=y
CONFIG_KEYSTONE_IRQ=y
+CONFIG_CRYPTO_DEV_SUN4I_SS=m
CONFIG_ARM_CRYPTO=y
CONFIG_CRYPTO_SHA1_ARM=m
CONFIG_CRYPTO_SHA1_ARM_NEON=m
--
2.5.0
On Fri, 2015-07-31 at 19:12 +0800, Chen-Yu Tsai wrote:
> Enable sun6i DMA engine, sun6i P2WI, PWM, and crypto engine (Security
> System) drivers by default. EXTCON is needed by the updated sun4i USB
> PHY driver.
>
> While at it, enable FHANDLE, which is needed by systemd and newer
> versions of udev.
You might want to also add CONFIG_CGROUPS which is needed by systemd.
>
> And get rid of POWER_RESET, as the sun6i power reset driver has been
> removed in favor of proper sun6i watchdog support.
>
> Signed-off-by: Chen-Yu Tsai <[email protected]>
> ---
> arch/arm/configs/sunxi_defconfig | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/configs/sunxi_defconfig
> b/arch/arm/configs/sunxi_defconfig
> index 7ebc346bf9fa..52cc0686524f 100644
> --- a/arch/arm/configs/sunxi_defconfig
> +++ b/arch/arm/configs/sunxi_defconfig
> @@ -1,3 +1,4 @@
> +CONFIG_FHANDLE=y
> CONFIG_NO_HZ=y
> CONFIG_HIGH_RES_TIMERS=y
> CONFIG_BLK_DEV_INITRD=y
> @@ -72,12 +73,12 @@ CONFIG_SERIAL_OF_PLATFORM=y
> CONFIG_I2C=y
> CONFIG_I2C_CHARDEV=y
> CONFIG_I2C_MV64XXX=y
> +CONFIG_I2C_SUN6I_P2WI=y
> CONFIG_SPI=y
> CONFIG_SPI_SUN4I=y
> CONFIG_SPI_SUN6I=y
> CONFIG_GPIO_SYSFS=y
> CONFIG_POWER_SUPPLY=y
> -CONFIG_POWER_RESET=y
> CONFIG_THERMAL=y
> CONFIG_CPU_THERMAL=y
> CONFIG_WATCHDOG=y
> @@ -109,7 +110,12 @@ CONFIG_RTC_CLASS=y
> # CONFIG_RTC_INTF_PROC is not set
> CONFIG_RTC_DRV_SUN6I=y
> CONFIG_RTC_DRV_SUNXI=y
> +CONFIG_DMADEVICES=y
> +CONFIG_DMA_SUN6I=y
> # CONFIG_IOMMU_SUPPORT is not set
> +CONFIG_EXTCON=y
> +CONFIG_PWM=y
> +CONFIG_PWM_SUN4I=y
> CONFIG_PHY_SUN4I_USB=y
> CONFIG_PHY_SUN9I_USB=y
> CONFIG_EXT4_FS=y
> @@ -123,3 +129,4 @@ CONFIG_NLS_CODEPAGE_437=y
> CONFIG_NLS_ISO8859_1=y
> CONFIG_PRINTK_TIME=y
> CONFIG_DEBUG_FS=y
> +CONFIG_CRYPTO_DEV_SUN4I_SS=y
> --
> 2.5.0
>