linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add initial support for TTC PWM driver
@ 2025-01-15 11:35 Mubin Sayyed
  2025-01-15 11:35 ` [PATCH v4 1/3] clocksource: timer-cadence-ttc: Prepare to support TTC PWM Mubin Sayyed
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mubin Sayyed @ 2025-01-15 11:35 UTC (permalink / raw)
  To: krzysztof.kozlowski+dt, daniel.lezcano, tglx, michal.simek,
	ukleinek
  Cc: linux-arm-kernel, linux-kernel, linux-pwm, git, Mubin Sayyed

Adds initial TTC PWM driver.In case of TTC configured as PWM device,
TTC clocksource driver calls probe of PWM functionality and registers TTC
device with PWM framework.  With these changes drivers/pwm/pwm-cadence.c would be 
part of drivers/clocksource/timer-cadence-ttc.c driver.

link for v2:
 https://lore.kernel.org/linux-arm-kernel/20231114124748.581850-2-mubin.sayyed@amd.com/T/#mfb786b5d23fc8948375b9b570f02a0e5a8095095

Note: Bindings are merged as part of v3 
 https://lore.kernel.org/lkml/46630fa5-381a-4006-ade4-2c18e76331ff@linaro.org/T/
 
Mubin Sayyed (3):
  clocksource: timer-cadence-ttc: Prepare to support TTC PWM
  clocksource: timer-cadence-ttc: Support TTC device configured as PWM
  pwm: pwm-cadence: Add support for TTC PWM

 drivers/clocksource/timer-cadence-ttc.c |  62 +++--
 drivers/pwm/Kconfig                     |  10 +
 drivers/pwm/Makefile                    |   1 +
 drivers/pwm/pwm-cadence.c               | 323 ++++++++++++++++++++++++
 include/linux/timer-cadence-ttc.h       |  55 ++++
 5 files changed, 423 insertions(+), 28 deletions(-)
 create mode 100644 drivers/pwm/pwm-cadence.c
 create mode 100644 include/linux/timer-cadence-ttc.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-07-09  7:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-15 11:35 [PATCH v4 0/3] Add initial support for TTC PWM driver Mubin Sayyed
2025-01-15 11:35 ` [PATCH v4 1/3] clocksource: timer-cadence-ttc: Prepare to support TTC PWM Mubin Sayyed
2025-01-15 11:35 ` [PATCH v4 2/3] clocksource: timer-cadence-ttc: Support TTC device configured as PWM Mubin Sayyed
2025-03-24 11:40   ` Uwe Kleine-König
2025-06-20 10:23     ` Rao, Appana Durga Kedareswara
2025-06-20 12:09     ` Rao, Appana Durga Kedareswara
2025-07-09  6:51       ` Rao, Appana Durga Kedareswara
2025-07-09  7:26         ` Krzysztof Kozlowski
2025-01-15 11:35 ` [PATCH v4 3/3] pwm: pwm-cadence: Add support for TTC PWM Mubin Sayyed
2025-03-24 11:29   ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).