diff mbox

[v2,2/2] ARM: multi_v7_defconfig: Enable Allwinner P2WI, PWM, DMA_SUN6I, cryptodev

Message ID 1438354602-6361-3-git-send-email-wens@csie.org (mailing list archive)
State New, archived
Headers show

Commit Message

Chen-Yu Tsai July 31, 2015, 2:56 p.m. UTC
Enable drivers for Allwinner P2WI, PWM, cryptodev (Security System) and
sun6i DMA engine. Also enable EXTCON as PHY_SUN4I_USB depends on it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/configs/multi_v7_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Maxime Ripard July 31, 2015, 5:01 p.m. UTC | #1
On Fri, Jul 31, 2015 at 10:56:42PM +0800, Chen-Yu Tsai wrote:
> Enable drivers for Allwinner P2WI, PWM, cryptodev (Security System) and
> sun6i DMA engine. Also enable EXTCON as PHY_SUN4I_USB depends on it.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> ---
>  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

Why do you enable it as a module?

Maxime
Chen-Yu Tsai July 31, 2015, 5:26 p.m. UTC | #2
On Sat, Aug 1, 2015 at 1:01 AM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> On Fri, Jul 31, 2015 at 10:56:42PM +0800, Chen-Yu Tsai wrote:
>> Enable drivers for Allwinner P2WI, PWM, cryptodev (Security System) and
>> sun6i DMA engine. Also enable EXTCON as PHY_SUN4I_USB depends on it.
>>
>> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>> ---
>>  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

It seems everything under crypto that is enabled and can be built as
a module (i.e. no one selects it as builtin) is enabled as a module.
I just followed everything else.

Hope this helps.


ChenYu
Maxime Ripard July 31, 2015, 6:01 p.m. UTC | #3
On Fri, Jul 31, 2015 at 10:56:42PM +0800, Chen-Yu Tsai wrote:
> Enable drivers for Allwinner P2WI, PWM, cryptodev (Security System) and
> sun6i DMA engine. Also enable EXTCON as PHY_SUN4I_USB depends on it.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Merged, thanks!

Maxime
diff mbox

Patch

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