d-by: Andy Shevchenko
Signed-off-by: Weike Chen
Signed-off-by: Raymond Tan
---
drivers/mfd/Kconfig| 12 ++
drivers/mfd/Makefile |1 +
drivers/mfd/intel_quark_i2c_gpio.c | 277
3 files changed, 290 insertions(+)
create m
t
Changes in v2:
* Fix possible memory leak
Raymond Tan (1):
mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver
drivers/mfd/Kconfig| 12 ++
drivers/mfd/Makefile |1 +
drivers/mfd/intel_quark_i2c_gpio.c | 277 +
Changes in v3:
* Simplify the call path for both gpio and i2c controllers initialization
* Move the global variables clk and clk_lookup into a struct
Changes in v2:
* Fix possible memory leak
Raymond Tan (1):
mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver
drivers/m
-by: Weike Chen
Signed-off-by: Raymond Tan
---
drivers/mfd/Kconfig| 12 ++
drivers/mfd/Makefile |1 +
drivers/mfd/intel_quark_i2c_gpio.c | 279
3 files changed, 292 insertions(+)
create mode 100644 drivers/mfd/intel_quark_
-by: Weike Chen
Signed-off-by: Raymond Tan
---
drivers/mfd/Kconfig| 11 ++
drivers/mfd/Makefile |1 +
drivers/mfd/intel_quark_i2c_gpio.c | 298
3 files changed, 310 insertions(+)
create mode 100644 drivers/mfd/intel_quark_
Changes in v2:
* Fix possible memory leak
Raymond Tan (1):
mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver
drivers/mfd/Kconfig| 11 ++
drivers/mfd/Makefile |1 +
drivers/mfd/intel_quark_i2c_gpio.c | 298 +++
ve(struct pci_dev *pdev)
+{
+ intel_quark_unregister_i2c_clk();
+ mfd_remove_devices(&pdev->dev);
+}
+
+static struct pci_driver intel_quark_mfd_driver = {
+ .name = "intel_quark_mfd_i2c_gpio",
+ .id_table = intel_quark_mfd_ids,
+ .p
From: "Tan, Raymond"
Hi,
This patch is for enabling support of Intel Quark X1000 I2C controller and
GPIO controller. In Quark X1000, the platform exports a single PCI device
with both I2C and GPIO functions.
This MFD driver will split the 2 devices for their respective drivers.
Raym
From: "Tan, Raymond"
Use the platform data to set the clk_freq when there is no DT configuration
available. The clk_freq in turn will determine the I2C speed mode.
In Quark, there is currently no other configuration mechanism other than
board files.
Signed-off-by: Raymond Tan
R
From: "Tan, Raymond"
Hi,
This patch is for enabling support of Intel Quark X1000 i2c controller. The
Quark designware i2c controller is registered as a MFD device, and Quark
exports a single PCI device with both I2C and GPIO functions.
In Quark, there is currently no other configuration mechanis
10 matches
Mail list logo