mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-08 00:01:05 +02:00
Now implement pwm_config() to support nanosecond parameters, which has better granularity in some situation, for example, if the number of backlight brightness levels is 256, using microseond parameters will only get nearly 50 levels. But Qualcomm platform should support 384 seconds pwm-period at most, the above standard API couldn't satisfy the requirement of the bigger period, so we also provide pwm_config_us() this such platform related API. CRs-Fixed: 545809 Change-Id: Ia3ea9904141f69c1f40a8619ba8d9fe891e3460a Signed-off-by: Xu Kai <kaixu@codeaurora.org>