diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2013-03-21 04:37:00 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-04-01 22:04:53 +0400 |
commit | 53b4192266436e75dea96c8ef495eadd6f3df981 (patch) | |
tree | 447691adbf313b8e58811118a43c9b76008d58d2 /drivers/leds/leds-lp5521.c | |
parent | 3de1929ba61df87a0561c4f1fb7161c401fe3d04 (diff) | |
download | linux-53b4192266436e75dea96c8ef495eadd6f3df981.tar.xz |
leds: lp55xx: use common clock framework when external clock is used
Program execution is timed with 32768Hz clock in the LP55xx family devices.
To run LED functionalities, LP55xx devices provide two options.
One is using internal clock. The other is using external clock.
This patch enables external clock detection automatically.
If external clock is not detected, then the internal clock will be used in the
LP55xx driver.
Valid clock rate is 32768Hz in LP55xx devices.
This new API is used in each LP55xx driver like LP5521 and LP5562.
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lp5521.c')
0 files changed, 0 insertions, 0 deletions