[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250115113556.2832282-1-mubin.sayyed@amd.com>
Date: Wed, 15 Jan 2025 17:05:53 +0530
From: Mubin Sayyed <mubin.sayyed@....com>
To: <krzysztof.kozlowski+dt@...aro.org>, <daniel.lezcano@...aro.org>,
<tglx@...utronix.de>, <michal.simek@....com>, <ukleinek@...nel.org>
CC: <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-pwm@...r.kernel.org>, <git@....com>, Mubin Sayyed
<mubin.sayyed@....com>
Subject: [PATCH v4 0/3] Add initial support for TTC PWM driver
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
Powered by blists - more mailing lists