intel_galileo_rev_d.c: change magic number to macro in header

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
gen2: add basic galileo gen2 detection

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
intel galile rev g: change name from gen2 to revg

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
maa: add support for enabling pins and pulldowns

* Not Complete

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
intel_galileo_rev_g: Complete initial pinmap

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
I2c-compass.cpp: fix example to use HMC5883L_CONT_MODE

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
maa: change dependency on direction for muxs

* Will not error if cannot set direction, as some muxes are do not have
* the direction file. If the mux really isnt in output mode the
* following write would also fail.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
gpio: Added args param to maa_gpio_isr and added documentation

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
gpio: no printing to stderr on direction change.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
intel_galile_rev_g: pinmap add definition for io.

* PWM working
* SPI working

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Merge branch 'gen2'
pwm: disable pwm before unexporting

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
maa: update to 0.3.1

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>