[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOCOHw7zFSmAJKoJcbJtQLx0hVj2g-jJAHKUuP+t=NkdNPtDiw@mail.gmail.com>
Date: Fri, 23 Apr 2021 16:37:46 -0500
From: Bjorn Andersson <bjorn.andersson@...aro.org>
To: Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, Lee Jones <lee.jones@...aro.org>
Cc: linux-pwm@...r.kernel.org, lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pwm: Introduce single-PWM of_xlate function
On Fri, Apr 23, 2021 at 4:30 PM Bjorn Andersson
<bjorn.andersson@...aro.org> 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 helper function in the core that can be used as
> of_xlate by such drivers and migrate the pxa driver to use this.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@...aro.org>
> ---
> drivers/pwm/core.c | 24 ++++++++++++++++++++++++
> drivers/pwm/pwm-pxa.c | 16 +---------------
> 2 files changed, 25 insertions(+), 15 deletions(-)
Please disregard this (v1), I apparently left the include file change
in the index and didn't see this until I had posted the patch. This is
corrected in v2.
Regards,
Bjorn
Powered by blists - more mailing lists