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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment