Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753009AbbGXFko (ORCPT ); Fri, 24 Jul 2015 01:40:44 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45609 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750990AbbGXFkl (ORCPT ); Fri, 24 Jul 2015 01:40:41 -0400 X-Listener-Flag: 11101 From: Henry Chen To: Mark Brown CC: Liam Girdwood , Matthias Brugger , Mark Rutland , Sascha Hauer , , , , , Subject: [PATCH v4] regulator: mt6311: Add support for MT6311 regulator Date: Fri, 24 Jul 2015 13:24:39 +0800 Message-ID: <1437715481-31528-1-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1692 Lines: 39 This patch set adds support for the MediaTek PMIC mt6311 regulator driver, which adds mt6311 related buck/ldo voltage data to the driver, and creates the regulator_desc table. Changes in v4: - Removed the unnscessary check before return on mt6311_i2c_probe(). - Change the label on mt6311-regulator.txt. Changes in v3: - Removed the struct mt6311 since the members of mt6311 were not be necessary. Changes in v2: - Re-ordered the sequence of makefile and Kconfig. - Specifying the regulator DT bindings by providing of_match and regulators_node in the regulator_desc and delete the DT handling code. Henry Chen (2): dt-bindings: regulator: mt6311: Add document for mt6311 regulator regulator: mt6311: Add support for mt6311 regulator .../bindings/regulator/mt6311-regulator.txt | 35 ++++ drivers/regulator/Kconfig | 9 ++ drivers/regulator/Makefile | 1 + drivers/regulator/mt6311-regulator.c | 180 +++++++++++++++++++++ drivers/regulator/mt6311-regulator.h | 65 ++++++++ include/linux/regulator/mt6311.h | 29 ++++ 6 files changed, 319 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mt6311-regulator.txt create mode 100644 drivers/regulator/mt6311-regulator.c create mode 100644 drivers/regulator/mt6311-regulator.h create mode 100644 include/linux/regulator/mt6311.h -- 1.8.1.1.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/