[PATCH v5 7/8] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree

2013-03-25 Thread Philipp Zabel
Also, link SRC to IPU via phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- arch/arm/boot/dts/imx51.dtsi | 7 +++ arch/arm/boot/dts/imx53.dtsi | 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx51

[PATCH v5 1/8] dt: describe base reset signal binding

2013-03-25 Thread Philipp Zabel
to request a framework API to issue a reset simply by providing their struct device pointer as the most common case. Signed-off-by: Stephen Warren swar...@nvidia.com Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- Documentation/devicetree/bindings

[PATCH v5 8/8] reset: Add driver for gpio-controlled reset pins

2013-03-25 Thread Philipp Zabel
This driver implements a reset controller device that toggles gpios connected to reset pins of peripheral ICs. The delay between assertion and de-assertion of the reset signal can be configured. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com

[PATCH v5 2/8] reset: Add reset controller API

2013-03-25 Thread Philipp Zabel
This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com Reviewed-by: Shawn Guo shawn@linaro.org

[PATCH v5 4/8] ARM i.MX6q: Link system reset controller (SRC) to IPU in DT

2013-03-25 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- arch/arm/boot/dts/imx6q.dtsi | 1 + arch/arm/boot/dts/imx6qdl.dtsi | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index

[PATCH] Input: da9052_tsi: make TSI reference regulator configurable

2013-03-22 Thread Philipp Zabel
This patch allows to use a different regulator than LDO9 as TSIREF. It also only turns on the regulator when there are actual measurements to be done. It is not needed for pen detection. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/mfd/da9052-i2c.txt

Re: [PATCH] Input: da9052_tsi: make TSI reference regulator configurable

2013-03-22 Thread Philipp Zabel
Hi Fabio, thank you for the comments. Am Freitag, den 22.03.2013, 12:51 -0300 schrieb Fabio Estevam: Philipp Zabel wrote: if (!tsi-stopped) { + error = regulator_enable(tsi-tsiref); + if (error 0) { + dev_err(tsi-da9052-dev

[PATCH v9 RESEND 3/4] media: coda: use genalloc API

2013-03-20 Thread Philipp Zabel
This patch depends on genalloc: add devres support, allow to find a managed pool by device, which provides the of_get_named_gen_pool and dev_get_gen_pool functions. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-By: Javier Martin javier.mar...@vista-silicon.com Acked-by: Grant Likely

[PATCH v9 RESEND 1/4] genalloc: add devres support, allow to find a managed pool by device

2013-03-20 Thread Philipp Zabel
node. The corresponding platform device is then fed into dev_get_gen_pool and the resulting gen_pool is returned. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Grant Likely grant.lik...@secretlab.ca --- include/linux/genalloc.h | 15 + lib/genalloc.c | 81

[PATCH v9 RESEND 2/4] misc: Generic on-chip SRAM allocation driver

2013-03-20 Thread Philipp Zabel
allocations. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- Changes since v8: - Changed device tree compatible string to mmio-sram --- Documentation/devicetree/bindings/misc/sram.txt | 16

[PATCH v9 RESEND 0/4] Add generic driver for on-chip SRAM

2013-03-20 Thread Philipp Zabel
Hi, last time I posted was a bit close to the merge window, so I'm reposting now. Greg, Arnd, could you take the first two patches? These patches add support to configure on-chip SRAM via device-tree node or platform data and to obtain the resulting genalloc pool from the struct device pointer or

Re: [PATCH v4 2/8] reset: Add reset controller API

2013-03-04 Thread Philipp Zabel
Hi Stephen, Am Freitag, den 01.03.2013, 13:00 -0700 schrieb Stephen Warren: On 02/26/2013 04:39 AM, Philipp Zabel wrote: This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. diff --git

[PATCH v4 1/8] dt: describe base reset signal binding

2013-02-26 Thread Philipp Zabel
to request a framework API to issue a reset simply by providing their struct device pointer as the most common case. Signed-off-by: Stephen Warren swar...@nvidia.com Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- Documentation/devicetree/bindings

[PATCH v4 4/8] ARM i.MX6q: Link system reset controller (SRC) to IPU in DT

2013-02-26 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- arch/arm/boot/dts/imx6q.dtsi |1 + arch/arm/boot/dts/imx6qdl.dtsi |2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi

[PATCH v4 0/8] Reset controller API to reset IP modules on i.MX5 and i.MX6

2013-02-26 Thread Philipp Zabel
[Added Len, Pavel, Rafael, and linux-pm to Cc, as there might be some need for integration with the PM runtime infrastructure?] 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

[PATCH v4 7/8] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree

2013-02-26 Thread Philipp Zabel
Also, link SRC to IPU via phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- arch/arm/boot/dts/imx51.dtsi |7 +++ arch/arm/boot/dts/imx53.dtsi |7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v4 3/8] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC)

2013-02-26 Thread Philipp Zabel
The SRC has auto-deasserting reset bits that control reset lines to the GPU, VPU, IPU, and OpenVG IP modules. This patch adds a reset controller that can be controlled by those devices using the reset controller API. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren

[PATCH v4 5/8] staging: drm/imx: Use SRC to reset IPU

2013-02-26 Thread Philipp Zabel
Request the System Reset Controller to reset the IPU if specified via device tree phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- .../devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt|3 +++ drivers/staging/imx-drm/ipu-v3

[PATCH v4 2/8] reset: Add reset controller API

2013-02-26 Thread Philipp Zabel
This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com Reviewed-by: Shawn Guo shawn@linaro.org

Re: [PATCH v3 2/8] reset: Add reset controller API

2013-02-20 Thread Philipp Zabel
Hi, Am Dienstag, den 19.02.2013, 14:39 -0700 schrieb Stephen Warren: On 02/19/2013 04:35 AM, Philipp Zabel wrote: This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. I know I apparently

Re: [PATCH v3 8/8] reset: Add driver for gpio-controlled reset pins

2013-02-20 Thread Philipp Zabel
Am Dienstag, den 19.02.2013, 14:57 -0700 schrieb Stephen Warren: On 02/19/2013 04:35 AM, Philipp Zabel wrote: This driver implements a reset controller device that toggles gpios connected to reset pins of peripheral ICs. The delay between assertion and de-assertion of the reset signal can

Re: [PATCH v2 1/8] dt: describe base reset signal binding

2013-02-19 Thread Philipp Zabel
Hi Shawn, Am Sonntag, den 17.02.2013, 21:05 +0800 schrieb Shawn Guo: On Wed, Feb 13, 2013 at 06:34:25PM +0100, Philipp Zabel wrote: From: Stephen Warren swar...@nvidia.com This binding is intended to represent the hardware reset signals present internally in most IC (SoC, FPGA

[PATCH v3 5/8] staging: drm/imx: Use SRC to reset IPU

2013-02-19 Thread Philipp Zabel
Request the System Reset Controller to reset the IPU if specified via device tree phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- .../devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt|3 +++ drivers/staging/imx-drm/ipu-v3

[PATCH v3 7/8] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree

2013-02-19 Thread Philipp Zabel
Also, link SRC to IPU via phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- arch/arm/boot/dts/imx51.dtsi |7 +++ arch/arm/boot/dts/imx53.dtsi |7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v3 6/8] ARM i.MX5: Add System Reset Controller (SRC) support for i.MX51 and i.MX53

2013-02-19 Thread Philipp Zabel
The SRC in i.MX51 and i.MX53 is similar to the one in i.MX6q minus the IPU2 reset line and multi core CPU reset/enable bits. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- Changes since v2: - Rebased onto next-20120219 --- arch/arm/boot

[PATCH v3 8/8] reset: Add driver for gpio-controlled reset pins

2013-02-19 Thread Philipp Zabel
This driver implements a reset controller device that toggles gpios connected to reset pins of peripheral ICs. The delay between assertion and de-assertion of the reset signal can be configured. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v2: - Fill

[PATCH v3 4/8] ARM i.MX6q: Link system reset controller (SRC) to IPU in DT

2013-02-19 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- Changes since v2: - Rebased onto next-20120219 --- arch/arm/boot/dts/imx6q.dtsi |1 + arch/arm/boot/dts/imx6qdl.dtsi |2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm

[PATCH v3 3/8] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC)

2013-02-19 Thread Philipp Zabel
The SRC has auto-deasserting reset bits that control reset lines to the GPU, VPU, IPU, and OpenVG IP modules. This patch adds a reset controller that can be controlled by those devices using the reset controller API. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren

[PATCH v3 1/8] dt: describe base reset signal binding

2013-02-19 Thread Philipp Zabel
to request a framework API to issue a reset simply by providing their struct device pointer as the most common case. Signed-off-by: Stephen Warren swar...@nvidia.com Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- Documentation/devicetree/bindings

[PATCH v9 3/4] media: coda: use genalloc API

2013-02-13 Thread Philipp Zabel
This patch depends on genalloc: add devres support, allow to find a managed pool by device, which provides the of_get_named_gen_pool and dev_get_gen_pool functions. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-By: Javier Martin javier.mar...@vista-silicon.com Acked-by: Grant Likely

[PATCH v9 4/4] ARM: dts: add sram for imx53 and imx6q

2013-02-13 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- Changes since v8: - Changed device tree compatible string to mmio-sram --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi

[PATCH v9 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-13 Thread Philipp Zabel
allocations. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- Changes since v8: - Changed device tree compatible string to mmio-sram --- Documentation/devicetree/bindings/misc/sram.txt | 16

[PATCH v2 0/5] Reset controller API to reset IP modules on i.MX5 and i.MX6

2013-02-13 Thread Philipp Zabel
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

[PATCH v2 4/8] ARM i.MX6q: Link system reset controller (SRC) to IPU in DT

2013-02-13 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- Changes since v1: - Fixed resets property in ipu2 device node. --- arch/arm/boot/dts/imx6q.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm

[PATCH v2 5/8] staging: drm/imx: Use SRC to reset IPU

2013-02-13 Thread Philipp Zabel
Request the System Reset Controller to reset the IPU if specified via device tree phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- .../devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt|3 +++ drivers/staging/imx-drm/ipu-v3

[PATCH v2 3/8] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC)

2013-02-13 Thread Philipp Zabel
The SRC has auto-deasserting reset bits that control reset lines to the GPU, VPU, IPU, and OpenVG IP modules. This patch adds a reset controller that can be controlled by those devices using the reset controller API. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren

[PATCH v2 7/8] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree

2013-02-13 Thread Philipp Zabel
Also, link SRC to IPU via phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- Changes since v1: - Changed compatible strings to fsl,soc-src --- arch/arm/boot/dts/imx51.dtsi |7 +++ arch/arm/boot/dts/imx53.dtsi |7 +++ 2

[PATCH v2 2/8] reset: Add reset controller API

2013-02-13 Thread Philipp Zabel
This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren swar...@nvidia.com --- Changes since v1: - Added missing header

[PATCH v2 1/8] dt: describe base reset signal binding

2013-02-13 Thread Philipp Zabel
to request a framework API to issue a reset simply by providing their struct device pointer as the most common case. Signed-off-by: Stephen Warren swar...@nvidia.com Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Documentation/devicetree/bindings/reset/reset.txt | 75

Re: [PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-11 Thread Philipp Zabel
Hi Grant, Am Freitag, den 08.02.2013, 20:16 + schrieb Grant Likely: On Mon, 4 Feb 2013 12:32:16 +0100, Philipp Zabel p.za...@pengutronix.de wrote: This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API

Re: [PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-05 Thread Philipp Zabel
Am Dienstag, den 05.02.2013, 00:53 +0900 schrieb Paul Mundt: On Mon, Feb 04, 2013 at 12:32:16PM +0100, Philipp Zabel wrote: This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API. It optionally enables

[PATCH v8 0/4] Add generic driver for on-chip SRAM

2013-02-04 Thread Philipp Zabel
These patches add support to configure on-chip SRAM via device-tree node or platform data and to obtain the resulting genalloc pool from the struct device pointer or a phandle pointing at the device tree node. This allows drivers to allocate SRAM with the genalloc API without hard-coding the

[PATCH v8 4/4] ARM: dts: add sram for imx53 and imx6q

2013-02-04 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi

[PATCH v8 1/4] genalloc: add devres support, allow to find a managed pool by device

2013-02-04 Thread Philipp Zabel
node. The corresponding platform device is then fed into dev_get_gen_pool and the resulting gen_pool is returned. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v7: - Removed the global pool list. Instead, added a devres managed version of gen_pool_create, replacing

[PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-04 Thread Philipp Zabel
allocations. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- Changes since v7: - Removed obsolete __devinit/__devexit/__devexit_p --- Documentation/devicetree/bindings/misc/sram.txt | 17 drivers/misc/Kconfig

[PATCH v8 3/4] media: coda: use genalloc API

2013-02-04 Thread Philipp Zabel
This patch depends on genalloc: add devres support, allow to find a managed pool by device, which provides the of_get_named_gen_pool and dev_get_gen_pool functions. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v7: - In the platform data case, retrieve gen_pool by device

Re: [PATCH 3/7] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC)

2013-01-21 Thread Philipp Zabel
Hi Matt, thank you for your comments. Am Freitag, den 18.01.2013, 13:57 -0600 schrieb Matt Sealey: On Wed, Jan 16, 2013 at 10:13 AM, Philipp Zabel p.za...@pengutronix.de wrote: The SRC has auto-deasserting reset bits that control reset lines to the GPU, VPU, IPU, and OpenVG IP modules

Re: [PATCH 6/7] ARM i.MX5: Add System Reset Controller (SRC) support for i.MX51 and i.MX53

2013-01-17 Thread Philipp Zabel
Hi Shawn, thank you for your comments. Am Donnerstag, den 17.01.2013, 14:12 +0800 schrieb Shawn Guo: On Wed, Jan 16, 2013 at 05:13:06PM +0100, Philipp Zabel wrote: The SRC in i.MX51 and i.MX53 is similar to the one in i.MX6q minus the IPU2 reset line and multi core CPU reset/enable bits

Re: [PATCH 7/7] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree

2013-01-17 Thread Philipp Zabel
Am Mittwoch, den 16.01.2013, 15:19 -0700 schrieb Stephen Warren: On 01/16/2013 09:13 AM, Philipp Zabel wrote: Also, link SRC to IPU via phandle. Aside from the comments I already made, the series, Reviewed-by: Stephen Warren swar...@nvidia.com Thank you. although I'm not 100% sure

Re: [PATCH 2/7] reset: Add reset controller API

2013-01-17 Thread Philipp Zabel
Hi Stephen, Am Mittwoch, den 16.01.2013, 15:15 -0700 schrieb Stephen Warren: On 01/16/2013 09:13 AM, Philipp Zabel wrote: This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. diff --git

[RFC PATCH 0/5] Reset controller API to reset IP modules on i.MX5 and i.MX6

2013-01-16 Thread Philipp Zabel
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. They implement the reset signal device tree binding

[PATCH 1/7] dt: describe base reset signal binding

2013-01-16 Thread Philipp Zabel
From: Stephen Warren swar...@nvidia.com This binding is intended to represent the hardware reset signals present internally in most IC (SoC, FPGA, ...) designs. Such a binding would allow the creation of a reset subsystem, which could replace APIs such as the following Tegra-specific API: void

[PATCH 7/7] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree

2013-01-16 Thread Philipp Zabel
Also, link SRC to IPU via phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/boot/dts/imx51.dtsi |7 +++ arch/arm/boot/dts/imx53.dtsi |7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index

[PATCH 4/7] ARM i.MX6q: Link system reset controller (SRC) to IPU in DT

2013-01-16 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/boot/dts/imx6q.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index d6265ca..c445959 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts

[PATCH 6/7] ARM i.MX5: Add System Reset Controller (SRC) support for i.MX51 and i.MX53

2013-01-16 Thread Philipp Zabel
The SRC in i.MX51 and i.MX53 is similar to the one in i.MX6q minus the IPU2 reset line and multi core CPU reset/enable bits. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/mach-imx/Kconfig |1 + arch/arm/mach-imx/common.h |3 ++- arch/arm/mach-imx/mach-imx6q.c

[PATCH 5/7] staging: drm/imx: Use SRC to reset IPU

2013-01-16 Thread Philipp Zabel
Request the System Reset Controller to reset the IPU if specified via device tree phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/staging/imx-drm/fsl-imx-drm.txt|3 +++ drivers/staging/imx-drm/ipu-v3/ipu-common.c| 12

[PATCH 2/7] reset: Add reset controller API

2013-01-16 Thread Philipp Zabel
This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/Kconfig|2 + drivers/Makefile |2 + drivers/reset/Kconfig

[PATCH 3/7] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC)

2013-01-16 Thread Philipp Zabel
The SRC has auto-deasserting reset bits that control reset lines to the GPU, VPU, IPU, and OpenVG IP modules. This patch adds a reset controller that can be controlled by those devices using the reset controller API. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings

Re: [RFC PATCH 1/5] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to system reset controller

2013-01-10 Thread Philipp Zabel
Hi Stephen, Am Mittwoch, den 09.01.2013, 11:15 -0700 schrieb Stephen Warren: On 01/09/2013 10:17 AM, Philipp Zabel wrote: Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/reset/fsl,imx-src.txt | 45 I proposed something very

Re: [RFC PATCH 1/5] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to system reset controller

2013-01-10 Thread Philipp Zabel
Am Donnerstag, den 10.01.2013, 14:56 +0800 schrieb Shawn Guo: Hi Philipp, On Wed, Jan 09, 2013 at 06:17:15PM +0100, Philipp Zabel wrote: Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/reset/fsl,imx-src.txt | 45 arch/arm

Re: [RFC PATCH 0/5] Use SRC to reset IP modules on i.MX5 and i.MX6

2013-01-10 Thread Philipp Zabel
Am Mittwoch, den 09.01.2013, 15:57 -0200 schrieb Fabio Estevam: On Wed, Jan 9, 2013 at 3:53 PM, Fabio Estevam feste...@gmail.com wrote: On Wed, Jan 9, 2013 at 3:40 PM, Philipp Zabel p.za...@pengutronix.de wrote: I rebased them onto next-20130109 (with this base compile-tested only

[RFC PATCH 2/5] ARM i.MX6q: Link system reset controller (SRC) to IPU in DT

2013-01-09 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/boot/dts/imx6q.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index d6265ca..aac017b 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts

[RFC PATCH 4/5] ARM i.MX5: Add System Reset Controller (SRC) support for i.MX51 and i.MX53

2013-01-09 Thread Philipp Zabel
The SRC in i.MX51 and i.MX53 is similar to the one in i.MX6q minus the IPU2 reset line and multi core CPU reset/enable bits. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/mach-imx/Kconfig |1 + arch/arm/mach-imx/common.h |3 ++- arch/arm/mach-imx/mach-imx6q.c

[RFC PATCH 1/5] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to system reset controller

2013-01-09 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../devicetree/bindings/reset/fsl,imx-src.txt | 45 arch/arm/mach-imx/src.c| 41 ++ include/linux/imx-src.h|6 +++ 3 files changed, 92

[RFC PATCH 5/5] ARM i.MX5: Add system reset controller (SRC) to i.MX51 and i.MX53 device tree

2013-01-09 Thread Philipp Zabel
Also, link SRC to IPU via phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/boot/dts/imx51.dtsi |6 ++ arch/arm/boot/dts/imx53.dtsi |9 + 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index

[RFC PATCH 0/5] Use SRC to reset IP modules on i.MX5 and i.MX6

2013-01-09 Thread Philipp Zabel
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 allow to link modules and SRC reset lines via phandle properties in the device tree. Drivers can then request their IP modules to be reset by the

[RFC PATCH 3/5] staging: drm/imx: Use SRC to reset IPU

2013-01-09 Thread Philipp Zabel
Request the System Reset Controller to reset the IPU if specified via device tree phandle. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- .../bindings/staging/imx-drm/fsl-imx-drm.txt |3 +++ drivers/staging/imx-drm/ipu-v3/ipu-common.c| 20 +--- 2

Re: [RFC PATCH 0/5] Use SRC to reset IP modules on i.MX5 and i.MX6

2013-01-09 Thread Philipp Zabel
Hi Fabio, Am Mittwoch, den 09.01.2013, 15:33 -0200 schrieb Fabio Estevam: On Wed, Jan 9, 2013 at 3:17 PM, Philipp Zabel p.za...@pengutronix.de wrote: 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

Re: [PATCHv15 3/7] video: add of helper for display timings/videomode

2012-12-07 Thread Philipp Zabel
Hi, Am Montag, den 26.11.2012, 18:56 +0200 schrieb Tomi Valkeinen: On 2012-11-26 18:10, Steffen Trumtrar wrote: Hi, On Mon, Nov 26, 2012 at 04:38:36PM +0200, Tomi Valkeinen wrote: +optional properties: + - hsync-active: hsync pulse is active low/high/ignored + - vsync-active:

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Philipp Zabel
Hi, On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: These patches add support to configure on-chip SRAM via device-tree node or platform data and to obtain the resulting genalloc pool from the physical address or a phandle pointing at the device tree node. This allows drivers

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Philipp Zabel
On Tue, 2012-12-04 at 08:19 -0800, Greg Kroah-Hartman wrote: On Tue, Dec 04, 2012 at 09:53:38AM +0100, Philipp Zabel wrote: Hi, On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: These patches add support to configure on-chip SRAM via device-tree node or platform data

[PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-11-23 Thread Philipp Zabel
These patches add support to configure on-chip SRAM via device-tree node or platform data and to obtain the resulting genalloc pool from the physical address or a phandle pointing at the device tree node. This allows drivers to allocate SRAM with the genalloc API without hard-coding the genalloc

[PATCH v7 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-23 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- include/linux

[PATCH v7 3/4] media: coda: use genalloc API

2012-11-23 Thread Philipp Zabel
This patch depends on genalloc: add a global pool list, allow to find pools by phys address, which provides the of_get_named_gen_pool function. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/Kconfig |3 +-- drivers/media/platform/coda.c | 47

[PATCH v7 2/4] misc: Generic on-chip SRAM allocation driver

2012-11-23 Thread Philipp Zabel
allocations. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- Documentation/devicetree/bindings/misc/sram.txt | 17 drivers/misc/Kconfig|9 ++ drivers/misc/Makefile |1

[PATCH v7 4/4] ARM: dts: add sram for imx53 and imx6q

2012-11-23 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi

Re: [PATCH v6 3/4] media: coda: use genalloc API

2012-11-19 Thread Philipp Zabel
Am Freitag, den 16.11.2012, 11:00 -0500 schrieb Paul Gortmaker: On 12-11-16 10:21 AM, Philipp Zabel wrote: Am Freitag, den 16.11.2012, 10:08 -0500 schrieb Paul Gortmaker: On 12-11-16 05:30 AM, Philipp Zabel wrote: This patch depends on genalloc: add a global pool list, allow to find pools

[PATCH v6 0/4] Add generic driver for on-chip SRAM

2012-11-16 Thread Philipp Zabel
These patches add support to configure on-chip SRAM via device-tree node or platform data and to obtain the resulting genalloc pool from the physical address or a phandle pointing at the device tree node. This allows drivers to allocate SRAM with the genalloc API without hard-coding the genalloc

[PATCH v6 3/4] media: coda: use genalloc API

2012-11-16 Thread Philipp Zabel
This patch depends on genalloc: add a global pool list, allow to find pools by phys address, which provides the of_get_named_gen_pool function. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/Kconfig |3 +-- drivers/media/platform/coda.c | 47

[PATCH v6 2/4] misc: Generic on-chip SRAM allocation driver

2012-11-16 Thread Philipp Zabel
. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- Documentation/devicetree/bindings/misc/sram.txt | 17 drivers/misc/Kconfig|9 ++ drivers/misc/Makefile |1 + drivers/misc/sram.c

[PATCH v6 4/4] ARM: dts: add sram for imx53 and imx6q

2012-11-16 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- arch/arm/boot/dts/imx53.dtsi |5 + arch/arm/boot/dts/imx6q.dtsi |6 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi

[PATCH v6 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-16 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org --- include/linux

Re: [PATCH v6 3/4] media: coda: use genalloc API

2012-11-16 Thread Philipp Zabel
Am Freitag, den 16.11.2012, 10:08 -0500 schrieb Paul Gortmaker: On 12-11-16 05:30 AM, Philipp Zabel wrote: This patch depends on genalloc: add a global pool list, allow to find pools by phys address, which provides the of_get_named_gen_pool function. Signed-off-by: Philipp Zabel p.za

Re: [PATCH v5 4/4] misc: sram: add support for configurable allocation order

2012-11-16 Thread Philipp Zabel
Am Freitag, den 16.11.2012, 09:09 -0500 schrieb Matt Porter: On Thu, Nov 15, 2012 at 02:11:35PM +0100, Philipp Zabel wrote: Am Mittwoch, den 14.11.2012, 19:15 + schrieb Grant Likely: On Thu, 18 Oct 2012 16:27:33 +0200, Philipp Zabel p.za...@pengutronix.de wrote: From: Matt Porter

Re: [PATCH v5 4/4] misc: sram: add support for configurable allocation order

2012-11-15 Thread Philipp Zabel
Am Mittwoch, den 14.11.2012, 19:15 + schrieb Grant Likely: On Thu, 18 Oct 2012 16:27:33 +0200, Philipp Zabel p.za...@pengutronix.de wrote: From: Matt Porter mpor...@ti.com Adds support for setting the genalloc pool's minimum allocation order via DT or platform data. The allocation

Re: [PATCH v5 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-15 Thread Philipp Zabel
Hi Paul, Am Freitag, den 26.10.2012, 15:46 -0400 schrieb Paul Gortmaker: On Thu, Oct 18, 2012 at 10:27 AM, Philipp Zabel p.za...@pengutronix.de wrote: This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known

<    1   2