[COMMON] pwm: pwm-samsung: Initialize PWM Divider, Prescaler.
authorChoi Jaehyoung <jkkkkk.choi@samsung.com>
Tue, 25 Jul 2017 11:17:40 +0000 (20:17 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Wed, 9 May 2018 11:27:49 +0000 (20:27 +0900)
commit079d95b7c67be611a732decdea72995c1b2ba039
tree3b7764bb35e4a67b53540b0394f9098b991967f1
parent46e1dbade9517ed2e0b68c7ea3ff551ba1a1903f
[COMMON] pwm: pwm-samsung: Initialize PWM Divider, Prescaler.

The reason for initializing PWM Divider and Prescaler is as follows.

- In the past, init function in clk-exynos-pwm.c initialized
Divider and Prescaler, but no longer uses the clk-exynos-pwm.c file.
Therefore, they must be initialized at the time of kernel probe.

- The current bootloader sets the Divider and Prescaler values to use PWM.
After the bootloader finishes, they must be initizlized in kernel.

Change-Id: I9bd0f8e869209380153582bb28a759892ff06ca2
Signed-off-by: Choi Jaehyoung <jkkkkk.choi@samsung.com>
drivers/pwm/pwm-samsung.c