[v3,0/6] clocksource: timer-ti-dm: Prepare for dynamic pwm period updates
mbox series

Message ID 20200305082715.15861-1-lokeshvutla@ti.com
Headers show
Series
  • clocksource: timer-ti-dm: Prepare for dynamic pwm period updates
Related show

Message

Lokesh Vutla March 5, 2020, 8:27 a.m. UTC
This series fixes dm_timer_ops used for enabling the pwm and enables
cpu_pm notifier for context save and restore. This acts as a preparatory
series for enabling dynamic period updates for pwm omap dm timer driver.

Changes since v2:
- Incorporated changes from Tony

Changes since v1:
- Updated License header to use SPDX identifier
- Implemented cpu_pm notfier
- Added support for getting pwm current status
- Extended set_pwm functionality.

Lokesh Vutla (5):
  clocksource: timer-ti-dm: Convert to SPDX identifier
  clocksource: timer-ti-dm: Implement cpu_pm notifier for context save
    and restore
  clocksource: timer-ti-dm: Do not update counter on updating the period
  clocksource: timer-ti-dm: Add support to get pwm current status
  clocksource: timer-ti-dm: Enable autoreload in set_pwm

Tony Lindgren (1):
  clocksource: timer-ti-dm: Prepare for using cpuidle

 drivers/clocksource/timer-ti-dm.c          | 186 ++++++++++++---------
 drivers/pwm/pwm-omap-dmtimer.c             |   8 +-
 include/clocksource/timer-ti-dm.h          |   4 +-
 include/linux/platform_data/dmtimer-omap.h |   6 +-
 4 files changed, 121 insertions(+), 83 deletions(-)

Comments

Tony Lindgren March 6, 2020, 5:19 p.m. UTC | #1
* Lokesh Vutla <lokeshvutla@ti.com> [200305 08:29]:
> This series fixes dm_timer_ops used for enabling the pwm and enables
> cpu_pm notifier for context save and restore. This acts as a preparatory
> series for enabling dynamic period updates for pwm omap dm timer driver.
> 
> Changes since v2:
> - Incorporated changes from Tony

I just gave this series another try here and it still works
for me just fine and is good to go as far as I'm concerned.

Thanks for doing this.

Regards,

Tony
Daniel Lezcano March 12, 2020, 11:10 a.m. UTC | #2
On 06/03/2020 18:19, Tony Lindgren wrote:
> * Lokesh Vutla <lokeshvutla@ti.com> [200305 08:29]:
>> This series fixes dm_timer_ops used for enabling the pwm and enables
>> cpu_pm notifier for context save and restore. This acts as a preparatory
>> series for enabling dynamic period updates for pwm omap dm timer driver.
>>
>> Changes since v2:
>> - Incorporated changes from Tony
> 
> I just gave this series another try here and it still works
> for me just fine and is good to go as far as I'm concerned.

How do you want this series to be merged?

Shall I pick the patches falling under drivers/clocksource or ack them?

> Thanks for doing this.
> 
> Regards,
> 
> Tony
>
Tony Lindgren March 12, 2020, 5:26 p.m. UTC | #3
Hi,

* Daniel Lezcano <daniel.lezcano@linaro.org> [200312 11:11]:
> On 06/03/2020 18:19, Tony Lindgren wrote:
> > * Lokesh Vutla <lokeshvutla@ti.com> [200305 08:29]:
> >> This series fixes dm_timer_ops used for enabling the pwm and enables
> >> cpu_pm notifier for context save and restore. This acts as a preparatory
> >> series for enabling dynamic period updates for pwm omap dm timer driver.
> >>
> >> Changes since v2:
> >> - Incorporated changes from Tony
> > 
> > I just gave this series another try here and it still works
> > for me just fine and is good to go as far as I'm concerned.
> 
> How do you want this series to be merged?
> 
> Shall I pick the patches falling under drivers/clocksource or ack them?

I think best would be if you picked them and applied them into
an immutable branch against v5.6-rc1 that can also be merged
into pwm driver branch as needed.

Regards,

Tony
Daniel Lezcano March 16, 2020, 12:41 p.m. UTC | #4
Hi Tony,

On 12/03/2020 18:26, Tony Lindgren wrote:
> Hi,
> 
> * Daniel Lezcano <daniel.lezcano@linaro.org> [200312 11:11]:
>> On 06/03/2020 18:19, Tony Lindgren wrote:
>>> * Lokesh Vutla <lokeshvutla@ti.com> [200305 08:29]:
>>>> This series fixes dm_timer_ops used for enabling the pwm and enables
>>>> cpu_pm notifier for context save and restore. This acts as a preparatory
>>>> series for enabling dynamic period updates for pwm omap dm timer driver.
>>>>
>>>> Changes since v2:
>>>> - Incorporated changes from Tony
>>>
>>> I just gave this series another try here and it still works
>>> for me just fine and is good to go as far as I'm concerned.
>>
>> How do you want this series to be merged?
>>
>> Shall I pick the patches falling under drivers/clocksource or ack them?
> 
> I think best would be if you picked them and applied them into
> an immutable branch against v5.6-rc1 that can also be merged
> into pwm driver branch as needed.

Immutable branch based on v5.6-rc1:


https://git.linaro.org/people/dlezcano/linux.git/log/?h=timers/drivers/timer-ti-dm

and merged to timers/drivers/next:


https://git.linaro.org/people/dlezcano/linux.git/log/?h=timers/drivers/next

with a small conflict (fixed) with:


https://git.linaro.org/people/dlezcano/linux.git/commit/?h=timers/drivers/next&id=6ce4fcb015a1a1290ffafcf3554901b40f9322df

Regards

  -- Daniel