• Philip, Avinash's avatar
    pwm: tiecap: Add device-tree binding · 333b08ee
    Philip, Avinash authored
    This patch
    1. Add support for device-tree binding for ECAP APWM driver.
    2. Set size of pwm-cells set to 3 to support PWM channel number, PWM
       period & polarity configuration from device tree.
    3. Add enable/disable clock gating in PWM subsystem common config space.
    4. When here set .owner member in platform_driver structure to
       THIS_MODULE.
    Signed-off-by: default avatarPhilip, Avinash <avinashphilip@ti.com>
    Cc: Grant Likely <grant.likely@secretlab.ca>
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: Rob Landley <rob@landley.net>
    Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
    333b08ee
pwm-tiecap.txt 792 Bytes