From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932589AbbBBC6M (ORCPT ); Sun, 1 Feb 2015 21:58:12 -0500 Received: from mga09.intel.com ([134.134.136.24]:6682 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754644AbbBBC6J (ORCPT ); Sun, 1 Feb 2015 21:58:09 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,504,1418112000"; d="scan'208";a="679472215" From: Raymond Tan To: Lee Jones , Mike Turquette , Samuel Ortiz Cc: linux-kernel@vger.kernel.org, Alvin Chen , Andriy Shevchenko , Raymond Tan Subject: [PATCH v4 0/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver Date: Mon, 2 Feb 2015 10:52:50 +0800 Message-Id: <1422845571-7616-1-git-send-email-raymond.tan@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. --- Changes in v4: * Modify the formatting and alignment of source lines * Change variable name retval to ret to be consistent with the rest of the kernel 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/mfd/Kconfig | 12 ++ drivers/mfd/Makefile | 1 + drivers/mfd/intel_quark_i2c_gpio.c | 277 ++++++++++++++++++++++++++++++++++++ 3 files changed, 290 insertions(+) create mode 100644 drivers/mfd/intel_quark_i2c_gpio.c -- 1.7.9.5