[Resend/PATCH] arm: dts: dra7: Add qspi device.

2014-05-06 Thread Sourav Poddar
These add device tree entry for qspi controller driver on dra7-evm. Signed-off-by: Sourav Poddar --- Depends on sricharan's irq crossbar. arch/arm/boot/dts/dra7-evm.dts | 80 arch/arm/boot/dts/dra7.dtsi| 14 +++ 2 files change

Re: [Resend/PATCH] arm: dts: am43x-epos: Add qspi device.

2014-05-06 Thread sourav
Hi Tony, On Monday 28 April 2014 07:12 PM, Sourav Poddar wrote: This patch adds qspi nodes for am43xx SOC devices. Signed-off-by: Sourav Poddar This patch has been posted many times before. If this patch looks OK, can it be picked? --- Note, checpatch gives 1 warning on flash compatible

[Resend/PATCH] arm: dts: am43x-epos: Add qspi device.

2014-04-28 Thread Sourav Poddar
This patch adds qspi nodes for am43xx SOC devices. Signed-off-by: Sourav Poddar --- Note, checpatch gives 1 warning on flash compatible string "mx66l51235l". This flash is supported in m25p80 driver and the driver is used for other flash devices also. Hence, each flash compati

Re: [PATCH v4 1/2] i2c: add DMA support for freescale i2c driver

