]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
pwm: imx-pwm: add explicit compatible strings and required clock properties
authorMatt Porter <mporter@konsulko.com>
Mon, 9 Mar 2015 13:24:21 +0000 (09:24 -0400)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 11 Mar 2015 08:47:50 +0000 (09:47 +0100)
commit67d7bc487075a0155a6d6d477f266b5bb370a238
tree61c3cdab603e54bad043cc07d0815bdfb84f9ebe
parentc517d838eb7d07bbe9507871fab3931deccff539
pwm: imx-pwm: add explicit compatible strings and required clock properties

The imx-pwm binding contains language indicating compatible strings to
be used that is not valid for all supported parts e.g. Should be
"fsl,<soc>-pwm". Fix this by enumerating the valid compatible strings
that represent the two versions of this peripheral in use.

The binding is also missing the clocks/clock-names properties so
document these, the two required ipg and per clocks, and add these
properties to the example.

Signed-off-by: Matt Porter <mporter@konsulko.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/imx-pwm.txt