lkml.org 
[lkml]   [2021]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] pwm: Introduce single-PWM of_xlate function
    On Fri, Apr 23, 2021 at 4:30 PM Bjorn Andersson
    <bjorn.andersson@linaro.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@linaro.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

    \
     
     \ /
      Last update: 2021-04-23 23:39    [W:4.758 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site