2020-02-24 05:24:54

by Lokesh Vutla

[permalink] [raw]
Subject: [PATCH 0/4] pwm: omap-dmtimer: Allow for dynamic pwm period updates

This series fixes minor issues in config callback and allows for on the
fly updates for pwm period and duty cycle. This is mainly intended to
allow pwm omap dmtimer to be used to generate a 1PPS signal that can be
syncronized to PTP clock in CPTS module in AM335x and AM57xx SoCs.

Series tested after applying the following series:
- https://patchwork.kernel.org/patch/11379875/
- https://patchwork.kernel.org/project/linux-omap/list/?series=246183

Full dependencies can be seen here:
https://github.com/lokeshvutla/linux/tree/devel/pwm-1pps-generation

Lokesh Vutla (4):
pwm: omap-dmtimer: Drop unused header file
pwm: omap-dmtimer: Fix pwm enabling sequence
pwm: omap-dmtimer: Do not disable pwm before changing
period/duty_cycle
pwm: omap-dmtimer: Implement .apply callback

drivers/pwm/pwm-omap-dmtimer.c | 163 +++++++++---------
include/clocksource/timer-ti-dm.h | 3 +-
.../linux/platform_data/pwm_omap_dmtimer.h | 90 ----------
3 files changed, 84 insertions(+), 172 deletions(-)
delete mode 100644 include/linux/platform_data/pwm_omap_dmtimer.h

--
2.23.0


2020-02-26 17:58:38

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH 0/4] pwm: omap-dmtimer: Allow for dynamic pwm period updates

* Lokesh Vutla <[email protected]> [200224 05:23]:
> This series fixes minor issues in config callback and allows for on the
> fly updates for pwm period and duty cycle. This is mainly intended to
> allow pwm omap dmtimer to be used to generate a 1PPS signal that can be
> syncronized to PTP clock in CPTS module in AM335x and AM57xx SoCs.
>
> Series tested after applying the following series:
> - https://patchwork.kernel.org/patch/11379875/
> - https://patchwork.kernel.org/project/linux-omap/list/?series=246183
>
> Full dependencies can be seen here:
> https://github.com/lokeshvutla/linux/tree/devel/pwm-1pps-generation
>
> Lokesh Vutla (4):
> pwm: omap-dmtimer: Drop unused header file
> pwm: omap-dmtimer: Fix pwm enabling sequence
> pwm: omap-dmtimer: Do not disable pwm before changing
> period/duty_cycle
> pwm: omap-dmtimer: Implement .apply callback

FYI, things seem to work for me after this set, but as it looks like
there will be v2 set of patches I want to test again with v2 out
before any Tested-by.

Thanks,

Tony