From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754723AbaBKTdV (ORCPT ); Tue, 11 Feb 2014 14:33:21 -0500 Received: from kolab.o2s.ch ([77.109.136.180]:60078 "EHLO kolab.o2s.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753344AbaBKTdS (ORCPT ); Tue, 11 Feb 2014 14:33:18 -0500 Subject: [PATCH v5 0/8] ARM: sunxi: Add driver for SD/MMC hosts found on allwinner sunxi SOCs To: devicetree@vger.kernel.org, Ulf Hansson , Laurent Pinchart , Mike Turquette , Simon Baatz , Hans de Goede , Emilio =?utf-8?b?TMOzcGV6?= , linux-mmc@vger.kernel.org, Chris Ball , linux-kernel@vger.kernel.org, H Hartley Sweeten , linux-sunxi@googlegroups.com, Tejun Heo , Maxime Ripard , Guennadi Liakhovetski , linux-arm-kernel@lists.infradead.org From: David =?utf-8?q?Lanzend=C3=B6rfer?= Date: Tue, 11 Feb 2014 20:33:06 +0100 Message-ID: <20140211190543.4568.83517.stgit@dizzy-6.o2s.ch> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello The following patchset adds support for the SD/MMC host found in the Allwinner SoCs. It contains all the necessary modifications for clock environment and also the device tree script modification which add it to all the boards using it. The clock environment function needed for phase offset configuration has been proposed and implemented by Emilio. A lot of work and cleanup has been done by Hans de Goede. Special thanks to him! This patchset is the 4th attempt to send this driver upstream. Changes since v1: -Using mmc_of_parse instead of diy dt parsing -Adding nodes for all mmc controller to the dtsi files, including sofar unused controllers -Using generic GPIO slot library for WP/CD -Adding additional MMC device nodes into DTSI files Changes since v2: -Add missing Signed-off-by tags -Stop using __raw_readl / __raw_writel so that barriers are properly used -Adding missing new lines -Adding missing patch for automatic reparenting of clocks Changes since v3: -Move clk_enable / disable into host_init / exit (Hans) -Fix hang on boot caused by irq storm (Hans) Changes since v4: -moving sunxi-mci.{c/h} to sunxi-mmc.{c/h} -removing camel cases from the defines in sunxi-mmc.h -moving defines out of the struct definition since this is bad coding style -adding documentation for the device tree binding --- David Lanzendörfer (5): ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs ARM: dts: sun7i: Add support for mmc ARM: dts: sun4i: Add support for mmc ARM: dts: sun5i: Add support for mmc ARM: sunxi: Add documentation for driver for SD/MMC hosts found on Allwinner sunxi SoCs Emilio López (2): clk: sunxi: factors: automatic reparenting support clk: sunxi: Implement MMC phase control Hans de Goede (1): ARM: sunxi: clk: export clk_sunxi_mmc_phase_control .../devicetree/bindings/mmc/sunxi-mmc.txt | 32 + arch/arm/boot/dts/sun4i-a10-a1000.dts | 8 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 8 arch/arm/boot/dts/sun4i-a10.dtsi | 54 + arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 30 + arch/arm/boot/dts/sun5i-a10s.dtsi | 44 + arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 15 arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 15 arch/arm/boot/dts/sun5i-a13.dtsi | 37 + arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 8 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 8 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 23 + arch/arm/boot/dts/sun7i-a20.dtsi | 61 + drivers/clk/sunxi/clk-factors.c | 36 + drivers/clk/sunxi/clk-sunxi.c | 35 + drivers/mmc/host/Kconfig | 7 drivers/mmc/host/Makefile | 2 drivers/mmc/host/sunxi-mmc.c | 872 ++++++++++++++++++++ drivers/mmc/host/sunxi-mmc.h | 239 +++++ include/linux/clk/sunxi.h | 22 + 20 files changed, 1556 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sunxi-mmc.txt create mode 100644 drivers/mmc/host/sunxi-mmc.c create mode 100644 drivers/mmc/host/sunxi-mmc.h create mode 100644 include/linux/clk/sunxi.h -- Signature From mboxrd@z Thu Jan 1 00:00:00 1970 From: David =?utf-8?q?Lanzend=C3=B6rfer?= Subject: [PATCH v5 0/8] ARM: sunxi: Add driver for SD/MMC hosts found on allwinner sunxi SOCs Date: Tue, 11 Feb 2014 20:33:06 +0100 Message-ID: <20140211190543.4568.83517.stgit@dizzy-6.o2s.ch> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ulf Hansson , Laurent Pinchart , Mike Turquette , Simon Baatz , Hans de Goede , Emilio =?utf-8?b?TMOzcGV6?= , linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Chris Ball , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, H Hartley Sweeten , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Tejun Heo , Maxime Ripard , Guennadi Liakhovetski , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hello The following patchset adds support for the SD/MMC host found in the Allwin= ner SoCs. It contains all the necessary modifications for clock environment and also = the device tree script modification which add it to all the boards using it. The clock environment function needed for phase offset configuration has been proposed and implemented by Emilio. A lot of work and cleanup has been done by Hans de Goede. Special thanks to= him! This patchset is the 4th attempt to send this driver upstream. Changes since v1: -Using mmc_of_parse instead of diy dt parsing -Adding nodes for all mmc controller to the dtsi files, including sofar unused controllers -Using generic GPIO slot library for WP/CD -Adding additional MMC device nodes into DTSI files Changes since v2: -Add missing Signed-off-by tags -Stop using __raw_readl / __raw_writel so that barriers are properly used -Adding missing new lines -Adding missing patch for automatic reparenting of clocks Changes since v3: -Move clk_enable / disable into host_init / exit (Hans) -Fix hang on boot caused by irq storm (Hans) Changes since v4: -moving sunxi-mci.{c/h} to sunxi-mmc.{c/h} -removing camel cases from the defines in sunxi-mmc.h -moving defines out of the struct definition since this is bad coding style -adding documentation for the device tree binding --- David Lanzend=C3=B6rfer (5): ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs ARM: dts: sun7i: Add support for mmc ARM: dts: sun4i: Add support for mmc ARM: dts: sun5i: Add support for mmc ARM: sunxi: Add documentation for driver for SD/MMC hosts found on Al= lwinner sunxi SoCs Emilio L=C3=B3pez (2): clk: sunxi: factors: automatic reparenting support clk: sunxi: Implement MMC phase control Hans de Goede (1): ARM: sunxi: clk: export clk_sunxi_mmc_phase_control .../devicetree/bindings/mmc/sunxi-mmc.txt | 32 + arch/arm/boot/dts/sun4i-a10-a1000.dts | 8=20 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 8=20 arch/arm/boot/dts/sun4i-a10.dtsi | 54 + arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 30 + arch/arm/boot/dts/sun5i-a10s.dtsi | 44 + arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 15=20 arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 15=20 arch/arm/boot/dts/sun5i-a13.dtsi | 37 + arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 8=20 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 8=20 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 23 + arch/arm/boot/dts/sun7i-a20.dtsi | 61 + drivers/clk/sunxi/clk-factors.c | 36 + drivers/clk/sunxi/clk-sunxi.c | 35 + drivers/mmc/host/Kconfig | 7=20 drivers/mmc/host/Makefile | 2=20 drivers/mmc/host/sunxi-mmc.c | 872 ++++++++++++++++= ++++ drivers/mmc/host/sunxi-mmc.h | 239 +++++ include/linux/clk/sunxi.h | 22 + 20 files changed, 1556 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sunxi-mmc.txt create mode 100644 drivers/mmc/host/sunxi-mmc.c create mode 100644 drivers/mmc/host/sunxi-mmc.h create mode 100644 include/linux/clk/sunxi.h --=20 Signature --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out. From mboxrd@z Thu Jan 1 00:00:00 1970 From: david.lanzendoerfer@o2s.ch (David =?utf-8?q?Lanzend=C3=B6rfer?=) Date: Tue, 11 Feb 2014 20:33:06 +0100 Subject: [PATCH v5 0/8] ARM: sunxi: Add driver for SD/MMC hosts found on allwinner sunxi SOCs Message-ID: <20140211190543.4568.83517.stgit@dizzy-6.o2s.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello The following patchset adds support for the SD/MMC host found in the Allwinner SoCs. It contains all the necessary modifications for clock environment and also the device tree script modification which add it to all the boards using it. The clock environment function needed for phase offset configuration has been proposed and implemented by Emilio. A lot of work and cleanup has been done by Hans de Goede. Special thanks to him! This patchset is the 4th attempt to send this driver upstream. Changes since v1: -Using mmc_of_parse instead of diy dt parsing -Adding nodes for all mmc controller to the dtsi files, including sofar unused controllers -Using generic GPIO slot library for WP/CD -Adding additional MMC device nodes into DTSI files Changes since v2: -Add missing Signed-off-by tags -Stop using __raw_readl / __raw_writel so that barriers are properly used -Adding missing new lines -Adding missing patch for automatic reparenting of clocks Changes since v3: -Move clk_enable / disable into host_init / exit (Hans) -Fix hang on boot caused by irq storm (Hans) Changes since v4: -moving sunxi-mci.{c/h} to sunxi-mmc.{c/h} -removing camel cases from the defines in sunxi-mmc.h -moving defines out of the struct definition since this is bad coding style -adding documentation for the device tree binding --- David Lanzend?rfer (5): ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs ARM: dts: sun7i: Add support for mmc ARM: dts: sun4i: Add support for mmc ARM: dts: sun5i: Add support for mmc ARM: sunxi: Add documentation for driver for SD/MMC hosts found on Allwinner sunxi SoCs Emilio L?pez (2): clk: sunxi: factors: automatic reparenting support clk: sunxi: Implement MMC phase control Hans de Goede (1): ARM: sunxi: clk: export clk_sunxi_mmc_phase_control .../devicetree/bindings/mmc/sunxi-mmc.txt | 32 + arch/arm/boot/dts/sun4i-a10-a1000.dts | 8 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 8 arch/arm/boot/dts/sun4i-a10.dtsi | 54 + arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 30 + arch/arm/boot/dts/sun5i-a10s.dtsi | 44 + arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 15 arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 15 arch/arm/boot/dts/sun5i-a13.dtsi | 37 + arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 8 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 8 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 23 + arch/arm/boot/dts/sun7i-a20.dtsi | 61 + drivers/clk/sunxi/clk-factors.c | 36 + drivers/clk/sunxi/clk-sunxi.c | 35 + drivers/mmc/host/Kconfig | 7 drivers/mmc/host/Makefile | 2 drivers/mmc/host/sunxi-mmc.c | 872 ++++++++++++++++++++ drivers/mmc/host/sunxi-mmc.h | 239 +++++ include/linux/clk/sunxi.h | 22 + 20 files changed, 1556 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sunxi-mmc.txt create mode 100644 drivers/mmc/host/sunxi-mmc.c create mode 100644 drivers/mmc/host/sunxi-mmc.h create mode 100644 include/linux/clk/sunxi.h -- Signature