Re: drm/exynos: g2d userptr memory corruption

2015-08-17 Thread Lucas Stach
. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH v4 14/21] ARM: imx6: convert GPC to stacked domains

2015-01-19 Thread Lucas Stach
Am Montag, den 19.01.2015, 09:44 + schrieb Marc Zyngier: IMX6 has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what

Re: Weird/Unneeded call to msleep in exynos_mipi_dsi_wr_data in exynos_mipi_dsi_common.c

2014-12-18 Thread Lucas Stach
the hardware or waiting for the hardware here so why is it needed? I don't have Exynos based hardware lying around through to test it. If you can't test it, don't touch it. It's that simple. Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux

Re: [Linaro-mm-sig] [PATCH v3 18/19] iommu: exynos: init from dt-specific callback instead of initcall

2014-12-17 Thread Lucas Stach
which should be expected to break. Exactly the same thing as with componentized devices... Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH 0/8] i.MX6 PCIe binding change and MSI support

2014-06-03 Thread Lucas Stach
Hello Bjorn, Am Freitag, den 30.05.2014, 11:30 -0600 schrieb Bjorn Helgaas: On Mon, May 12, 2014 at 10:59:43AM +0200, Lucas Stach wrote: Hi Bjorn, just a friendly reminder. It would be nice if you could pull those in. Shawn already pulled the DT change and as it is a binding change

Re: [PATCH 0/8] i.MX6 PCIe binding change and MSI support

2014-05-12 Thread Lucas Stach
schrieb Lucas Stach: Hi Bjorn, Am Freitag, den 25.04.2014, 08:39 -0600 schrieb Bjorn Helgaas: [...] PCI: designware: split Exynos and i.MX bindings ARM: dts: imx6: update pcie to bring in line with new binding PCI: imx6: use new clock names PCI: imx6: drop old irq

Re: [PATCH 3/8] ARM: dts: imx6: update pcie to bring in line with new binding

2014-04-30 Thread Lucas Stach
Am Mittwoch, den 30.04.2014, 14:02 +0800 schrieb Shawn Guo: On Fri, Mar 28, 2014 at 05:52:54PM +0100, Lucas Stach wrote: The new bindings drops one clock, renames the others and drops the old interrupt mapping. Signed-off-by: Lucas Stach l.st...@pengutronix.de It does not apply on my

Re: [PATCH 0/8] i.MX6 PCIe binding change and MSI support

2014-04-29 Thread Lucas Stach
. Shawn, if you are not okay with this change, please speak up now. Otherwise please pick the dts change for 3.16. I'll go over linux-next and prepare the patches to fix up the boards there. Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions

Re: [PATCH 0/8] i.MX6 PCIe binding change and MSI support

2014-04-25 Thread Lucas Stach
Am Donnerstag, den 24.04.2014, 11:58 -0600 schrieb Bjorn Helgaas: On Fri, Mar 28, 2014 at 05:52:51PM +0100, Lucas Stach wrote: While working on MSI support for the i.MX6 PCIe host driver it has been discovered that the binding for this host controller is broken in many ways (refer

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-04-16 Thread Lucas Stach
Am Dienstag, den 15.04.2014, 12:30 -0600 schrieb Bjorn Helgaas: On Tue, Apr 15, 2014 at 12:07:34PM +0200, Lucas Stach wrote: Hi Bjorn, Am Freitag, den 04.04.2014, 10:55 -0600 schrieb Bjorn Helgaas: On Wed, Mar 05, 2014 at 02:25:47PM +0100, Lucas Stach wrote: This is the recommended

Re: [PATCHv2 4/4] drm: exynos: hdmi: add support for pixel clock limitation

2014-04-15 Thread Lucas Stach
) + return MODE_BAD; + This should be MODE_CLOCK_HIGH Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body

Re: [PATCH 4/8] PCI: imx6: use new clock names

2014-04-03 Thread Lucas Stach
Hi Shawn, Am Donnerstag, den 03.04.2014, 14:50 +0800 schrieb Shawn Guo: On Fri, Mar 28, 2014 at 05:52:55PM +0100, Lucas Stach wrote: As defined in the new binding. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/pci/host/pci-imx6.c | 74

Re: [RESEND: RFC PATCH 3/3] pcie: keystone: add pcie driver based on designware core driver

2014-04-03 Thread Lucas Stach
. Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5076 | Amtsgericht Hildesheim, HRA 2686 | Fax

Re: [PATCH 4/8] PCI: imx6: use new clock names

2014-04-03 Thread Lucas Stach
Am Donnerstag, den 03.04.2014, 10:21 +0200 schrieb Lucas Stach: Hi Shawn, Am Donnerstag, den 03.04.2014, 14:50 +0800 schrieb Shawn Guo: On Fri, Mar 28, 2014 at 05:52:55PM +0100, Lucas Stach wrote: As defined in the new binding. Signed-off-by: Lucas Stach l.st...@pengutronix.de

Re: [PATCH 2/8] PCI: designware: split Exynos and i.MX bindings

2014-03-31 Thread Lucas Stach
Am Sonntag, den 30.03.2014, 19:36 +0200 schrieb Marek Vasut: On Friday, March 28, 2014 at 05:52:53 PM, Lucas Stach wrote: The glue around the core designware IP is significantly different between the Exynos and i.MX implementation, which is reflected in the DT bindings. This changes

Re: [PATCH 2/8] PCI: designware: split Exynos and i.MX bindings

2014-03-31 Thread Lucas Stach
Am Montag, den 31.03.2014, 11:36 +0200 schrieb Marek Vasut: On Monday, March 31, 2014 at 11:28:29 AM, Lucas Stach wrote: Am Sonntag, den 30.03.2014, 19:36 +0200 schrieb Marek Vasut: On Friday, March 28, 2014 at 05:52:53 PM, Lucas Stach wrote: The glue around the core designware IP

[PATCH 4/8] PCI: imx6: use new clock names

2014-03-28 Thread Lucas Stach
As defined in the new binding. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/pci/host/pci-imx6.c | 74 ++--- 1 file changed, 29 insertions(+), 45 deletions(-) diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index

Re: [PATCH v2 0/6] PCI irq mapping fixes and cleanups

2014-03-28 Thread Lucas Stach
Lucas Stach: This series cleans up the PCI irq mapping for all the ARM PCI host drivers, so they handle it in the way defined in the common PCI bindings. I've worked in all the feedback I received on the first round of this series and left out the i.MX pcie driver changes, as these need more

[PATCH 2/8] PCI: designware: split Exynos and i.MX bindings

2014-03-28 Thread Lucas Stach
by a regulator which shouldn't be controlled by the host driver, but rather by the PCI device driver. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- .../devicetree/bindings/pci/designware-pcie.txt| 74 ++ .../devicetree/bindings/pci/fsl,imx6q-pcie.txt | 38

[PATCH 6/8] PCI: imx6: rip out optional (and unused) irqs

2014-03-28 Thread Lucas Stach
They are dropped with the new binding. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/pci/host/pci-imx6.c | 42 -- 1 file changed, 42 deletions(-) diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 259a73687526

[PATCH 5/8] PCI: imx6: drop old irq mapping

2014-03-28 Thread Lucas Stach
We don't need this anymore. The irqs are now properly mapped through the DT. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/pci/host/pci-imx6.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 71730bbcd9a2

[PATCH 7/8] PCI: designware: make MSI isr shared irq aware

2014-03-28 Thread Lucas Stach
fix it now. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/pci/host/pci-exynos.c | 4 +--- drivers/pci/host/pcie-designware.c | 6 +- drivers/pci/host/pcie-designware.h | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/pci/host/pci-exynos.c b

[PATCH 1/8] ARM: imx6q-clk: parent lvds_gate from lvds_sel

2014-03-28 Thread Lucas Stach
Allows fror proper refcounting of the parent clocks when enabling the clock output on CLK1/2 pads. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/mach-imx/clk-imx6q.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm

[PATCH 0/8] i.MX6 PCIe binding change and MSI support

2014-03-28 Thread Lucas Stach
even implemented). Looking forward to your feedback. Lucas Stach (8): ARM: imx6q-clk: parent lvds_gate from lvds_sel PCI: designware: split Exynos and i.MX bindings ARM: dts: imx6: update pcie to bring in line with new binding PCI: imx6: use new clock names PCI: imx6: drop old irq mapping

Re: [PATCH v2 1/6] ARM: dts: tegra: add PCIe interrupt mapping properties

2014-03-06 Thread Lucas Stach
Am Mittwoch, den 05.03.2014, 14:55 -0700 schrieb Stephen Warren: On 03/05/2014 06:25 AM, Lucas Stach wrote: Those are defined by the common PCI binding. It sounds like there's no dependency between pathces 1/6 and 2/6, so I should apply 1/6 to the Tegra tree, and Bjorn apply 2/6 to the PCI

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-03-06 Thread Lucas Stach
Am Donnerstag, den 06.03.2014, 10:36 -0700 schrieb Stephen Warren: On 03/05/2014 06:25 AM, Lucas Stach wrote: This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Tested-by: Stephen Warren swar...@nvidia.com I tested both

[PATCH v2 0/6] PCI irq mapping fixes and cleanups

2014-03-05 Thread Lucas Stach
breaking of the existing binding, which I'll send as a separate series. Lucas Stach (6): ARM: dts: tegra: add PCIe interrupt mapping properties PCI: tegra: use new OF interrupt mapping when possible PCI: rcar: use new OF interrupt mapping when possible ARM: dts: exynos5440: fix PCIe interrupt

[PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-03-05 Thread Lucas Stach
This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Signed-off-by: Lucas Stach l.st...@pengutronix.de Acked-by: Arnd Bergmann a...@arndb.de --- drivers/pci/host/pci-tegra.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion

[PATCH v2 1/6] ARM: dts: tegra: add PCIe interrupt mapping properties

2014-03-05 Thread Lucas Stach
Those are defined by the common PCI binding. Signed-off-by: Lucas Stach l.st...@pengutronix.de Acked-by: Arnd Bergmann a...@arndb.de --- Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt | 8 arch/arm/boot/dts/tegra20.dtsi| 4 arch/arm

[PATCH v2 6/6] PCI: designware: use new OF interrupt mapping when possible

2014-03-05 Thread Lucas Stach
This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Signed-off-by: Lucas Stach l.st...@pengutronix.de Acked-by: Arnd Bergmann a...@arndb.de --- v2: pass in parent dev to relevant functions, to make DT parsing work (spotted by Tim

[PATCH v2 3/6] PCI: rcar: use new OF interrupt mapping when possible

2014-03-05 Thread Lucas Stach
This is the recommended method of doing the IRQ mapping. Still fall back to the old method in order to not break the just submitted board files. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- v2: pass in parent device to pci_common_init(), to make DT parsing work. --- drivers/pci/host

[PATCH v2 4/6] ARM: dts: exynos5440: fix PCIe interrupt mapping

2014-03-05 Thread Lucas Stach
So it actually works. Signed-off-by: Lucas Stach l.st...@pengutronix.de Acked-by: Arnd Bergmann a...@arndb.de --- v2: fix build breakage by including arm-gic.h --- arch/arm/boot/dts/exynos5440.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v2 5/6] ARM: dts: imx6: add PCIe interrupt mapping properties

2014-03-05 Thread Lucas Stach
As defined by the common PCI bindings. Signed-off-by: Lucas Stach l.st...@pengutronix.de Acked-by: Arnd Bergmann a...@arndb.de --- v2: drop blank lines --- arch/arm/boot/dts/imx6qdl.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot

Re: [PATCH 7/7] PCI: designware: split samsung and fsl bindings

2014-03-04 Thread Lucas Stach
Am Freitag, den 28.02.2014, 21:03 +0100 schrieb Arnd Bergmann: On Friday 28 February 2014, Lucas Stach wrote: +Required properties: +- compatible: fsl,imx6q-pcie +- reg: base addresse and length of the pcie controller +- interrupts: First entry must contain interrupt handle for controller

Re: [PATCH 7/7] PCI: designware: split samsung and fsl bindings

2014-03-04 Thread Lucas Stach
Am Dienstag, den 04.03.2014, 15:53 +0100 schrieb Arnd Bergmann: On Tuesday 04 March 2014, Lucas Stach wrote: Right, we should be able to reuse the clock names. Though I'm not really sure how the Samsung clocks maps to those used on i.MX, as the names are a bit generic. Maybe someone from

Re: [PATCH 4/7] ARM: dts: exynos5440: fix PCIe interrupt mapping

2014-03-03 Thread Lucas Stach
Am Montag, den 03.03.2014, 16:53 +0900 schrieb Jingoo Han: On Monday, March 03, 2014 4:41 PM, Jingoo Han wrote: On Saturday, March 01, 2014 2:29 AM, Lucas Stach wrote: So it actually works. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/boot/dts/exynos5440

[PATCH 7/7] PCI: designware: split samsung and fsl bindings

2014-02-28 Thread Lucas Stach
The glue around the core designware IP is significantly different between the Exynos and i.MX, which is reflected in the DT bindings. Note that this patch doesn't change any bindings, but just alters the documentation to match reality of deployed DTs and kernels. Signed-off-by: Lucas Stach l.st

[PATCH 0/7] PCI irq mapping fixes and cleanups

2014-02-28 Thread Lucas Stach
This series cleans up the PCI irq mapping for all the ARM PCI host drivers, so they handle it in the way defined in the common PCI bindings. Testing appreciated. Lucas Stach (7): ARM: dts: tegra: add PCIe interrupt mapping properties PCI: tegra: use new OF interrupt mapping when possible

[PATCH 1/7] ARM: dts: tegra: add PCIe interrupt mapping properties

2014-02-28 Thread Lucas Stach
Those are defined by the common PCI binding. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt | 8 arch/arm/boot/dts/tegra20.dtsi| 4 arch/arm/boot/dts/tegra30.dtsi

[PATCH 2/7] PCI: tegra: use new OF interrupt mapping when possible

2014-02-28 Thread Lucas Stach
This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/pci/host/pci-tegra.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/pci/host/pci

[PATCH 4/7] ARM: dts: exynos5440: fix PCIe interrupt mapping

2014-02-28 Thread Lucas Stach
So it actually works. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/boot/dts/exynos5440.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 02a0a1226cef..65d425d9ec27 100644

[PATCH 5/7] ARM: dts: imx6: add PCIe interrupt mapping properties

2014-02-28 Thread Lucas Stach
As defined by the common PCI bindings. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/boot/dts/imx6qdl.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index fb28b2ecb1db..db3339e7d3a2 100644

Re: [PATCH 2/3] drm/exynos: add dt-binding documentation for rotator

2013-07-22 Thread Lucas Stach
-de...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121

Re: [PATCH 1/4] drm/exynos: rename compatible strings for hdmi subsystem

2013-06-19 Thread Lucas Stach
. Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5076 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49