pwm: pwm-tiecap: Add device-tree binding support for da850 SOC

ECAP IP is used in da850 SOC's also. Hence adds ECAP device tree binding
support for da850.

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

EHRPWM IP is used in da850 SOC's also. Hence adds EHRPWM device tree
binding support for da850.

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Rob Landley <rob@landley.net>
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 dummy clock for EHRWPM TBCLK to comply with pwm-tiehrpwm
driver.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

da850 platforms require TBCLK synchronization in CFG_CHIP1 register for
TBCLK enable in EHRPWM modules. Enabling of TBCLK is done only if EHRPWM
DT node status is set to "okay" DT blob.
Also adds macro definitions for DA8XX_EHRPWM_TBCLKSYNC and
DA8XX_CFGCHIP1_REG.

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>