pwm: pwm-tiecap: Update device-tree binding document

Update binding document of pwm-tiecap to reflect the usage of similar
modules in da850 and am3xx SOCs.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Rob Landley <rob@landley.net>
pwm: pwm-tiehrpwm: Update device-tree binding document

Update binding document of pwm-tiehrpwm to reflect the usage of similar
modules in da850 and am3xx SOCs.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Rob Landley <rob@landley.net>
ARM: davinci: clk framework support for enable/disable functionality

Davinci clock framework currently not supporting clock enable/disable
functionality on clock nodes. In Davinci platform, EHRPWM module requires
support for clock enable/disable for TBCLK support. Hence this patch
adds support for enabling/disabling clocks depends on the availability
of the functionality.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
arm: davinci: clock node support for ECAP & EHRPWM

Add clock node support for ECAP and EHRPWM modules.
Also adds TBCLK for EHRWPM TBCLK to comply with pwm-tiehrpwm
driver.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
ARM: davinci: da850: add EHRPWM & ECAP DT node

Add da850 EHRPWM & ECAP DT node.
Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP
clock.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
ARM: davinci: da850 evm: Backlight support for EHRPWM (Testing)

NOTE: Patch is only for testing as it might conflict pins with SPI.
TODO: Handling of conflicting pin issues with SPI & EHRPWM

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
pwm: pwm-test: Driver support for PWM module testing

As with new PWM framework, PWM functionality is completely controlled by
client drivers. But sometimes it causes issues for testing the PWM
features. So here proposing a pwm-test client driver for testing PWM
functionality. pwm-test driver exposes sysfs entries such as
request, period, duty, config, run, polarity for configuring PWM device.
As the pwm-test driver obligated to PWM framework, this can be used for
testing any PWM hardware.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
ARM: Davinci: da850: PWM test support for PWM devices (ECAP & EHRPWM)

Davinci EVM exposes EHRPWM 1.b and ECAP 1 pin outputs. Hence adding
support for pwm_test interface for these peripherals.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Revert "ARM: Davinci: da850: PWM test support for PWM devices (ECAP & EHRPWM)"

This reverts commit a0ebb18cd9c23e1a88d4c7dd8dc79b7c89fdef09.
ARM : davinci: da850: Set uart frequency to 132MHZ

Signed-off-by: Philip Avinash <avinashphilip@ti.com>