OSDN Git Service

dt: lpc32xx: pwm: update documentation of LPC32xx PWM device
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 6 Dec 2015 11:31:58 +0000 (13:31 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Dec 2015 15:59:39 +0000 (16:59 +0100)
NXP LPC32xx SoC has two separate PWM controller devices, update device
tree binding documentation to reflect this fact.

The change makes previous PWM device node description incompatible
with the new version.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt

index 1ab1abc..74b5bc5 100644 (file)
@@ -8,5 +8,10 @@ Examples:
 
 pwm@4005c000 {
        compatible = "nxp,lpc3220-pwm";
-       reg = <0x4005c000 0x8>;
+       reg = <0x4005c000 0x4>;
+};
+
+pwm@4005c004 {
+       compatible = "nxp,lpc3220-pwm";
+       reg = <0x4005c004 0x4>;
 };