mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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 <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Tested-by: Steev Klimaszewski <[email protected]> Tested-By: Steev Klimaszewski <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]