summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/intel_quark_i2c_gpio.c
AgeCommit message (Collapse)Author
2015-03-30mfd: intel_quark_i2c_gpio: Don't crash if !DMIAndy Shevchenko
dmi_get_system_info() may return NULL either when CONFIG_DMI is not set or when board has an old firmware. The patch prevents a crash and changes the default frequency to be in align with older board. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> [Lee: Removed overt "sentinel" comment and extra lines] Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-03-12mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD DriverRaymond Tan
In Quark X1000, there's a single PCI device that provides both an I2C controller and a GPIO controller. This MFD driver will split the 2 devices for their respective drivers. This patch is based on Josef Ahmad's initial work for Quark enabling. Acked-by: Michael Turquette <mturquette@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Weike Chen <alvin.chen@intel.com> Signed-off-by: Raymond Tan <raymond.tan@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>