Message ID | 1525274696-11968-1-git-send-email-fabrice.gasnier@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Fabrice, On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: > This enables drivers for STM32 timer, low power timer and analog hardware > that can be used on STM32MP1 SoC: > - Timer & LP Timer MFD core, PWM, trigger & encoder drivers > - IIO ADC/DAC/DFSDM > - vrefbuf regu driver (voltage reference buffer). > > Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> > --- > arch/arm/configs/multi_v7_defconfig | 10 ++++++++++ > 1 file changed, 10 insertions(+) > Applied on stm32-next. Arnd, Do you agree if I take multi_v7_defconfig related patches in my stm32 pull requests ? Thanks. Alex > diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig > index e6b3c96..40f5dd8 100644 > --- a/arch/arm/configs/multi_v7_defconfig > +++ b/arch/arm/configs/multi_v7_defconfig > @@ -535,6 +535,7 @@ CONFIG_MFD_TPS65217=y > CONFIG_MFD_TPS65218=y > CONFIG_MFD_TPS6586X=y > CONFIG_MFD_TPS65910=y > +CONFIG_MFD_STM32_LPTIMER=y > CONFIG_REGULATOR_ACT8945A=y > CONFIG_REGULATOR_AB8500=y > CONFIG_REGULATOR_ACT8865=y > @@ -567,6 +568,7 @@ CONFIG_REGULATOR_QCOM_SMD_RPM=y > CONFIG_REGULATOR_RN5T618=y > CONFIG_REGULATOR_S2MPS11=y > CONFIG_REGULATOR_S5M8767=y > +CONFIG_REGULATOR_STM32_VREFBUF=y > CONFIG_REGULATOR_TI_ABB=y > CONFIG_REGULATOR_TPS51632=y > CONFIG_REGULATOR_TPS62360=y > @@ -935,13 +937,19 @@ CONFIG_AT91_SAMA5D2_ADC=m > CONFIG_BERLIN2_ADC=m > CONFIG_CPCAP_ADC=m > CONFIG_EXYNOS_ADC=m > +CONFIG_STM32_ADC_CORE=y > +CONFIG_STM32_ADC=y > +CONFIG_STM32_DFSDM_ADC=y > CONFIG_VF610_ADC=m > CONFIG_XILINX_XADC=y > +CONFIG_STM32_LPTIMER_CNT=y > +CONFIG_STM32_DAC=y > CONFIG_MPU3050_I2C=y > CONFIG_CM36651=m > CONFIG_AK8975=y > CONFIG_RASPBERRYPI_POWER=y > CONFIG_IIO_HRTIMER_TRIGGER=y > +CONFIG_IIO_STM32_LPTIMER_TRIGGER=y > CONFIG_PWM=y > CONFIG_PWM_ATMEL=m > CONFIG_PWM_ATMEL_HLCDC_PWM=m > @@ -951,6 +959,8 @@ CONFIG_PWM_RCAR=m > CONFIG_PWM_RENESAS_TPU=y > CONFIG_PWM_ROCKCHIP=m > CONFIG_PWM_SAMSUNG=m > +CONFIG_PWM_STM32=y > +CONFIG_PWM_STM32_LP=y > CONFIG_PWM_SUN4I=y > CONFIG_PWM_TEGRA=y > CONFIG_PWM_VT8500=y >
On Thu, May 3, 2018 at 10:05 AM, Alexandre Torgue <alexandre.torgue@st.com> wrote: > Hi Fabrice, > > On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: >> >> This enables drivers for STM32 timer, low power timer and analog hardware >> that can be used on STM32MP1 SoC: >> - Timer & LP Timer MFD core, PWM, trigger & encoder drivers >> - IIO ADC/DAC/DFSDM >> - vrefbuf regu driver (voltage reference buffer). >> >> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> >> --- >> arch/arm/configs/multi_v7_defconfig | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> > > Applied on stm32-next. > > Arnd, > Do you agree if I take multi_v7_defconfig related patches in my stm32 pull > requests ? Yes, just make sure that all drivers that can reasonably be loadable modules are configured that way rather than as built-in, so a defconfig build doesn't become too big. Arnd
On 05/04/2018 12:12 AM, Arnd Bergmann wrote: > On Thu, May 3, 2018 at 10:05 AM, Alexandre Torgue > <alexandre.torgue@st.com> wrote: >> Hi Fabrice, >> >> On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: >>> >>> This enables drivers for STM32 timer, low power timer and analog hardware >>> that can be used on STM32MP1 SoC: >>> - Timer & LP Timer MFD core, PWM, trigger & encoder drivers >>> - IIO ADC/DAC/DFSDM >>> - vrefbuf regu driver (voltage reference buffer). >>> >>> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> >>> --- >>> arch/arm/configs/multi_v7_defconfig | 10 ++++++++++ >>> 1 file changed, 10 insertions(+) >>> >> >> Applied on stm32-next. >> >> Arnd, >> Do you agree if I take multi_v7_defconfig related patches in my stm32 pull >> requests ? > > Yes, just make sure that all drivers that can reasonably be loadable > modules are configured that way rather than as built-in, so a defconfig > build doesn't become too big. Ok. You're right, this drivers could be configured as module. We just need to verify impact before send it. Regards alex > > Arnd >
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index e6b3c96..40f5dd8 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -535,6 +535,7 @@ CONFIG_MFD_TPS65217=y CONFIG_MFD_TPS65218=y CONFIG_MFD_TPS6586X=y CONFIG_MFD_TPS65910=y +CONFIG_MFD_STM32_LPTIMER=y CONFIG_REGULATOR_ACT8945A=y CONFIG_REGULATOR_AB8500=y CONFIG_REGULATOR_ACT8865=y @@ -567,6 +568,7 @@ CONFIG_REGULATOR_QCOM_SMD_RPM=y CONFIG_REGULATOR_RN5T618=y CONFIG_REGULATOR_S2MPS11=y CONFIG_REGULATOR_S5M8767=y +CONFIG_REGULATOR_STM32_VREFBUF=y CONFIG_REGULATOR_TI_ABB=y CONFIG_REGULATOR_TPS51632=y CONFIG_REGULATOR_TPS62360=y @@ -935,13 +937,19 @@ CONFIG_AT91_SAMA5D2_ADC=m CONFIG_BERLIN2_ADC=m CONFIG_CPCAP_ADC=m CONFIG_EXYNOS_ADC=m +CONFIG_STM32_ADC_CORE=y +CONFIG_STM32_ADC=y +CONFIG_STM32_DFSDM_ADC=y CONFIG_VF610_ADC=m CONFIG_XILINX_XADC=y +CONFIG_STM32_LPTIMER_CNT=y +CONFIG_STM32_DAC=y CONFIG_MPU3050_I2C=y CONFIG_CM36651=m CONFIG_AK8975=y CONFIG_RASPBERRYPI_POWER=y CONFIG_IIO_HRTIMER_TRIGGER=y +CONFIG_IIO_STM32_LPTIMER_TRIGGER=y CONFIG_PWM=y CONFIG_PWM_ATMEL=m CONFIG_PWM_ATMEL_HLCDC_PWM=m @@ -951,6 +959,8 @@ CONFIG_PWM_RCAR=m CONFIG_PWM_RENESAS_TPU=y CONFIG_PWM_ROCKCHIP=m CONFIG_PWM_SAMSUNG=m +CONFIG_PWM_STM32=y +CONFIG_PWM_STM32_LP=y CONFIG_PWM_SUN4I=y CONFIG_PWM_TEGRA=y CONFIG_PWM_VT8500=y
This enables drivers for STM32 timer, low power timer and analog hardware that can be used on STM32MP1 SoC: - Timer & LP Timer MFD core, PWM, trigger & encoder drivers - IIO ADC/DAC/DFSDM - vrefbuf regu driver (voltage reference buffer). Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> --- arch/arm/configs/multi_v7_defconfig | 10 ++++++++++ 1 file changed, 10 insertions(+)