Skip to content
Commit 0b60111a authored by Kever Yang's avatar Kever Yang Committed by Simon Glass
Browse files

power: regulator: pwm: support pwm polarity setting



The latest kernel PWM drivers enable the polarity settings. When system
run from U-Boot to kerenl, if there are differences in polarity set or
duty cycle, the PMW will re-init:
  close -> set polarity and duty cycle -> enable the PWM.
The power supply controled by pwm regulator may have voltage shaking,
which lead to the system not stable.

Signed-off-by: default avatarElaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: default avatarKever Yang <kever.yang@rock-chips.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent a6672683
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment