Re: [PATCH v6 1/3] pwm: Introduce single-PWM of_xlate function

2021-10-25 Thread Uwe Kleine-König
On Wed, Sep 29, 2021 at 10:05:55PM -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. > >

Re: [PATCH v6 1/3] pwm: Introduce single-PWM of_xlate function

2021-09-30 Thread Steev Klimaszewski
On 9/29/21 10:05 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. > > Introduce a common h

[PATCH v6 1/3] pwm: Introduce single-PWM of_xlate function

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