Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753425Ab2H0HpR (ORCPT ); Mon, 27 Aug 2012 03:45:17 -0400 Received: from am1ehsobe005.messaging.microsoft.com ([213.199.154.208]:2940 "EHLO am1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752787Ab2H0HpI (ORCPT ); Mon, 27 Aug 2012 03:45:08 -0400 X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPV:NLI;H:mail.freescale.net;RD:none;EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zzzz1202h1082kzzz2dh2a8h668h839hd24he5bhf0ah107ah1155h) From: Dong Aisheng To: CC: , , , , , , , , , , , , Subject: [PATCH v2 0/7] add syscon driver based on regmap for general registers access Date: Mon, 27 Aug 2012 15:24:38 +0800 Message-ID: <1346052285-4344-1-git-send-email-b29396@freescale.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 Content-Type: text/plain X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2283 Lines: 46 This patch series mainly adds an syscon driver which is used to access general system controller registers like FSL IOMUXC GPR and ANATOP, after that, we convert all the exist private access general registers code to use standard API from regmap to access registers. Finally we remove the old mfd anatop driver which is only for anatop register access. The patch series is based on linus's tree 3.6-rc3 since commit 9160338. Dong Aisheng (7): mfd: add syscon driver based on regmap ARM: imx6q: add iomuxc gpr support into syscon ARM: imx6q: add anatop support into syscon regulator: anatop-regulator: convert to use syscon to access anatop register ARM: imx6q: convert to use syscon to access anatop registers ARM: dts: imx6q: add simple-bus compatible string for anatop mfd: anatop-mfd: remove anatop driver .../devicetree/bindings/mfd/imx-syscon.txt | 11 + arch/arm/boot/dts/imx6q.dtsi | 15 +- arch/arm/mach-imx/Kconfig | 2 +- arch/arm/mach-imx/mach-imx6q.c | 43 ++-- drivers/mfd/Kconfig | 13 +- drivers/mfd/Makefile | 2 +- drivers/mfd/anatop-mfd.c | 124 -------- drivers/mfd/syscon.c | 169 +++++++++++ drivers/regulator/Kconfig | 2 +- drivers/regulator/anatop-regulator.c | 25 +- include/linux/fsl/imx6q-iomuxc-gpr.h | 319 ++++++++++++++++++++ include/linux/mfd/anatop.h | 40 --- include/linux/mfd/syscon.h | 22 ++ 13 files changed, 576 insertions(+), 211 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/imx-syscon.txt delete mode 100644 drivers/mfd/anatop-mfd.c create mode 100644 drivers/mfd/syscon.c create mode 100644 include/linux/fsl/imx6q-iomuxc-gpr.h delete mode 100644 include/linux/mfd/anatop.h create mode 100644 include/linux/mfd/syscon.h -- 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/