2014-04-04 Thread sourav
+ +dma->chan_tx = dma_request_slave_channel(dev, "tx"); +return 0; To be more clear, return here looks to be some leftover. ?? Looks to be some leftover? +if (!dma->chan_tx) { +dev_info(dev, "DMA tx channel request failed\n"); +ret = -ENODEV; +goto fail_a

Re: [PATCH v4 1/2] i2c: add DMA support for freescale i2c driver

2014-04-04 Thread sourav
Hi, On Friday 04 April 2014 08:11 AM, Yuan Yao wrote: Add dma support for i2c. This function depend on DMA driver. You can turn on it by write both the dmas and dma-name properties in dts node. Signed-off-by: Yuan Yao --- drivers/i2c/busses/i2c-imx.c | 372 +

Re: [PATCH v2 1/2] SPI: Add driver for Cadence SPI controller

2014-04-04 Thread sourav
HI, On Friday 04 April 2014 02:34 PM, sourav wrote: Hi Harini, On Thursday 03 April 2014 04:40 PM, Harini Katakam wrote: Add driver for Cadence SPI controller. This is used in Xilinx Zynq. Signed-off-by: Harini Katakam --- I had looked at cadence qspi controller. What I can see is that your

Re: [PATCH v2 1/2] SPI: Add driver for Cadence SPI controller

2014-04-04 Thread sourav
uot; ? and the patch looks fine. But, to avail the maximum throughput, I see cadence qspi supports direct/indirect mode of operations, as well as read data capture logic. So, do you intent to add any of the above in your driver? Thanks, Sourav v2 changes: - Use xilinx compatible string too. - Ch

Re: [PATCH 02/10] mtd: st_spi_fsm: Supply all register address and bit logic defines

2013-11-18 Thread Sourav Poddar
On Monday 18 November 2013 11:02 PM, Lee Jones wrote: On Mon, 18 Nov 2013, Mark Brown wrote: On Mon, Nov 18, 2013 at 04:02:26PM +, Lee Jones wrote: On Mon, 18 Nov 2013, Mark Brown wrote: Like I say I'm suggesting that the bit of the code that understands the flash chip is separate to the

Re: linux-next: build failure after merge of the spi tree

2013-08-27 Thread Sourav Poddar
Hi, On Tuesday 27 August 2013 11:45 AM, Stephen Rothwell wrote: Hi Mark, After merging the spi tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/spi/spi-ti-qspi.c:19:0: include/linux/module.h:87:32: error: '__mod_of_device_table' aliased to un

[RFC/PATCH 2/2] driver: spi: Add quad spi read support

2013-08-01 Thread Sourav Poddar
once the ongoing discussion in the community is freezed. This patch is posted to demonstrate how patch 1 of the series will support quad read. [1]: http://comments.gmane.org/gmane.linux.kernel.spi.devel/14047 Signed-off-by: Sourav Poddar --- drivers/spi/spi-ti-qspi.c | 22

[PATCHv8 1/2] drivers: spi: Add qspi flash controller

2013-08-01 Thread Sourav Poddar
. - All iterations went through without failure. Test2: Use mtd utilities: - flash_erase to erase the flash device - nanddump to read data back. - nandwrite to write to the data flash. diff between the write and read data shows zero. Signed-off-by: Sourav Poddar --- I have kept few more than 80

[PATCHv8 0/2] Add ti qspi controller

2013-08-01 Thread Sourav Poddar
This patch series add support for ti qspi controller. Adapted this series on top of Mark brown series[1]: [1]: https://patchwork.kernel.org/patch/2834694/ Sourav Poddar (2): drivers: spi: Add qspi flash controller driver: spi: Add quad spi read support Documentation/devicetree/bindings

Re: [PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-19 Thread Sourav Poddar
Hi Mark, On Thursday 18 July 2013 04:12 PM, Mark Brown wrote: On Thu, Jul 18, 2013 at 03:31:26PM +0530, Sourav Poddar wrote: QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct

Re: [PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-19 Thread Sourav Poddar
Hi Felipe, On Thursday 18 July 2013 04:54 PM, Felipe Balbi wrote: On Thu, Jul 18, 2013 at 04:48:41PM +0530, Sourav Poddar wrote: +static void qspi_write_msg(struct ti_qspi *qspi, struct spi_transfer *t) +{ + const u8 *txbuf; + int wlen, count; + + count = t->len; + tx

Re: [PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-18 Thread Sourav Poddar
On Friday 19 July 2013 12:38 AM, Trent Piepho wrote: On Thu, Jul 18, 2013 at 3:01 AM, Sourav Poddar wrote: +Required properties: +- compatible : should be "ti,dra7xxx-qspi". +- reg: Should contain QSPI registers location and length. +- #address-cells, #size-cells : Must be pres

Re: [PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-18 Thread Sourav Poddar
e up with a use case where we would need to handle IRQs which we decided to mask, but perhaps there might be some cases, I don't know. Based on that, I believe Sourav is reading IRQSTATUS_RAW$n, then he need to clear the masked bits. That's not the issue - the issue is that if none of th

Re: [PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-18 Thread Sourav Poddar
On Thursday 18 July 2013 04:54 PM, Felipe Balbi wrote: On Thu, Jul 18, 2013 at 04:48:41PM +0530, Sourav Poddar wrote: +static void qspi_write_msg(struct ti_qspi *qspi, struct spi_transfer *t) +{ + const u8 *txbuf; + int wlen, count; + + count = t->len; + txbuf

Re: [RFC/PATCHv2 3/3] driver: spi: Add quad spi read support

2013-07-18 Thread Sourav Poddar
On Thursday 18 July 2013 04:14 PM, Mark Brown wrote: On Thu, Jul 18, 2013 at 03:31:27PM +0530, Sourav Poddar wrote: Since, qspi controller uses quad read. Configuring the command register, if the transfer of data needs dual or quad lines. This patch has been done on top of the following patch

Re: [PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-18 Thread Sourav Poddar
On Thursday 18 July 2013 04:12 PM, Mark Brown wrote: On Thu, Jul 18, 2013 at 03:31:26PM +0530, Sourav Poddar wrote: QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for

Re: [PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-18 Thread Sourav Poddar
Hi Felipe, On Thursday 18 July 2013 03:54 PM, Felipe Balbi wrote: Hi, it might be just me, but ... On Thu, Jul 18, 2013 at 03:31:26PM +0530, Sourav Poddar wrote: +static inline unsigned long ti_qspi_readl_data(struct ti_qspi *qspi, + unsigned long reg, int wlen

[RFC/PATCHv2 1/3] driver: spi: Modify core to compute the message length

2013-07-18 Thread Sourav Poddar
Make spi core calculate the message length while populating the other transfer parameters. Usecase, driver can use it to populate framelength filed in their controller. Signed-off-by: Sourav Poddar --- drivers/spi/spi.c |1 + include/linux/spi/spi.h |1 + 2 files changed, 2

[RFC/PATCHv2 3/3] driver: spi: Add quad spi read support

2013-07-18 Thread Sourav Poddar
as the parent patch goes[1] [1]: http://comments.gmane.org/gmane.linux.kernel.spi.devel/14047 Signed-off-by: Sourav Poddar --- v1->v2 Added support for dual also. drivers/spi/spi-ti-qspi.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/spi/

[PATCHv4 2/3] drivers: spi: Add qspi flash controller

2013-07-18 Thread Sourav Poddar
configure controller clocks, device control register and for defining low level transfer apis which will be used by the spi framework to transfer data to the slave spi device(flash in this case). Signed-off-by: Sourav Poddar --- v3->v4 - Did miscellaneous cleanup - Added power management supp

[PATCH 0/3] spi changes and ti quad spi controller.

2013-07-18 Thread Sourav Poddar
Add support for calculating message length in spi framework. Add support for quad spi controller. Patch 2 of this series had been posted before. Sending along with the series along with ather propsed change. Sourav Poddar (3): driver: spi: Modify core to compute the message length drivers

Re: [PATCHv3 2/3] drivers: spi: Add qspi flash controller

2013-07-11 Thread Sourav Poddar
On Monday 08 July 2013 08:02 PM, Felipe Balbi wrote: Hi, On Mon, Jul 08, 2013 at 07:12:59PM +0530, Sourav Poddar wrote: +static inline unsigned long dra7xxx_readl(struct dra7xxx_qspi *qspi, + unsigned long reg) +{ + return readl(qspi->base + reg); +} + +static inline v

Re: [PATCHv3 2/3] drivers: spi: Add qspi flash controller

2013-07-09 Thread Sourav Poddar
On Monday 08 July 2013 08:02 PM, Felipe Balbi wrote: Hi, On Mon, Jul 08, 2013 at 07:12:59PM +0530, Sourav Poddar wrote: +static inline unsigned long dra7xxx_readl(struct dra7xxx_qspi *qspi, + unsigned long reg) +{ + return readl(qspi->base + reg); +} + +static inline v

Re: [PATCHv3 2/3] drivers: spi: Add qspi flash controller

2013-07-09 Thread Sourav Poddar
On Tuesday 09 July 2013 02:03 AM, Nishanth Menon wrote: On 19:12-20130708, Sourav Poddar wrote: [..] generic comment, given our historical mistakes of making drivers specific to a SoC family, it never is. Now, ti-qspi in file name is a step in the right direction, but, rest of the code(function

[RFC/PATCH 3/3] driver: spi: Add quad spi read support

2013-07-08 Thread Sourav Poddar
://comments.gmane.org/gmane.linux.kernel.spi.devel/14047 Signed-off-by: Sourav Poddar --- drivers/spi/spi-ti-qspi.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c index 430de9c..307cbed 100644 --- a/drivers/spi/spi-ti

[PATCHv3 2/3] drivers: spi: Add qspi flash controller

2013-07-08 Thread Sourav Poddar
configure controller clocks, device control register and for defining low level transfer apis which will be used by the spi framework to transfer data to the slave spi device(flash in this case). Signed-off-by: Sourav Poddar --- v2->v3 1. Add threaded irq support 2. made the driver more generic in te

[RFC/PATCH 1/3] driver: spi: Modify core to compute the message length

2013-07-08 Thread Sourav Poddar
Make spi core calculate the message length while populating the other transfer parameters. This will be useful in cases where controller driver need to configure its framelength field without iterating through the linklist again in the driver controller. Signed-off-by: Sourav Poddar

[PATCH 0/3] spi changes and ti quad spi controller.

2013-07-08 Thread Sourav Poddar
Add support for calculating message length in spi framework. Add support for quad spi controller. Patch 2 of this series had been posted before. Sending along with the series along with ather propsed change. Sourav Poddar (3): driver: spi: Modify core to compute the message length drivers

Re: [PATCHv2] drivers: mtd: spinand: Add generic spinand frameowrk.

2013-07-03 Thread Sourav Poddar
Hi, On Wednesday 03 July 2013 10:47 PM, Florian Fainelli wrote: Hello, 2013/7/3 Sourav Poddar: From: Mona Anonuevo This patch adds support for a generic spinand framework(spinand_mtd.c). This frameowrk can be used for other spi based flash devices. The idea is to have a common model under

[PATCHv2] drivers: mtd: spinand: Add generic spinand frameowrk.

2013-07-03 Thread Sourav Poddar
simply attaches itself to it.) Signed-off-by: Mona Anonuevo Signed-off-by: Tuan Nguyen Signed-off-by: Sourav Poddar This patch was sent as a part of a series[1]; but this can go in as a standalone patch. [1]: https://lkml.org/lkml/2013/6/26/83 v1->v2: seperated the specific micron dri

Re: [PATCHv2] drivers: spi: Add qspi flash controller

2013-07-02 Thread Sourav Poddar
Hi Sekhar, On Tuesday 02 July 2013 04:27 PM, Sekhar Nori wrote: On 7/2/2013 2:26 PM, Sourav Poddar wrote: The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped

Re: [PATCHv2] drivers: spi: Add qspi flash controller

2013-07-02 Thread Sourav Poddar
On Tuesday 02 July 2013 04:01 PM, Felipe Balbi wrote: Hi, On Tue, Jul 02, 2013 at 03:53:49PM +0530, Sourav Poddar wrote: On Tuesday 02 July 2013 03:46 PM, Felipe Balbi wrote: Hi, On Tue, Jul 02, 2013 at 03:30:42PM +0530, Sourav Poddar wrote: +static int dra7xxx_qspi_setup(struct spi_device

Re: [PATCHv2] drivers: spi: Add qspi flash controller

2013-07-02 Thread Sourav Poddar
s. Yes, I defaulted my driver to assume 8 bits. I will introduce case by case reads based on t->len Something like.. case 8: readb(); case 16: readw(); case 32: readl(); ~Sourav -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCHv2] drivers: spi: Add qspi flash controller

2013-07-02 Thread Sourav Poddar
On Tuesday 02 July 2013 03:46 PM, Felipe Balbi wrote: Hi, On Tue, Jul 02, 2013 at 03:30:42PM +0530, Sourav Poddar wrote: +static int dra7xxx_qspi_setup(struct spi_device *spi) +{ + struct dra7xxx_qspi *qspi = + spi_master_get_devdata(spi->master); + +

Re: [PATCHv2] drivers: spi: Add qspi flash controller

2013-07-02 Thread Sourav Poddar
Hi Felipe, On Tuesday 02 July 2013 02:54 PM, Felipe Balbi wrote: Hi, On Tue, Jul 02, 2013 at 02:26:39PM +0530, Sourav Poddar wrote: diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index 33f9c09..ea14eff 100644 --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile @@ -46,6 +46,7 @@ obj

[PATCHv2] drivers: spi: Add qspi flash controller

2013-07-02 Thread Sourav Poddar
configure controller clocks, device control register and for defining low level transfer apis which will be used by the spi framework to transfer data to the slave spi device(flash in this case). Signed-off-by: Sourav Poddar --- This patch was sent as a part of a series[1]; but this can go in as a

Re: [PATCH 2/3] drivers: spi: Add qspi flash controller

2013-07-01 Thread Sourav Poddar
Hi Mark, Thanks for the review. Comments in lined. On Monday 01 July 2013 04:26 PM, Mark Brown wrote: On Wed, Jun 26, 2013 at 01:11:11PM +0530, Sourav Poddar wrote: +static int dra7xxx_qspi_prepare_xfer(struct spi_master *master) +{ + return 0; +} + +static int

Re: [PATCH 2/3] drivers: spi: Add qspi flash controller

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface

Re: [PATCH 3/3] drivers: mtd: spinand: Add qspi spansion flash controller

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: The patch adds support for spansion s25fl256s spi flash controller. Currently, the patch supports only SPI based transaction. As, the qspi to which flash is attached supports memory mapped interface, support will be added in

Re: [PATCH 0/3] spi/mtd generic framework,ti qspi controller and spansion driver

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: This patch series add support for the generic spi based flash framework(spinand_mtd), which can be used used by any spi based flash device to attach itself to mtd framework. The first patch of this series includes both the generic

Re: [PATCH 1/3] drivers: mtd: spinand: Add generic spinand frameowrk and micron driver.

2013-06-30 Thread Sourav Poddar
+ Artem On Wednesday 26 June 2013 01:11 PM, Sourav Poddar wrote: From: Mona Anonuevo This patch adds support for a generic spinand framework(spinand_mtd.c). This frameowrk can be used for other spi based flash devices also. The idea is to have a common model under drivers/mtd, as also present

Re: [PATCH 1/3] drivers: mtd: spinand: Add generic spinand frameowrk and micron driver.

2013-06-26 Thread Sourav Poddar
Hi Kamlakant, On Wednesday 26 June 2013 08:52 PM, Kamlakant Patel wrote: On Wed, Jun 26, 2013 at 01:11:10PM +0530, Sourav Poddar wrote: From: Mona Anonuevo This patch adds support for a generic spinand framework(spinand_mtd.c). This frameowrk can be used for other spi based flash devices also

[PATCH 3/3] drivers: mtd: spinand: Add qspi spansion flash controller

2013-06-26 Thread Sourav Poddar
to the generic spinand mtd framework proposed in the first patch of the series. Signed-off-by: Sourav Poddar --- drivers/mtd/spinand/Kconfig |7 + drivers/mtd/spinand/Makefile|2 +- drivers/mtd/spinand/ti-qspi-flash.c | 373 +++ 3 files

[PATCH 1/3] drivers: mtd: spinand: Add generic spinand frameowrk and micron driver.

2013-06-26 Thread Sourav Poddar
part simply attaches itself to it.) The generic frework will be used later by me for a SPI based spansion S25FL256 device. The patch also contains a micron driver attaching itself to generic framework. Signed-off-by: Mona Anonuevo Signed-off-by: Tuan Nguyen Signed-off-by: Sourav Poddar [I

[PATCH 0/3] spi/mtd generic framework,ti qspi controller and spansion driver

2013-06-26 Thread Sourav Poddar
: Tested the generic framework(spinand_mtd.c) along with patch(2&3) on my dra7xx board for write/erase/read using nand utils. Compile tested(spinand_lld.c). Mona Anonuevo (1): drivers: mtd: spinand: Add generic spinand frameowrk and micron driver. Sourav Poddar (2): drivers: spi: Add

[PATCH 2/3] drivers: spi: Add qspi flash controller

2013-06-26 Thread Sourav Poddar
configure controller clocks, device control register and for defining low level transfer apis which will be used by the spi framework to transfer data to the slave spi device(flash in this case). Signed-off-by: Sourav Poddar --- drivers/spi/Kconfig |6 + drivers/spi/Makefile |1 + drivers

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-24 Thread Sourav Poddar
On Monday 24 June 2013 05:09 PM, Sekhar Nori wrote: Sourav, On 6/24/2013 3:49 PM, Tony Lindgren wrote: Hi, For merging this series, I suggest the following sets: * Joel A Fernandes [130620 14:13]: spi: omap2-mcspi: add generic DMA request support to the DT binding spi: omap2-mcspi

Re: [PATCH v12 09/11] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-21 Thread Sourav Poddar
list here looks absurldy large...) but if you don't send me the patch and/or ignore bounces then it's going to take longer. I have send you this patch seperately. Thanks , Sourav -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [PATCH v12 08/11] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-06-21 Thread Sourav Poddar
", "tx1", "rx1"; +}; If the patch looks good to you, these can go independently in your tree. Reviewed-by: Sourav Poddar ~Sourav -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v12 09/11] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-06-21 Thread Sourav Poddar
"cannot get DMA TX channel\n"); + status = -ENODEV; + break; + } - mcspi->dma_channels[i].dma_tx_sync_dev = dma_res->start; + mcspi->dma_channels[i]

Re: [PATCH] serial: omap: repair building without PM_SLEEP

2013-06-01 Thread Sourav Poddar
Hi Arnd, On Saturday 01 June 2013 02:48 PM, Arnd Bergmann wrote: A recent bug fix in 3.10, ddd85e225c "serial: omap: prevent runtime PM for "no_console_suspend"", introduced a regression from an obvious typo: drivers/tty/serial/omap-serial.c:1677:14: error: 'serial_omap_complete' undecla

[Resend/PATCHv5 3/3] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-05-15 Thread Sourav Poddar
Cc: Rajendra nayak Cc: Grygorii Strashko Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/mach-omap2/omap_device.c |9 ++--- arch/arm/mach-omap2/omap_device.h | 10 -- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/arch/arm/mach-omap2/omap_de

[Resend/PATCHv5 1/3] arm: omap2+: serial: remove no_console_suspend support

2013-05-15 Thread Sourav Poddar
"no_console_suspend" is no longer handled in platform file, Since the omap serial driver is now adapted to prevent console UART idleing during suspend. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/

[Resend/PATCHv5 2/3] arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property.

2013-05-15 Thread Sourav Poddar
nce there is no driver for the OCM RAM block, we are not affected by the automatic idle on suspend anyways which means "ti,no_idle_on_suspend" can be safely removed since there are no users for it. Cc: Benoit Cousson Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Sig

[Resend/PATCHv5 0/3] Omap serial cleanup

2013-05-15 Thread Sourav Poddar
/274 The following changes since commit b973425cbb51e08301b34fecdfd476a44507d8cf: Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2013-05-14 09:30:54 -0700) are available in the git repository at: git://gitorious.org/linux-connectivity/linux-

Re: [PATCHv5 1/2] driver: tty: serial: Move "uart_console" def to core header file.

2013-05-15 Thread Sourav Poddar
Hi, On Wednesday 15 May 2013 08:27 PM, Sourav Poddar wrote: On Wednesday 15 May 2013 08:27 PM, Greg KH wrote: On Wed, May 15, 2013 at 08:13:09PM +0530, Sourav Poddar wrote: Hi Greg, On Saturday 27 April 2013 03:48 AM, Greg KH wrote: On Fri, Apr 26, 2013 at 03:03:07PM -0700, Kevin Hilman wrote

[Resned/PATCHv5 0/2] Serial fixes

2013-05-15 Thread Sourav Poddar
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2013-05-14 09:30:54 -0700) are available in the git repository at: git://gitorious.org/linux-connectivity/linux-connectivity.git serial_fix_resend Sourav Poddar (2): driver: tty: serial: Move "uart_console" def

[Resend/PATCHv5 1/2] driver: tty: serial: Move "uart_console" def to core header file.

2013-05-15 Thread Sourav Poddar
-by: Kevin Hilman Signed-off-by: Sourav Poddar --- drivers/tty/serial/mpc52xx_uart.c | 10 -- drivers/tty/serial/serial_core.c |6 -- include/linux/serial_core.h |7 +++ 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/drivers/tty/serial/mpc52xx

[Resend/PATCHv5 2/2] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-05-15 Thread Sourav Poddar
The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Reviewed-by: Felipe Balbi Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman Signed-off-by: Sourav Poddar --- drivers/tty/serial/omap-seria

Re: [PATCHv5 1/2] driver: tty: serial: Move "uart_console" def to core header file.

2013-05-15 Thread Sourav Poddar
On Wednesday 15 May 2013 08:27 PM, Greg KH wrote: On Wed, May 15, 2013 at 08:13:09PM +0530, Sourav Poddar wrote: Hi Greg, On Saturday 27 April 2013 03:48 AM, Greg KH wrote: On Fri, Apr 26, 2013 at 03:03:07PM -0700, Kevin Hilman wrote: Hi Greg, Sourav Poddar writes: Move "uart_co

Re: [PATCHv5 1/2] driver: tty: serial: Move "uart_console" def to core header file.

2013-05-15 Thread Sourav Poddar
Hi Greg, On Saturday 27 April 2013 03:48 AM, Greg KH wrote: On Fri, Apr 26, 2013 at 03:03:07PM -0700, Kevin Hilman wrote: Hi Greg, Sourav Poddar writes: Move "uart_console" definition to serial core header file, so that it can be used by serial drivers. Get rid of the uart_console

[PATCH 1/3] arm: omap2+: serial: remove no_console_suspend support

2013-04-26 Thread Sourav Poddar
"no_console_suspend" is no longer handled in platform file, Since the omap serial driver is now adapted to prevent console UART idleing during suspend. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/

[PATCH 3/3] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-26 Thread Sourav Poddar
Cc: Rajendra nayak Cc: Grygorii Strashko Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/mach-omap2/omap_device.c |9 ++--- arch/arm/mach-omap2/omap_device.h | 10 -- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/arch/arm/mach-omap2/omap_de

[PATCH 2/3] arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property.

2013-04-26 Thread Sourav Poddar
nce there is no driver for the OCM RAM block, we are not affected by the automatic idle on suspend anyways which means "ti,no_idle_on_suspend" can be safely removed since there are no users for it. Cc: Benoit Cousson Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Sig

[PATCHv5 0/3] Omap serial cleanup

2013-04-26 Thread Sourav Poddar
d731: Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (2013-04-22 15:00:59 -0700) are available in the git repository at: git://gitorious.org/linux-connectivity/linux-connectivity.git omap_serial_cleanup Sourav Poddar (3): arm: omap2+: serial

[PATCHv5 0/2] Serial fixes

2013-04-26 Thread Sourav Poddar
5:00:59 -0700) are available in the git repository at: git://gitorious.org/linux-connectivity/linux-connectivity.git serial_fix Sourav Poddar (2): driver: tty: serial: Move "uart_console" def to core header file. driver: serial: omap: prevent runtime PM for "no_console_suspend&qu

Re: [PATCHv5 0/3] Serial fixes

2013-04-26 Thread Sourav Poddar
On Saturday 27 April 2013 01:34 AM, Sourav Poddar wrote: Hi, This patch series contains fixes around the issue that the console UART should not idled on suspend while using "no_console_suspend" in bootargs. The approach thought of is to modify the serial core/serial driver to bypass

[PATCHv5 1/2] driver: tty: serial: Move "uart_console" def to core header file.

2013-04-26 Thread Sourav Poddar
Move "uart_console" definition to serial core header file, so that it can be used by serial drivers. Get rid of the uart_console defintion from mpc52xx_uart driver. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --

[PATCHv5 2/2] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-26 Thread Sourav Poddar
The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 34 +- 1 files c

[PATCHv5 0/3] Serial fixes

2013-04-26 Thread Sourav Poddar
5:00:59 -0700) are available in the git repository at: git://gitorious.org/linux-connectivity/linux-connectivity.git serial_fix Sourav Poddar (2): driver: tty: serial: Move "uart_console" def to core header file. driver: serial: omap: prevent runtime PM for "no_console_suspend&qu

Re: [PATCHv4 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-26 Thread Sourav Poddar
Hi Kevin, On Friday 26 April 2013 11:58 PM, Kevin Hilman wrote: Sourav Poddar writes: The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi ---

[PATCHv4 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-26 Thread Sourav Poddar
The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 28 +++- 1 files changed, 27

[PATCHv4 4/5] arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property.

2013-04-26 Thread Sourav Poddar
nce there is no driver for the OCM RAM block, we are not affected by the automatic idle on suspend anyways which means "ti,no_idle_on_suspend" can be safely removed since there are no users for it. Cc: Benoit Cousson Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Sig

[PATCHv4 3/5] arm: omap2+: serial: remove no_console_suspend support

2013-04-26 Thread Sourav Poddar
"no_console_suspend" is no longer handled in platform file, Since the omap serial driver is now adapted to prevent console UART idleing during suspend. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/

[PATCHv4 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-26 Thread Sourav Poddar
Cc: Rajendra nayak Cc: Grygorii Strashko Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/mach-omap2/omap_device.c |9 ++--- arch/arm/mach-omap2/omap_device.h | 10 -- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/arch/arm/mach-omap2/omap_de

[PATCHv4 0/5] Serial Omap fixes and cleanups

2013-04-26 Thread Sourav Poddar
(2013-04-22 15:00:59 -0700) are available in the git repository at: git://gitorious.org/linux-connectivity/linux-connectivity.git serial_omap_fix_cleanup Sourav Poddar (5): driver: tty: serial: Move "uart_console" def to core header file. driver: serial: omap: prevent runt

[PATCHv4 1/5] driver: tty: serial: Move "uart_console" def to core header file.

2013-04-26 Thread Sourav Poddar
Move "uart_console" definition to serial core header file, so that it can be used by serial drivers. Get rid of the uart_console defintion from mpc52xx_uart driver. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --

Re: [PATCHv3 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-24 Thread Sourav Poddar
Hi Kevin, On Thursday 25 April 2013 03:45 AM, Kevin Hilman wrote: Sourav Poddar writes: Remove "no_idle_on_suspend" check, since respective driver should be able to prevent idling of a device whenever required. Driver's can get same behavior by just returning -E

Re: [PATCHv3 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-24 Thread Sourav Poddar
Hi Kevin, On Thursday 25 April 2013 03:04 AM, Kevin Hilman wrote: Sourav Poddar writes: The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-by: Sourav Poddar --- drivers/tty/serial/oma

[PATCHv3 1/5] driver: tty: serial: Move "uart_console" def to core header file.

2013-04-24 Thread Sourav Poddar
Move "uart_console" definition to serial core header file, so that it can be used by serial drivers. Get rid of the uart_console defintion from mpc52xx_uart driver. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --

[PATCHv3 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-24 Thread Sourav Poddar
The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-by: Sourav Poddar --- drivers/tty/serial/omap-serial.c | 29 - 1 files changed, 28 insertions(+), 1 deletion

[PATCHv3 4/5] arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property.

2013-04-24 Thread Sourav Poddar
nce there is no driver for the OCM RAM block, we are not affected by the automatic idle on suspend anyways which means "ti,no_idle_on_suspend" can be safely removed since there are no users for it. Cc: Benoit Cousson Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Sig

[PATCHv3 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-24 Thread Sourav Poddar
Rajendra nayak Cc: Grygorii Strashko Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/mach-omap2/omap_device.c | 12 +++- arch/arm/mach-omap2/omap_device.h | 10 -- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-omap2/omap_de

[PATCHv3 0/5] Serial Omap fixes and cleanups

2013-04-24 Thread Sourav Poddar
ies into 1. 4. Reordered the patch. 5. Change $subject and chage log for few patches. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Sourav Poddar (5): driver: tty: serial: Move "uart_console" def to core header file. driver: serial: omap: prevent runtime PM for "no_co

[PATCHv3 3/5] arm: omap2+: serial: remove no_console_suspend support

2013-04-24 Thread Sourav Poddar
"no_console_suspend" is no longer handled in platform file, Since the omap serial driver is now adapted to prevent console UART idleing during suspend. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar Reviewed-by: Felipe Balbi --- arch/arm/

Re: [RFC/PATCHv2 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-23 Thread Sourav Poddar
On Tuesday 23 April 2013 02:49 PM, Grygorii Strashko wrote: On 04/23/2013 08:19 AM, Sourav Poddar wrote: Hi Kevin, On Tuesday 23 April 2013 12:11 AM, Kevin Hilman wrote: Grygorii Strashko writes: On 04/22/2013 04:43 PM, Sourav Poddar wrote: Remove the "OMAP_DEVICE_NO_IDLE_ON_SUSPEND&q

Re: [RFC/PATCHv2 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-22 Thread Sourav Poddar
Hi Kevin, On Tuesday 23 April 2013 12:11 AM, Kevin Hilman wrote: Grygorii Strashko writes: On 04/22/2013 04:43 PM, Sourav Poddar wrote: Remove the "OMAP_DEVICE_NO_IDLE_ON_SUSPEND" check, since driver should be able to prevent idling of an omap device whenever required. Cc: Santosh

Re: [PATCHv2 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-22 Thread Sourav Poddar
Hi Grygorii, On Monday 22 April 2013 08:18 PM, Grygorii Strashko wrote: On 04/22/2013 04:43 PM, Sourav Poddar wrote: The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-by: Sou

Re: [PATCHv2 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-22 Thread Sourav Poddar
Hi Kevin, On Tuesday 23 April 2013 12:06 AM, Kevin Hilman wrote: Grygorii Strashko writes: On 04/22/2013 04:43 PM, Sourav Poddar wrote: The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Sig

Re: [PATCHv2 4/5] arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property.

2013-04-22 Thread Sourav Poddar
Hi Felipe, On Monday 22 April 2013 08:05 PM, Felipe Balbi wrote: Hi, On Mon, Apr 22, 2013 at 07:13:56PM +0530, Sourav Poddar wrote: The "ti,no_idle_on_suspend" property was required to keep ocmcram clocks running during idle. But the commit below[1], added in v3.6 should preve

Re: [PATCHv2 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-22 Thread Sourav Poddar
Hi Felipe, On Monday 22 April 2013 08:01 PM, Felipe Balbi wrote: Hi, On Mon, Apr 22, 2013 at 07:13:54PM +0530, Sourav Poddar wrote: The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-

[RFC/PATCHv2 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-22 Thread Sourav Poddar
Remove the "OMAP_DEVICE_NO_IDLE_ON_SUSPEND" check, since driver should be able to prevent idling of an omap device whenever required. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Cc: Grygorii Strashko Signed-off-by: Sourav Poddar --- Hi Kevin, I have put this as an R

[PATCHv2 0/5] Serial Omap fixes and cleanups

2013-04-22 Thread Sourav Poddar
al patch[1] [1]: http://permalink.gmane.org/gmane.linux.ports.arm.omap/95828 v1->v2 1. Remove the prepare/complete callback. 2. Adapt runtime PM callback to deal with the issue. 3. Fold patch(1,2) of previous series into 1. 4. Reordered the patch. 5. Change $subject and chage log for few patche

[PATCHv2 2/5] driver: serial: omap: prevent runtime PM for "no_console_suspend"

2013-04-22 Thread Sourav Poddar
The driver manages "no_console_suspend" by preventing runtime PM during the suspend path, which forces the console UART to stay awake. Signed-off-by: Sourav Poddar --- drivers/tty/serial/omap-serial.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/d

[PATCHv2 3/5] arm: omap2+: serial: remove no_console_suspend support

2013-04-22 Thread Sourav Poddar
"no_console_suspend" is no longer handled in platform file, Since the omap serial driver is now adapted to prevent console UART idleing during suspend. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar --- arch/arm/mach-omap2/serial.c |7

[PATCHv2 1/5] driver: tty: serial: Move "uart_console" def to core header file.

2013-04-22 Thread Sourav Poddar
Move "uart_console" definition to serial core header file, so that it can be used by serial drivers. Get rid of the uart_console defintion from mpc52xx_uart driver. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar --- drivers/tty/serial/mpc5

[PATCHv2 4/5] arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property.

2013-04-22 Thread Sourav Poddar
: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am33xx.dtsi |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 74a8125..49a050e 100644 --- a/arch/a

  1   2   3   >