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

2021-09-24 Thread Bjorn Andersson
On Fri 24 Sep 00:16 PDT 2021, Uwe Kleine-K?nig wrote: > On Thu, Sep 23, 2021 at 09:12:24PM -0500, 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 v5 1/2] pwm: Introduce single-PWM of_xlate function

2021-09-24 Thread Uwe Kleine-König
On Thu, Sep 23, 2021 at 09:12:24PM -0500, 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. > >

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

2021-09-23 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