projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89870e4
)
galileo-rev-d: Add PWM properties on IO3
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Tue, 6 May 2014 13:54:10 +0000
(14:54 +0100)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Tue, 6 May 2014 14:33:45 +0000
(15:33 +0100)
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/intel_galileo_rev_d.c
patch
|
blob
|
history
diff --git
a/src/intel_galileo_rev_d.c
b/src/intel_galileo_rev_d.c
index
ef7aa86
..
7ff6207
100644
(file)
--- a/
src/intel_galileo_rev_d.c
+++ b/
src/intel_galileo_rev_d.c
@@
-73,6
+73,12
@@
maa_intel_galileo_rev_d()
b->pins[3].fast_gpio.mux_total = 1;
b->pins[3].fast_gpio.mux[0].pin = 30;
b->pins[3].fast_gpio.mux[0].value = 0;
+ b->pins[3].pwm.pinmap = 3;
+ b->pins[3].pwm.parent_id = 0;
+ b->pins[3].pwm.mux_total = 1;
+ b->pins[3].pwm.mux[0].pin = 30;
+ b->pins[3].pwm.mux[0].value = 1;
+
strncpy(b->pins[4].name, "IO4", 8);
b->pins[4].capabilites = (maa_pincapabilities_t) {1,1,0,0,0,0,0};