From: Kim, Milo Date: Thu, 21 Mar 2013 00:37:00 +0000 (-0700) Subject: leds: lp55xx: use common clock framework when external clock is used X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~22^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53b4192266436e75dea96c8ef495eadd6f3df981;p=pandora-kernel.git 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 Signed-off-by: Bryan Wu --- Reading git-diff-tree failed