]> git.baikalelectronics.ru Git - 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)
commit40b44786b5cf4fb260876c6acec54ccce7fefcb1
tree61c3cdab603e54bad043cc07d0815bdfb84f9ebe
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
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