Re: [GIT PULL] omap fixes against v3.16-rc4

2014-07-11 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [140710 14:37]: On Wed, Jul 09, 2014 at 08:35:52AM -0700, Tony Lindgren wrote: The following changes since commit cd3de83f147601356395b57a8673e9c5ff1e59d1: Linux 3.16-rc4 (2014-07-06 12:37:51 -0700) are available in the git repository at:

Re: [PATCH 6/6] tty: serial: Add 8250-core based omap driver

2014-07-11 Thread Tony Lindgren
* Sebastian Andrzej Siewior bige...@linutronix.de [140710 08:50]: On 07/10/2014 09:09 AM, Tony Lindgren wrote: You can test this pretty easily on beagleboard xm for example using v3.16-r4: I tried this with am335x-evm, dra7-evm and beaglebone (omap5-uevm and am335x-evmsk didn't want to

Re: [RFC PATCH 00/10] OMAP: GPMC: NAND: Introduce GPMC APIs for OMAP NAND

2014-07-11 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [140709 05:39]: Hi, The following hardware modules/registers are meant for NAND controller driver usage: - NAND I/O control (NAND address, data, command registers) - Prefetch/Write-post engine - ECC/BCH engine However, these registers sit in the GPMC

RE: [RFC PATCH 00/10] OMAP: GPMC: NAND: Introduce GPMC APIs for OMAP NAND

2014-07-11 Thread Gupta, Pekon
Hi Roger, From: Tony Lindgren [mailto:t...@atomide.com] * Roger Quadros rog...@ti.com [140709 05:39]: Hi, The following hardware modules/registers are meant for NAND controller driver usage: - NAND I/O control (NAND address, data, command registers) - Prefetch/Write-post engine - ECC/BCH

RE: [RFC PATCH 02/10] mtd: nand: omap: Always use chip-ecc.steps for BCH sector count

2014-07-11 Thread Gupta, Pekon
From: Quadros, Roger Instead of hardcoding use the pre-calculated chip-ecc.steps for configuring number of sectors to process with the BCH algorithm. This also avoids unnecessary access to the ECC_CONFIG register in omap_calculate_ecc_bch(). Signed-off-by: Roger Quadros rog...@ti.com ---

RE: [RFC PATCH 07/10] OMAP: GPMC: Introduce APIs for Configuring ECC Engine

2014-07-11 Thread Gupta, Pekon
Hi Roger, From: Quadros, Roger Even though the ECC/BCH engine is meant for exclusive use by the OMAP NAND controller, the ECC/BCH registers belong to the GPMC controller's register space Add omap_gpmc_ecc_configure_enable() and omap_gpmc_ecc_disable() to manage the ECC engine. OMAP NAND driver

RE: [RFC PATCH 09/10] mtd: nand: omap: Use GPMC APIs for accessing ECC/BCH engine

2014-07-11 Thread Gupta, Pekon
Roger, From: Quadros, Roger Don't access the ECC/BCH engine registers directly as they belong to the GPMC controller's register space. Use the relevant GPMC APIs instead. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mtd/nand/omap2.c | 191

Re: [PATCH v4 00/11] ARM: OMAP2+: AM33XX: Add suspend-resume support

2014-07-11 Thread Daniel Mack
On 07/11/2014 04:55 AM, Dave Gerlach wrote: This series adds suspend/resume support for am335x. Version 3 of this series can be found at [1]. I apologize for the large delay between this and the previous revision. This code has been heavily refined since the last version based on the various

Re: [RFC PATCH 00/10] OMAP: GPMC: NAND: Introduce GPMC APIs for OMAP NAND

2014-07-11 Thread Roger Quadros
Hi Pekon, On 07/11/2014 10:27 AM, Gupta, Pekon wrote: Hi Roger, From: Tony Lindgren [mailto:t...@atomide.com] * Roger Quadros rog...@ti.com [140709 05:39]: Hi, The following hardware modules/registers are meant for NAND controller driver usage: - NAND I/O control (NAND address, data,

RE: [RFC PATCH 00/10] OMAP: GPMC: NAND: Introduce GPMC APIs for OMAP NAND

2014-07-11 Thread Gupta, Pekon
From: Quadros, Roger On 07/11/2014 10:27 AM, Gupta, Pekon wrote: From: Tony Lindgren [mailto:t...@atomide.com] * Roger Quadros rog...@ti.com [140709 05:39]: Hi, The following hardware modules/registers are meant for NAND controller driver usage: - NAND I/O control (NAND address, data,

Re: [RFC PATCH 00/10] OMAP: GPMC: NAND: Introduce GPMC APIs for OMAP NAND

2014-07-11 Thread Roger Quadros
On 07/11/2014 12:42 PM, Gupta, Pekon wrote: From: Quadros, Roger On 07/11/2014 10:27 AM, Gupta, Pekon wrote: From: Tony Lindgren [mailto:t...@atomide.com] * Roger Quadros rog...@ti.com [140709 05:39]: Hi, The following hardware modules/registers are meant for NAND controller driver

Re: [RFC PATCH 02/10] mtd: nand: omap: Always use chip-ecc.steps for BCH sector count

2014-07-11 Thread Roger Quadros
On 07/11/2014 10:43 AM, Gupta, Pekon wrote: From: Quadros, Roger Instead of hardcoding use the pre-calculated chip-ecc.steps for configuring number of sectors to process with the BCH algorithm. This also avoids unnecessary access to the ECC_CONFIG register in omap_calculate_ecc_bch().

RE: [RFC PATCH 02/10] mtd: nand: omap: Always use chip-ecc.steps for BCH sector count

2014-07-11 Thread Gupta, Pekon
From: Quadros, Roger On 07/11/2014 10:43 AM, Gupta, Pekon wrote: From: Quadros, Roger [...] @@ -1176,6 +1172,7 @@ static int __maybe_unused omap_calculate_ecc_bch(struct mtd_info *mtd, { struct omap_nand_info *info = container_of(mtd, struct omap_nand_info,

Re: [RFC PATCH 02/10] mtd: nand: omap: Always use chip-ecc.steps for BCH sector count

2014-07-11 Thread Roger Quadros
On 07/11/2014 02:27 PM, Gupta, Pekon wrote: From: Quadros, Roger On 07/11/2014 10:43 AM, Gupta, Pekon wrote: From: Quadros, Roger [...] @@ -1176,6 +1172,7 @@ static int __maybe_unused omap_calculate_ecc_bch(struct mtd_info *mtd, { struct omap_nand_info *info = container_of(mtd,

Re: [PATCH] ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()

2014-07-11 Thread Roger Quadros
On 07/09/2014 03:49 PM, Roger Quadros wrote: Hi Rostislav, On 06/04/2014 05:24 PM, Rostislav Lisovy wrote: GPMC controller supports up to 8 memory devices connected to it. Since there is one statically allocated struct platform_device gpmc_nand_device it is not possible to configure the

Re: [PATCH] ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()

2014-07-11 Thread Roger Quadros
On 06/04/2014 05:24 PM, Rostislav Lisovy wrote: GPMC controller supports up to 8 memory devices connected to it. Since there is one statically allocated struct platform_device gpmc_nand_device it is not possible to configure the system to use more than one NAND device connected to the GPMC.

Re: [PATCH v4 00/11] ARM: OMAP2+: AM33XX: Add suspend-resume support

2014-07-11 Thread Andre Heider
Hi Dave, On Thu, Jul 10, 2014 at 09:55:38PM -0500, Dave Gerlach wrote: Hello, This series adds suspend/resume support for am335x. Version 3 of this series can be found at [1]. I apologize for the large delay between this and the previous revision. This code has been heavily refined since

Re: [PATCH v4 00/11] ARM: OMAP2+: AM33XX: Add suspend-resume support

2014-07-11 Thread Dave Gerlach
On 07/11/2014 02:59 AM, Daniel Mack wrote: On 07/11/2014 04:55 AM, Dave Gerlach wrote: This series adds suspend/resume support for am335x. Version 3 of this series can be found at [1]. I apologize for the large delay between this and the previous revision. This code has been heavily refined

Re: [PATCH v4 00/11] ARM: OMAP2+: AM33XX: Add suspend-resume support

2014-07-11 Thread Dave Gerlach
Andre, On 07/11/2014 10:30 AM, Andre Heider wrote: Hi Dave, On Thu, Jul 10, 2014 at 09:55:38PM -0500, Dave Gerlach wrote: Hello, This series adds suspend/resume support for am335x. Version 3 of this series can be found at [1]. I apologize for the large delay between this and the previous

[PATCHv2 04/10] ARM: dts: AM4372: Correct mailbox node data

2014-07-11 Thread Suman Anna
The mailbox DT node for AM4372 is enabled and is corrected to remove some properties that have crept in by mistake. Fixes: 9e3269b (ARM: dts: AM4372: Add L2, EDMA, mailbox, MMC and SHAM nodes) Cc: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Suman Anna s-a...@ti.com ---

[PATCHv2 07/10] ARM: OMAP2+: Avoid mailbox legacy device creation for DT-boot

2014-07-11 Thread Suman Anna
The legacy platform device for mailbox should not be created for a DT boot, so adjust the platform device initialization logic appropriately. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCHv2 08/10] ARM: OMAP2: hwmod_data: Remove legacy mailbox data and addrs

2014-07-11 Thread Suman Anna
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. Acked-by: Paul Walmsley p...@pwsan.com Signed-off-by: Suman Anna s-a...@ti.com

[PATCHv2 03/10] ARM: dts: AM33xx: Add mailbox node

2014-07-11 Thread Suman Anna
The mailbox DT node data has been added for AM33xx device. The mailbox IP in AM33xx is similar to the version found in OMAP4+ devices. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCHv2 02/10] ARM: dts: OMAP4: Add mailbox node

2014-07-11 Thread Suman Anna
The mailbox DT node data has been added for OMAP44xx devices. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 7e26d22..69408b5 100644 ---

[PATCHv2 10/10] ARM: AM33xx: hwmod_data: Remove legacy mailbox addrs

2014-07-11 Thread Suman Anna
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. Acked-by: Paul Walmsley p...@pwsan.com Signed-off-by: Suman Anna s-a...@ti.com ---

[PATCHv2 00/10] OMAP Mailbox DT node/hwmod cleanup

2014-07-11 Thread Suman Anna
Hi Tony, This is a refresh of the OMAP Mailbox DT node/hwmod cleanup series [1], addressing the review comments [2] from Pavel Machek about the Mailbox IP design parameters. The changes are limited to only the DTS patches, and mainly bring back the DT properties that were dropped in the previous

[PATCHv2 01/10] ARM: dts: OMAP2+: Add mailbox fifo and user information

2014-07-11 Thread Suman Anna
The number of mailbox fifos and users (IP interrupts) are added to the Mailbox DT nodes on OMAP2420, OMAP2430, OMAP3, and OMAP5 family of SoCs through the DT properties ti,mbox-num-fifos and ti,mbox-num-users properties. This data represents the same data that used to be represented in hwmod

[PATCHv2 06/10] ARM: DRA7: hwmod_data: Add mailbox hwmod data

2014-07-11 Thread Suman Anna
Add the hwmod data for the 13 instances of the system mailbox IP in DRA7 SoC. The patch is needed for performing a soft-reset while configuring the respective mailbox instance, otherwise is a non-essential change for functionality. The modules are smart idled on reset, and the IP module mode is

[PATCHv2 05/10] ARM: dts: DRA7: Add mailbox nodes

2014-07-11 Thread Suman Anna
DRA7xx has 13 system mailboxes, and is present on both the DRA72x and DRA74x family of SoCs. Add the DT nodes for all these 13 mailboxes. Except for mailbox 1, all other mailboxes do not have interrupts mapped into the MPU GIC by default. All the mailboxes have been disabled and the interrupts

[PATCHv2 09/10] ARM: OMAP4: hwmod_data: Remove legacy mailbox addrs

2014-07-11 Thread Suman Anna
The legacy-style definition of the hwmod addr space is no longer required after the addition of the OMAP4 mailbox DT node, so clean up this data. Cc: Paul Walmsley p...@pwsan.com Cc: Benoît Cousson bcous...@baylibre.com Signed-off-by: Suman Anna s-a...@ti.com ---

[PATCHv2 0/5] OMAP Mailbox framework adoption DT support

2014-07-11 Thread Suman Anna
Hi, This is a refresh of the OMAP Mailbox framework adoption DT support series [1], to work with the revised OMAP mailbox DT/hwmod cleanup series [2]. The series has one less patch than the previous series, with the patch mailbox/omap: add a custom of_xlate function squashed into the OMAP

[PATCHv2 3/5] ARM: dts: OMAP2+: Add sub mailboxes device node information

2014-07-11 Thread Suman Anna
The sub-mailbox devices are added to the Mailbox DT nodes on OMAP2420, OMAP2430, OMAP3, AM33xx, AM43xx, OMAP4 and OMAP5 family of SoCs. This data represents the same mailboxes that used to be represented in hwmod attribute data previously. The node name is chosen based on the .name field of

[PATCHv2 5/5] ARM: dts: OMAP2+: Add #mbox-cells property to all mailbox nodes

2014-07-11 Thread Suman Anna
The '#mbox-cells' property is added to all the OMAP mailbox nodes. This property is mandatory with the new mailbox framework. Cc: Benoît Cousson bcous...@baylibre.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell

[PATCHv2 4/5] mailbox/omap: adapt to the new mailbox framework

2014-07-11 Thread Suman Anna
The OMAP mailbox driver and its existing clients (remoteproc for OMAP4+ and TI DSP/Bridge for OMAP3) are adapted to use the generic mailbox framework. The main changes for the adaptation are: - The tasklet used for Tx is replaced with the state machine from the generic mailbox framework.

[PATCHv2 1/5] Documentation: dt: add omap mailbox bindings

2014-07-11 Thread Suman Anna
Add the device tree bindings document for OMAP2+ mailbox. Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala ga...@codeaurora.org Signed-off-by: Suman Anna s-a...@ti.com ---

[PATCHv2 2/5] mailbox/omap: add support for parsing dt devices

2014-07-11 Thread Suman Anna
Logic has been added to the OMAP2+ mailbox code to parse the mailbox dt nodes and construct the different sub-mailboxes associated with the instance. The DT representation of the sub-mailbox devices is different from legacy platform data representation to allow flexibility of interrupt

Re: [PATCHv2 0/5] OMAP Mailbox framework adoption DT support

2014-07-11 Thread Markus Mayer
On 11 July 2014 15:04, Suman Anna s-a...@ti.com wrote: Hi, This is a refresh of the OMAP Mailbox framework adoption DT support series [1], to work with the revised OMAP mailbox DT/hwmod cleanup series [2]. The series has one less patch than the previous series, with the patch