Exynos: clock: Correct pwm source clk selection
authorPadmavathi Venna <padma.v@samsung.com>
Thu, 28 Mar 2013 04:32:22 +0000 (04:32 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 1 Apr 2013 05:02:08 +0000 (14:02 +0900)
MPLL is selected as the source clk of pwm by default

Test with command "sf probe 1:0; time sf read 40008000 0 1000".
Try with different numbers of bytes and see that sane values are obtained
Build and boot U-boot with this patch, backlight works properly.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdk5250/setup.h

index a159601..34d8bc3 100644 (file)
 #define TOP2_VAL               0x0110000
 
 /* CLK_SRC_PERIC0 */
-#define PWM_SEL                0
+#define PWM_SEL                6
 #define UART3_SEL      6
 #define UART2_SEL      6
 #define UART1_SEL      6