Searched hist:"3 ab7b6ac5d829e60c3b89d415811ff1c9f358c8e" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/pwm/ |
H A D | pwm-pxa.c | diff 3ab7b6ac5d829e60c3b89d415811ff1c9f358c8e Mon Oct 25 12:09:23 CDT 2021 Bjorn Andersson <bjorn.andersson@linaro.org> 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
|
H A D | core.c | diff 3ab7b6ac5d829e60c3b89d415811ff1c9f358c8e Mon Oct 25 12:09:23 CDT 2021 Bjorn Andersson <bjorn.andersson@linaro.org> 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
|
/openbmc/linux/include/linux/ |
H A D | pwm.h | diff 3ab7b6ac5d829e60c3b89d415811ff1c9f358c8e Mon Oct 25 12:09:23 CDT 2021 Bjorn Andersson <bjorn.andersson@linaro.org> 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
|