Message ID | 20250224180150.3689638-8-fabrice.gasnier@foss.st.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Add STM32MP25 LPTIM support: MFD, PWM, IIO, counter, clocksource | expand |
On 24/02/2025 19:01, Fabrice Gasnier wrote: > Enable the STM32 timer drivers: MFD, counter, PWM and trigger as modules. > Clocksource is a bool, hence set to y. These drivers can be used on > STM32MP25. Which upstream board? If you do not have upstream board, the defconfig is pointless for us. It's not defconfig for your downstream forks. Best regards, Krzysztof
On 2/25/25 08:48, Krzysztof Kozlowski wrote: > On 24/02/2025 19:01, Fabrice Gasnier wrote: >> Enable the STM32 timer drivers: MFD, counter, PWM and trigger as modules. >> Clocksource is a bool, hence set to y. These drivers can be used on >> STM32MP25. > > > Which upstream board? If you do not have upstream board, the defconfig > is pointless for us. It's not defconfig for your downstream forks. Hi Krzysztof, It's going to be used on stm32mp257f-dk and stm32mp257f-ev1 boards. I can add the relevant DT for the(se) board(s) in next revision. Best regards, Fabrice > > > Best regards, > Krzysztof
On Tue, Feb 25, 2025 at 09:43:58AM +0100, Fabrice Gasnier wrote: > On 2/25/25 08:48, Krzysztof Kozlowski wrote: > > On 24/02/2025 19:01, Fabrice Gasnier wrote: > >> Enable the STM32 timer drivers: MFD, counter, PWM and trigger as modules. > >> Clocksource is a bool, hence set to y. These drivers can be used on > >> STM32MP25. > > > > > > Which upstream board? If you do not have upstream board, the defconfig > > is pointless for us. It's not defconfig for your downstream forks. > > Hi Krzysztof, > > It's going to be used on stm32mp257f-dk and stm32mp257f-ev1 boards. The defconfig commit should mention which upstream products use it. > I can add the relevant DT for the(se) board(s) in next revision. Does this mean there are no upstream users of this? Then this defconfig change is no-op. We do not add enable things in defconfig just because there is some downstream/fork using something. Defconfig is for our (upstream) boards. Best regards, Krzysztof
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 1f25423de383..952eee30f21c 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -775,6 +775,7 @@ CONFIG_MFD_TI_LP873X=m CONFIG_MFD_TPS65219=y CONFIG_MFD_TPS6594_I2C=m CONFIG_MFD_ROHM_BD718XX=y +CONFIG_MFD_STM32_LPTIMER=m CONFIG_MFD_WCD934X=m CONFIG_MFD_KHADAS_MCU=m CONFIG_REGULATOR_FIXED_VOLTAGE=y @@ -1401,6 +1402,7 @@ CONFIG_CLK_RENESAS_VBATTB=m CONFIG_HWSPINLOCK=y CONFIG_HWSPINLOCK_QCOM=y CONFIG_TEGRA186_TIMER=y +CONFIG_CLKSRC_STM32_LP=y CONFIG_RENESAS_OSTM=y CONFIG_ARM_MHU=y CONFIG_IMX_MBOX=y @@ -1526,6 +1528,7 @@ CONFIG_IIO_CROS_EC_LIGHT_PROX=m CONFIG_SENSORS_ISL29018=m CONFIG_VCNL4000=m CONFIG_IIO_ST_MAGN_3AXIS=m +CONFIG_IIO_STM32_LPTIMER_TRIGGER=m CONFIG_IIO_CROS_EC_BARO=m CONFIG_MPL3115=m CONFIG_PWM=y @@ -1543,6 +1546,7 @@ CONFIG_PWM_ROCKCHIP=y CONFIG_PWM_RZ_MTU3=m CONFIG_PWM_SAMSUNG=y CONFIG_PWM_SL28CPLD=m +CONFIG_PWM_STM32_LP=m CONFIG_PWM_SUN4I=m CONFIG_PWM_TEGRA=m CONFIG_PWM_TIECAP=m @@ -1682,6 +1686,7 @@ CONFIG_INTERCONNECT_QCOM_SM8750=y CONFIG_INTERCONNECT_QCOM_X1E80100=y CONFIG_COUNTER=m CONFIG_RZ_MTU3_CNT=m +CONFIG_STM32_LPTIMER_CNT=m CONFIG_HTE=y CONFIG_HTE_TEGRA194=y CONFIG_HTE_TEGRA194_TEST=m
Enable the STM32 timer drivers: MFD, counter, PWM and trigger as modules. Clocksource is a bool, hence set to y. These drivers can be used on STM32MP25. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> --- arch/arm64/configs/defconfig | 5 +++++ 1 file changed, 5 insertions(+)