projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9af667
)
rockchip: Setup default PWM flags
author
Simon Glass
<sjg@chromium.org>
Wed, 31 May 2017 23:57:25 +0000
(17:57 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 9 Jun 2017 19:39:34 +0000
(13:39 -0600)
At present if the
Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 874ee59 (rockchip: pwm: implement pwm_set_invert())
drivers/pwm/rk_pwm.c
patch
|
blob
|
history
diff --git
a/drivers/pwm/rk_pwm.c
b/drivers/pwm/rk_pwm.c
index 59eae0956e67b88b51f7d8f9849a56a0d5eb26f2..28de62d71611087ace2f188c85f4a57ec60f42f4 100644
(file)
--- a/
drivers/pwm/rk_pwm.c
+++ b/
drivers/pwm/rk_pwm.c
@@
-92,6
+92,7
@@
static int rk_pwm_probe(struct udevice *dev)
return -EINVAL;
}
priv->freq = clk_get_rate(&clk);
+ priv->enable_conf = PWM_DUTY_POSTIVE | PWM_INACTIVE_POSTIVE;
return 0;
}