Re: [PATCH 6/6] mailbox/omap: add a custom of_xlate function

2014-06-25 Thread Arnd Bergmann
On Tuesday 24 June 2014 20:47:58 Suman Anna wrote: +static struct mbox_chan *omap_mbox_of_xlate(struct mbox_controller *controller, + const struct of_phandle_args *sp) +{ + phandle phandle = sp-args[0]; + struct device_node *node; +

[PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Marc Zyngier
All the Cortex-{A7,A15} implementations are using a GICv2. Same for the current arm64 platforms. Turns out that most of these platforms have described their GIC CPU interface size as being 4kB. while it is actually 8kB (the GICC_DIR register lives at offset 0x1000). This was found when

Re: [PATCH 15/15] drm/omap: Add infoframe dvi/hdmi mode support

2014-06-25 Thread Archit Taneja
Hi, On Tuesday 24 June 2014 03:34 PM, Tomi Valkeinen wrote: Make the omapdrm driver use the new HDMI ops when possible. omapdrm will call set_hdmi_mode (when available) to tell the encoder driver whether the monitor is a DVI or HDMI monitor, and if it's an HDMI monitor, omapdrm will call

Re: [PATCH v3 1/2] arm: dts: am4372: let boards access all nodes through phandles

2014-06-25 Thread Mark Rutland
On Wed, Jun 25, 2014 at 02:40:16AM +0100, Felipe Balbi wrote: Hi, On Tue, Jun 24, 2014 at 04:11:48PM -0500, Rob Herring wrote: On Mon, Jun 23, 2014 at 1:20 PM, Felipe Balbi ba...@ti.com wrote: by providing phandles to rtc, wdt, cpu and dispc nodes, boards can access them to add

Re: [PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Thierry Reding
On Wed, Jun 25, 2014 at 11:37:54AM +0100, Marc Zyngier wrote: All the Cortex-{A7,A15} implementations are using a GICv2. Same for the current arm64 platforms. Turns out that most of these platforms have described their GIC CPU interface size as being 4kB. while it is actually 8kB (the

Re: [PATCH 15/15] drm/omap: Add infoframe dvi/hdmi mode support

2014-06-25 Thread Tomi Valkeinen
On 25/06/14 14:03, Archit Taneja wrote: Hi, On Tuesday 24 June 2014 03:34 PM, Tomi Valkeinen wrote: Make the omapdrm driver use the new HDMI ops when possible. omapdrm will call set_hdmi_mode (when available) to tell the encoder driver whether the monitor is a DVI or HDMI monitor, and if

[PATCH] ARM: dts: Fix TI CPSW Phy mode selection on IGEP COM AQUILA.

2014-06-25 Thread Enric Balletbo i Serra
As this board use external clock for RMII interface we should specify 'rmii' phy mode and 'rmii-clock-ext' to make ethernet working. Signed-off-by: Enric Balletbo i Serra eballe...@iseebcn.com --- arch/arm/boot/dts/am335x-igep0033.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Rob Herring
On Wed, Jun 25, 2014 at 5:37 AM, Marc Zyngier marc.zyng...@arm.com wrote: All the Cortex-{A7,A15} implementations are using a GICv2. Same for the current arm64 platforms. Turns out that most of these platforms have described their GIC CPU interface size as being 4kB. while it is actually 8kB

[PATCH] arch: arm: mach-omap2: usb-tusb6010.c: Cleaning up variable is set more than once

2014-06-25 Thread Rickard Strandqvist
A struct member variable is set to the same value more than once This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- arch/arm/mach-omap2/usb-tusb6010.c |1 - 1 file changed, 1 deletion(-) diff

Re: [PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Marc Zyngier
On Wed, Jun 25 2014 at 01:21:17 PM, Rob Herring robherri...@gmail.com wrote: On Wed, Jun 25, 2014 at 5:37 AM, Marc Zyngier marc.zyng...@arm.com wrote: All the Cortex-{A7,A15} implementations are using a GICv2. Same for the current arm64 platforms. Turns out that most of these platforms have

[PATCH] ARM: DRA7-evm: Enable SATA PHY and USB PHY power supplies

2014-06-25 Thread Roger Quadros
The SATA and USB PHYs need the 1.8V and 3.3V supplies. The PHY drivers/framework don't yet support regulator supply so we have to keep these regulators always-on till then. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH/RESEND 9/9] drm/tilcdc: replace late_initcall with module_init

2014-06-25 Thread Russell King - ARM Linux
On Tue, Jun 24, 2014 at 05:04:36PM -0500, Darren Etheridge wrote: On 06/17/2014 09:17 AM, Guido Martínez wrote: Use module_init instead of late_initcall, as is the norm for modular drivers. module_init was used until 6e8de0bd6a51fdeebd5d975c4fcc426f730b339b (drm/tilcdc: add encoder slave

Re: [PATCH/RESEND 9/9] drm/tilcdc: replace late_initcall with module_init

2014-06-25 Thread Russell King - ARM Linux
On Wed, Jun 25, 2014 at 02:00:42PM +0100, Russell King - ARM Linux wrote: On Tue, Jun 24, 2014 at 05:04:36PM -0500, Darren Etheridge wrote: On 06/17/2014 09:17 AM, Guido Martínez wrote: Use module_init instead of late_initcall, as is the norm for modular drivers. module_init was used

Re: [PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Maxime Ripard
On Wed, Jun 25, 2014 at 11:37:54AM +0100, Marc Zyngier wrote: All the Cortex-{A7,A15} implementations are using a GICv2. Same for the current arm64 platforms. Turns out that most of these platforms have described their GIC CPU interface size as being 4kB. while it is actually 8kB (the

[PATCH v2 0/6] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-06-25 Thread Tomasz Figa
This series intends to add support for L2 cache on Exynos4 SoCs on boards running under secure firmware, which requires certain initialization steps to be done with help of firmware, as selected registers are writable only from secure mode. First four patches extend existing support for secure

[PATCH v2 4/6] ARM: mm: l2x0: Add support for overriding prefetch settings

2014-06-25 Thread Tomasz Figa
Signed-off-by: Tomasz Figa t.f...@samsung.com --- Documentation/devicetree/bindings/arm/l2cc.txt | 10 ++ arch/arm/mm/cache-l2x0.c | 46 ++ 2 files changed, 56 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/l2cc.txt

[PATCH v2 3/6] ARM: mm: cache-l2x0: Use l2c_write_sec() for LATENCY_CTRL registers

2014-06-25 Thread Tomasz Figa
According to the documentation, TAG_LATENCY_CTRL and DATA_LATENCY_CTRL registers of L2C-310 can be written only in secure mode, so l2c_write_sec() should be used to change them, instead of plain writel_relaxed(). Signed-off-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mm/cache-l2x0.c | 16

[PATCH v2 6/6] ARM: dts: exynos4: Add nodes for L2 cache controller

2014-06-25 Thread Tomasz Figa
This patch adds device tree nodes for L2 cache controller present on Exynos4 SoCs. Signed-off-by: Tomasz Figa t.f...@samsung.com --- arch/arm/boot/dts/exynos4210.dtsi | 9 + arch/arm/boot/dts/exynos4x12.dtsi | 14 ++ 2 files changed, 23 insertions(+) diff --git

[PATCH v2 1/6] ARM: mm: cache-l2x0: Add base address argument to write_sec callback

2014-06-25 Thread Tomasz Figa
For certain platforms (e.g. Exynos) it is necessary to read back some values from registers before they can be written (i.e. SMC calls that set multiple registers per call), so base address of L2C controller is needed for .write_sec operation. This patch adds base argument to .write_sec callback

[PATCH v2 5/6] ARM: EXYNOS: Add .write_sec outer cache callback for L2C-310

2014-06-25 Thread Tomasz Figa
Exynos4 SoCs equipped with an L2C-310 cache controller and running under secure firmware require certain registers of aforementioned IP to be accessed only from secure mode. This means that SMC calls are required for certain register writes. To handle this, an implementation of .write_sec callback

[PATCH v2 2/6] ARM: Get outer cache .write_sec callback from mach_desc only if not NULL

2014-06-25 Thread Tomasz Figa
Certain platforms (i.e. Exynos) might need to set .write_sec callback from firmware initialization which is happenning in .init_early callback of machine descriptor. However current code will overwrite the pointer with whatever is present in machine descriptor, even though it can be already set

Re: [PATCH v2 0/6] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-06-25 Thread Russell King - ARM Linux
On Wed, Jun 25, 2014 at 03:37:25PM +0200, Tomasz Figa wrote: This series intends to add support for L2 cache on Exynos4 SoCs on boards running under secure firmware, which requires certain initialization steps to be done with help of firmware, as selected registers are writable only from

Re: [PATCH v2 0/6] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-06-25 Thread Tomasz Figa
On 25.06.2014 15:50, Russell King - ARM Linux wrote: On Wed, Jun 25, 2014 at 03:37:25PM +0200, Tomasz Figa wrote: This series intends to add support for L2 cache on Exynos4 SoCs on boards running under secure firmware, which requires certain initialization steps to be done with help of

Re: [PATCH/RESEND 9/9] drm/tilcdc: replace late_initcall with module_init

2014-06-25 Thread Ezequiel García
(Ccing Guido back) Hello Russell, Darren, On 25 Jun 02:00 PM, Russell King - ARM Linux wrote: On Tue, Jun 24, 2014 at 05:04:36PM -0500, Darren Etheridge wrote: On 06/17/2014 09:17 AM, Guido Martínez wrote: Use module_init instead of late_initcall, as is the norm for modular drivers.

Re: [PATCH v2 0/6] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-06-25 Thread Russell King - ARM Linux
On Wed, Jun 25, 2014 at 04:13:16PM +0200, Tomasz Figa wrote: On 25.06.2014 15:50, Russell King - ARM Linux wrote: On Wed, Jun 25, 2014 at 03:37:25PM +0200, Tomasz Figa wrote: This series intends to add support for L2 cache on Exynos4 SoCs on boards running under secure firmware, which

Re: [PATCH/RESEND 9/9] drm/tilcdc: replace late_initcall with module_init

2014-06-25 Thread Russell King - ARM Linux
On Wed, Jun 25, 2014 at 11:32:46AM -0300, Ezequiel García wrote: (Ccing Guido back) Hello Russell, Darren, On 25 Jun 02:00 PM, Russell King - ARM Linux wrote: On Tue, Jun 24, 2014 at 05:04:36PM -0500, Darren Etheridge wrote: If I recall, the late_initcall stuff was done to try and make

Re: [PATCH/RESEND 8/9] drm/tilcdc: remove submodule destroy calls

2014-06-25 Thread Ezequiel García
On 24 Jun 05:06 PM, Darren Etheridge wrote: On 06/17/2014 09:17 AM, Guido Martínez wrote: The TI tilcdc driver is designed with a notion of submodules. Currently, at unload time, these submodules are iterated and destroyed. Now that the tilcdc remove order is fixed, this can be handled

Re: [PATCH v1 3/3] ARM: dts: am335x-bone: add support for beaglebone LCD4 cape

2014-06-25 Thread Ezequiel Garcia
On 25 Jun 04:38 AM, Gupta, Pekon wrote: From: Ezequiel Garcia On 24 Jun 05:54 PM, Pekon Gupta wrote: This patch adds support for LCD4 cape as advertised on http://elinux.org/CircuitCo:BeagleBone_LCD4 This cape has: * 480x272 TFT-LCD panel - LCD panel datasheet and timing

Re: [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape

2014-06-25 Thread Ezequiel Garcia
On 24 Jun 05:54 PM, Pekon Gupta wrote: +gpmc { + ranges = 0 0 0 0x0100;/* address range = 16MB (minimum GPMC partition) */ + nand@0,0 { + status = disabled; + reg = 0 0 4; /* device IO registers */ + pinctrl-names = default; +

Re: [PATCH v2 0/6] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-06-25 Thread Tomasz Figa
On 25.06.2014 16:37, Russell King - ARM Linux wrote: On Wed, Jun 25, 2014 at 04:13:16PM +0200, Tomasz Figa wrote: On 25.06.2014 15:50, Russell King - ARM Linux wrote: On Wed, Jun 25, 2014 at 03:37:25PM +0200, Tomasz Figa wrote: This series intends to add support for L2 cache on Exynos4 SoCs on

Re: [PATCH/RESEND 9/9] drm/tilcdc: replace late_initcall with module_init

2014-06-25 Thread Ezequiel García
Hi Russell, On 25 Jun 03:46 PM, Russell King - ARM Linux wrote: That doesn't make any sense. Using late_initcall for the tilcdc DRM driver would make the tilcdc DRM get probed before any other regular module_init driver, including the tda998x encoder. A module_init() is a

Re: [PATCH 6/6] mailbox/omap: add a custom of_xlate function

2014-06-25 Thread Suman Anna
Hi Arnd, On 06/25/2014 03:39 AM, Arnd Bergmann wrote: On Tuesday 24 June 2014 20:47:58 Suman Anna wrote: +static struct mbox_chan *omap_mbox_of_xlate(struct mbox_controller *controller, + const struct of_phandle_args *sp) +{ + phandle phandle

Re: [PATCH 1/2] ARM: DRA7: hwmod: Add OCP2SCP3 module

2014-06-25 Thread Kishon Vijay Abraham I
On Wednesday 18 June 2014 05:46 PM, Roger Quadros wrote: This module is needed for the SATA and PCIe PHYs. Signed-off-by: Roger Quadros rog...@ti.com Tested-by: Roger Quadros rog...@ti.com I used this patch for testing PCIe. Tested-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH 2/2] arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems

2014-06-25 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 subsystem present in DRA7xx SOC. Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Tested-by: Kishon Vijay Abraham I kis...@ti.com --- Please find the

[PATCH 0/2] arm: hwmod: dra7: Add PCIe data and PCIe PHY data

2014-06-25 Thread Kishon Vijay Abraham I
[1] is split into separate series in order for individual subsystem Maintainers to pick up the patches. This series handles the PCIe hwmod data for DRA7. Please find the bootlog with these hwmod patches @ [2] [1] - https://lkml.org/lkml/2014/5/29/258 [2] - http://paste.ubuntu.com/7701601/

[PATCH 1/2] arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phy

2014-06-25 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 phy present in DRA7xx SOC. Also added the missing CLKCTRL OFFSET macro and CONTEXT OFFSET macro for pcie1 phy and pcie2 phy. Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Kishon Vijay

Re: [PATCH 7/9] ARM: OMAP2: hwmod_data: Remove legacy mailbox data and addrs

2014-06-25 Thread Paul Walmsley
On Tue, 24 Jun 2014, Suman Anna wrote: OMAP2 devices are devicetree boot only, and the legacy mode of mailbox device creation should no longer be used, so remove the mailbox attribute data and the hwmod addr space used for creating mailboxes in legacy mode. Cc: Paul Walmsley p...@pwsan.com

Re: [PATCH 9/9] ARM: AM33xx: hwmod_data: Remove legacy mailbox addrs

2014-06-25 Thread Paul Walmsley
On Tue, 24 Jun 2014, Suman Anna wrote: The legacy-style definition of the hwmod addr space is no longer required as AM33xx/AM43xx are DT-boot only, and the minimal mailbox DT nodes have been added, so clean up this data. Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Suman Anna

Re: [PATCH] ARM: DRA7-evm: Enable SATA PHY and USB PHY power supplies

2014-06-25 Thread Nishanth Menon
On 06/25/2014 07:56 AM, Roger Quadros wrote: The SATA and USB PHYs need the 1.8V and 3.3V supplies. The PHY drivers/framework don't yet support regulator supply so we have to keep these regulators always-on till then. Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH v1 3/3] ARM: dts: am335x-bone: add support for beaglebone LCD4 cape

2014-06-25 Thread Jason Kridner
On Wed, Jun 25, 2014 at 1:49 AM, Gupta, Pekon pe...@ti.com wrote: From: Jason Kridner [mailto:jkrid...@gmail.com] On Tue, Jun 24, 2014 at 8:24 AM, Pekon Gupta pe...@ti.com wrote: This patch adds support for LCD4 cape as advertised on http://elinux.org/CircuitCo:BeagleBone_LCD4 [...] diff

RE: [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape

2014-06-25 Thread Gupta, Pekon
From: Ezequiel Garcia [mailto:ezequ...@vanguardiasur.com.ar] On 24 Jun 05:54 PM, Pekon Gupta wrote: +gpmc { +ranges = 0 0 0 0x0100;/* address range = 16MB (minimum GPMC partition) */ +nand@0,0 { +status = disabled; +reg = 0 0 4; /* device IO