Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae5200d2 authored by Cooper Jr., Franklin's avatar Cooper Jr., Franklin Committed by Thierry Reding
Browse files

pwm: pwm-ti*: Get the clock from the PWMSS parent when using old bindings



When using the old eCAP and ePWM bindings for AM335x and AM437x the clock
can be retrieved from the PWMSS parent. Newer bindings will insure that
this clock is provided via device tree.

Therefore, update this driver to support the newer and older bindings. In
the case of the older binding being used give a warning.

Signed-off-by: default avatarFranklin S Cooper Jr <fcooper@ti.com>
[thierry.reding@gmail.com: rewrite slightly for readability]
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent e1aaf89a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment