aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/intel_quark_i2c_gpio.c
AgeCommit message (Collapse)AuthorFilesLines
2015-03-30mfd: intel_quark_i2c_gpio: Don't crash if !DMIAndy Shevchenko1-8/+13
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 <[email protected]> [Lee: Removed overt "sentinel" comment and extra lines] Signed-off-by: Lee Jones <[email protected]>
2015-03-12mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD DriverRaymond Tan1-0/+277
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Weike Chen <[email protected]> Signed-off-by: Raymond Tan <[email protected]> Signed-off-by: Lee Jones <[email protected]>