From: Philipp Zabel <p.zabel@pengutronix.de> To: linux-arm-kernel@lists.infradead.org, Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Stephen Warren <swarren@wwwdotorg.org>, Marek Vasut <marex@denx.de>, Fabio Estevam <fabio.estevam@freescale.com>, Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawn.guo@linaro.org>, kernel@pengutronix.de, devicetree-discuss@lists.ozlabs.org, Mike Turquette <mturquette@linaro.org>, Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>, "Rafael J. Wysocki" <rjw@sisk.pl>, linux-pm@vger.kernel.org Subject: [PATCH v6 0/8] Reset controller API to reset IP modules on i.MX5 and i.MX6 Date: Thu, 28 Mar 2013 17:35:15 +0100 [thread overview] Message-ID: <1364488523-20310-1-git-send-email-p.zabel@pengutronix.de> (raw) [Added Arnd and Greg to the recipients] I think the first three patches of this series are candidates to go through Arnd's tree. Arnd, would you take those patches? [PATCH v6 1/8] dt: describe base reset signal binding [PATCH v6 2/8] reset: Add reset controller API [PATCH v6 3/8] reset: Add driver for gpio-controlled reset pins The system reset controller (SRC) on i.MX51, i.MX53, and i.MX6q controls reset lines to the GPU, VPU, IPU, and OpenVG IP modules. The following patches add a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding proposed by Stephen Warren. Contrary to Tegra hardware, the i.MX SRC contains self-deasserting reset registers, so I've included both ops to manually assert/deassert a reset line, as well as a "reset" operation that is supposed to assert the reset line and wait for it to deassert. The i.MX SRC is enhanced to provide a reset controller and the IPU driver is made to request being reset by calling the device_reset(&pdev->dev) convenience wrapper during probing. No changes since v5, I just reordered the series. regards Philipp --- .../devicetree/bindings/reset/fsl,imx-src.txt | 49 ++++ .../devicetree/bindings/reset/gpio-reset.txt | 37 +++ Documentation/devicetree/bindings/reset/reset.txt | 75 ++++++ .../bindings/staging/imx-drm/fsl-imx-drm.txt | 3 + arch/arm/boot/dts/imx51.dtsi | 7 + arch/arm/boot/dts/imx53.dtsi | 7 + arch/arm/boot/dts/imx6q.dtsi | 1 + arch/arm/boot/dts/imx6qdl.dtsi | 4 +- arch/arm/mach-imx/Kconfig | 3 + arch/arm/mach-imx/mm-imx5.c | 2 + arch/arm/mach-imx/src.c | 69 ++++- drivers/Kconfig | 2 + drivers/Makefile | 3 + drivers/reset/Kconfig | 26 ++ drivers/reset/Makefile | 2 + drivers/reset/core.c | 297 +++++++++++++++++++++ drivers/reset/gpio-reset.c | 208 +++++++++++++++ drivers/staging/imx-drm/ipu-v3/ipu-common.c | 12 +- include/linux/reset-controller.h | 51 ++++ include/linux/reset.h | 17 ++ 20 files changed, 870 insertions(+), 5 deletions(-)
WARNING: multiple messages have this Message-ID (diff)
From: p.zabel@pengutronix.de (Philipp Zabel) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 0/8] Reset controller API to reset IP modules on i.MX5 and i.MX6 Date: Thu, 28 Mar 2013 17:35:15 +0100 [thread overview] Message-ID: <1364488523-20310-1-git-send-email-p.zabel@pengutronix.de> (raw) [Added Arnd and Greg to the recipients] I think the first three patches of this series are candidates to go through Arnd's tree. Arnd, would you take those patches? [PATCH v6 1/8] dt: describe base reset signal binding [PATCH v6 2/8] reset: Add reset controller API [PATCH v6 3/8] reset: Add driver for gpio-controlled reset pins The system reset controller (SRC) on i.MX51, i.MX53, and i.MX6q controls reset lines to the GPU, VPU, IPU, and OpenVG IP modules. The following patches add a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding proposed by Stephen Warren. Contrary to Tegra hardware, the i.MX SRC contains self-deasserting reset registers, so I've included both ops to manually assert/deassert a reset line, as well as a "reset" operation that is supposed to assert the reset line and wait for it to deassert. The i.MX SRC is enhanced to provide a reset controller and the IPU driver is made to request being reset by calling the device_reset(&pdev->dev) convenience wrapper during probing. No changes since v5, I just reordered the series. regards Philipp --- .../devicetree/bindings/reset/fsl,imx-src.txt | 49 ++++ .../devicetree/bindings/reset/gpio-reset.txt | 37 +++ Documentation/devicetree/bindings/reset/reset.txt | 75 ++++++ .../bindings/staging/imx-drm/fsl-imx-drm.txt | 3 + arch/arm/boot/dts/imx51.dtsi | 7 + arch/arm/boot/dts/imx53.dtsi | 7 + arch/arm/boot/dts/imx6q.dtsi | 1 + arch/arm/boot/dts/imx6qdl.dtsi | 4 +- arch/arm/mach-imx/Kconfig | 3 + arch/arm/mach-imx/mm-imx5.c | 2 + arch/arm/mach-imx/src.c | 69 ++++- drivers/Kconfig | 2 + drivers/Makefile | 3 + drivers/reset/Kconfig | 26 ++ drivers/reset/Makefile | 2 + drivers/reset/core.c | 297 +++++++++++++++++++++ drivers/reset/gpio-reset.c | 208 +++++++++++++++ drivers/staging/imx-drm/ipu-v3/ipu-common.c | 12 +- include/linux/reset-controller.h | 51 ++++ include/linux/reset.h | 17 ++ 20 files changed, 870 insertions(+), 5 deletions(-)
next reply other threads:[~2013-03-28 16:35 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-03-28 16:35 Philipp Zabel [this message] 2013-03-28 16:35 ` [PATCH v6 0/8] Reset controller API to reset IP modules on i.MX5 and i.MX6 Philipp Zabel 2013-03-28 16:35 ` [PATCH v6 1/8] dt: describe base reset signal binding Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel 2013-04-04 13:49 ` Rob Herring 2013-04-04 13:49 ` Rob Herring 2013-04-09 8:16 ` Philipp Zabel 2013-04-09 8:16 ` Philipp Zabel 2013-03-28 16:35 ` [PATCH v6 2/8] reset: Add reset controller API Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel 2013-03-28 16:35 ` [PATCH v6 3/8] reset: Add driver for gpio-controlled reset pins Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel 2013-04-11 10:35 ` Olof Johansson 2013-04-11 10:35 ` Olof Johansson 2013-04-11 12:37 ` Philipp Zabel 2013-04-11 12:37 ` Philipp Zabel 2013-04-11 15:54 ` Stephen Warren 2013-04-11 15:54 ` Stephen Warren 2013-04-11 16:45 ` Olof Johansson 2013-04-11 16:45 ` Olof Johansson 2013-03-28 16:35 ` [PATCH v6 4/8] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC) Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel 2013-03-28 16:35 ` [PATCH v6 5/8] ARM i.MX6q: Link system reset controller (SRC) to IPU in DT Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel 2013-03-28 16:35 ` [PATCH v6 6/8] staging: drm/imx: Use SRC to reset IPU Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel 2013-03-29 15:12 ` Greg Kroah-Hartman 2013-03-29 15:12 ` Greg Kroah-Hartman 2013-03-28 16:35 ` [PATCH v6 7/8] ARM i.MX5: Add System Reset Controller (SRC) support for i.MX51 and i.MX53 Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel 2013-03-28 16:35 ` [PATCH v6 8/8] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree Philipp Zabel 2013-03-28 16:35 ` Philipp Zabel [not found] ` <1364488523-20310-1-git-send-email-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 2013-03-28 22:07 ` [PATCH v6 0/8] Reset controller API to reset IP modules on i.MX5 and i.MX6 Arnd Bergmann 2013-03-28 22:07 ` Arnd Bergmann 2013-03-31 14:23 ` Shawn Guo 2013-03-31 14:23 ` Shawn Guo 2013-03-29 10:16 ` Pavel Machek 2013-03-29 10:16 ` Pavel Machek 2013-04-01 6:23 ` Shawn Guo 2013-04-01 6:23 ` Shawn Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1364488523-20310-1-git-send-email-p.zabel@pengutronix.de \ --to=p.zabel@pengutronix.de \ --cc=arnd@arndb.de \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=fabio.estevam@freescale.com \ --cc=gregkh@linuxfoundation.org \ --cc=kernel@pengutronix.de \ --cc=len.brown@intel.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-pm@vger.kernel.org \ --cc=marex@denx.de \ --cc=mturquette@linaro.org \ --cc=pavel@ucw.cz \ --cc=rjw@sisk.pl \ --cc=s.hauer@pengutronix.de \ --cc=shawn.guo@linaro.org \ --cc=swarren@wwwdotorg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.