Re: [PATCH v4 1/2] pwm: Introduce single-PWM of_xlate function

2021-06-23 Thread Bjorn Andersson
On Wed 23 Jun 17:19 CDT 2021, Doug Anderson wrote: > Hi, > > On Tue, Jun 22, 2021 at 8:28 PM Bjorn Andersson > wrote: > > > > The existing pxa driver and the upcoming addition of PWM support in the > > TI sn565dsi86 DSI/eDP bridge driver both has a single PWM channel and > > thereby a need for a

Re: [PATCH v4 1/2] pwm: Introduce single-PWM of_xlate function

2021-06-23 Thread Doug Anderson
Hi, On Tue, Jun 22, 2021 at 8:28 PM Bjorn Andersson wrote: > > The existing pxa driver and the upcoming addition of PWM support in the > TI sn565dsi86 DSI/eDP bridge driver both has a single PWM channel and > thereby a need for a of_xlate function with the period as its single > argument. > > Int

[PATCH v4 1/2] pwm: Introduce single-PWM of_xlate function

2021-06-22 Thread Bjorn Andersson
The existing pxa driver and the upcoming addition of PWM support in the TI sn565dsi86 DSI/eDP bridge driver both has a single PWM channel and thereby a need for a of_xlate function with the period as its single argument. Introduce a common helper function in the core that can be used as of_xlate b