Skip to content

mfd: stm32-timers: Make register definition more flexible

Uwe Kleine-König linux-arm-kernel linux-iio linux-pwm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 12 repliesIn review
  2. v14 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mfd: stm32-timers: Unify alignment of register definitioninclude/linux/mfd/stm32-timers.h+85 -850 replies
2/5mfd: stm32-timers: Add some register definitions with a parameterinclude/linux/mfd/stm32-timers.h+35 -250 replies
3/5counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x)drivers/counter/stm32-timer-cnt.c+2 -28 replies
4/5mfd: stm32-timers: Drop unused TIM_DIER_CC_IEinclude/linux/mfd/stm32-timers.h+0 -10 replies
5/5pwm-stm32: Make use of parametrised register definitionsdrivers/pwm/pwm-stm32.c+11 -110 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchWilliam Breathitt Gray
1/5
2/5
3/5A-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] mfd: stm32-timers: Make register definition more flexible

Hello,

(implicit) v1 is available at
https://lore.kernel.org/lkml/[email protected]
.

Changes introduced here:

- Split the patch removing TIM_DIER_CC_IE() and use appropriate subject prefixes. Lee and William didn't like the patch touching both include/linux/mfd/stm32-timers.h and drivers/counter/stm32-timer-cnt.c not having a hint to the counter subsystem (at least that's my interpretation of their feedback). Not mentioning mfd didn't seem to be considerably better in my eyes, so I split this patch.
- Fix typo noticed by Thorsten.
- Update subject prefix of the last patch to match what is usually done for pwm.

I have some further updates to the pwm-stm32 driver that will probably go in before v6.10-rc1. They shouldn't conflict, still I'd prefer to let the pwm patch go in via my tree as I might have some further changes for that driver. So if this is merged using the mfd or counter tree, please skip the pwm patch. A stable branch would be welcome in this case.

Best regards
Uwe

Uwe Kleine-König (5):
mfd: stm32-timers: Unify alignment of register definition
mfd: stm32-timers: Add some register definitions with a parameter
counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of
TIM_DIER_CCxIE(x)
mfd: stm32-timers: Drop unused TIM_DIER_CC_IE
pwm: stm32: Make use of parametrised register definitions

 drivers/counter/stm32-timer-cnt.c |   4 +-
 drivers/pwm/pwm-stm32.c           |  22 ++--
 include/linux/mfd/stm32-timers.h  | 179 ++++++++++++++++--------------
 3 files changed, 107 insertions(+), 98 deletions(-)

base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0

Signature · 1 line
2.43.0