diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-10-25 10:09:23 -0700 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2021-10-27 17:02:33 +0200 |
commit | 3ab7b6ac5d829e60c3b89d415811ff1c9f358c8e (patch) | |
tree | 74d922d811a868dac6cc67c92a3e038920089354 /net | |
parent | 086b90c76fc18246b03aaf728d2f30a1a018a1b4 (diff) | |
download | linux-3ab7b6ac5d829e60c3b89d415811ff1c9f358c8e.tar.gz |
pwm: Introduce single-PWM of_xlate function
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>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Steev Klimaszewski <steev@kali.org>
Tested-By: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025170925.3096444-1-bjorn.andersson@linaro.org
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions