[PATCH] arm: dts: dra7-evm: remove interrupt binding.

2014-06-17 Thread Sourav Poddar
-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/dra7.dtsi |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index c29945e..eda7e84 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -773,7 +773,6

[PATCHv2 1/5] drivers: w1: omap_hdq: cleanup and bug fixes.

2014-05-08 Thread Sourav Poddar
cleanup(formatting, return error checks). Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/w1/masters/omap_hdq.c | 84 - 1 file changed, 67 insertions(+), 17 deletions(-) diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters

[PATCHv2 2/5] w1: omap_hdq: Add compatible property for omap hdq driver.

2014-05-08 Thread Sourav Poddar
Add compatible property for omap hdq driver. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- .../devicetree/bindings/hdq1w/omap_hdq.txt | 20 drivers/w1/masters/omap_hdq.c |8 2 files changed, 28 insertions(+) create mode

[PATCHv2 0/5] AM437x: HDQ/1wire protocol

2014-05-08 Thread Sourav Poddar
for break and tx conditions. v1-v2: cleaned up hdq_disable_interrupt api. Sourav Poddar (5): drivers: w1: omap_hdq: cleanup and bug fixes. w1: omap_hdq: Add compatible property for omap hdq driver. arm: mach-omap2: selective device build from the platform code. arm: dts: am4372: Add hdq

[PATCHv2 4/5] arm: dts: am4372: Add hdq device tree data.

2014-05-08 Thread Sourav Poddar
Add device tree nodes and pinmux for hdq/1wire on am43x epos evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am4372.dtsi| 10 ++ arch/arm/boot/dts/am43x-epos-evm.dts | 12 2 files changed, 22 insertions(+) diff --git a/arch/arm/boot

[PATCHv2 3/5] arm: omap2: skip device build from platform code for dt.

2014-05-08 Thread Sourav Poddar
For SOCs with dt enabled, device should be build through device tree. Prevent device build call from platform code, if device tree is enabled. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/mach-omap2/hdq1w.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach

[PATCHv2 5/5] arm: hwmod: am437x: Add hwmod data for hdq1w.

2014-05-08 Thread Sourav Poddar
These adds hwmod data for hdq/1w driver. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 36 arch/arm/mach-omap2/prcm43xx.h |1 + 2 files changed, 37 insertions(+) diff --git a/arch/arm/mach-omap2

[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 sourav.pod...@ti.com --- Depends on sricharan's irq crossbar. arch/arm/boot/dts/dra7-evm.dts | 80 arch/arm/boot/dts/dra7.dtsi| 14 +++ 2 files

[PATCHv2] arm: dts: am33xx-clock: Fix ehrpwm tbclk data.

2014-04-29 Thread Sourav Poddar
tbclk does not need to be a composite clock, we can simply use gate clock for this purpose. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: change compatible string according to mainline. arch/arm/boot/dts/am33xx-clocks.dtsi | 30 ++ 1 file changed, 6

[PATCHv2] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-29 Thread Sourav Poddar
We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: change compatible according to mainline. arch/arm/boot/dts/am43xx-clocks.dtsi | 48

[PATCHv3] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-29 Thread Sourav Poddar
We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v2-v3 - correct bitshifting arch/arm/boot/dts/am43xx-clocks.dtsi | 48

[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 sourav.pod...@ti.com --- 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

[PATCH] arm: dts: am33xx-clock: Fix ehrpwm tbclk data.

2014-04-25 Thread Sourav Poddar
tbclk does not need to be a composite clock, we can simply use gate clock for this purpose. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am33xx-clocks.dtsi | 42 ++ 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/arch

[PATCH] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-25 Thread Sourav Poddar
We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 48 ++ drivers/clk/ti/clk-43xx.c

[PATCH] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-22 Thread Sourav Poddar
We need tblclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 84 ++ drivers/clk/ti/clk-43xx.c

[PATCH 2/5] w1: omap_hdq: Add compatible property for omap hdq driver.

2014-04-16 Thread Sourav Poddar
Add compatible property for omap hdq driver. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- .../devicetree/bindings/hdq1w/omap_hdq.txt | 20 drivers/w1/masters/omap_hdq.c |8 2 files changed, 28 insertions(+) create mode

[PATCH 0/5] AM437x: HDQ/1wire protocol

2014-04-16 Thread Sourav Poddar
for break and tx conditions. Sourav Poddar (5): drivers: w1: omap_hdq: cleanup and bug fixes. w1: omap_hdq: Add compatible property for omap hdq driver. arm: mach-omap2: selective device build from the platform code. arm: dts: am4372: Add hdq device tree data. arm: hwmod: am437x: Add

[PATCH 3/5] arm: omap2: skip device build from platform code for dt.

2014-04-16 Thread Sourav Poddar
For SOCs with dt enabled, device should be build through device tree. Prevent device build call from platform code, if device tree is enabled. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/mach-omap2/hdq1w.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach

[PATCH 1/5] drivers: w1: omap_hdq: cleanup and bug fixes.

2014-04-16 Thread Sourav Poddar
cleanup(formatting, return error checks). Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/w1/masters/omap_hdq.c | 85 - 1 file changed, 68 insertions(+), 17 deletions(-) diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters

[PATCH 5/5] arm: hwmod: am437x: Add hwmod data for hdq1w.

2014-04-16 Thread Sourav Poddar
These adds hwmod data for hdq/1w driver. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 36 arch/arm/mach-omap2/prcm43xx.h |1 + 2 files changed, 37 insertions(+) diff --git a/arch/arm/mach-omap2

[PATCH 4/5] arm: dts: am4372: Add hdq device tree data.

2014-04-16 Thread Sourav Poddar
Add device tree nodes and pinmux for hdq/1wire on am43x epos evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am4372.dtsi| 10 ++ arch/arm/boot/dts/am43x-epos-evm.dts | 12 2 files changed, 22 insertions(+) diff --git a/arch/arm/boot

[PATCH] i2c: omap: Disable default probing of i2c devices for omap i2c.

2014-04-09 Thread Sourav Poddar
, where i2c problem can be seen) * Dra7xx * Beaglebone white * Beaglebone black * am335x-evm * AM43xx epos evm Cc: Felipe Balbi ba...@ti.com Cc: Nishanth Menon n...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/i2c/busses/i2c-omap.c |2 +- 1 file changed, 1 insertion

[PATCHv2] i2c: omap: Disable default probing of i2c devices for omap i2c.

2014-04-09 Thread Sourav Poddar
, where i2c problem can be seen) * Dra7xx * Beaglebone white * Beaglebone black * am335x-evm * AM43xx epos evm Cc: Felipe Balbi ba...@ti.com Cc: Nishanth Menon n...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com Reported-by: Nishanth Menon n...@ti.com --- v1-v2: add Reported-by attribute

[PATCHv3 1/2] arm: dts: dra7: Add qspi device.

2014-03-10 Thread Sourav Poddar
These add device tree entry for qspi controller driver on dra7-evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- Done and tested on top of linux-next + benoit for_15 + tony crossbar branch + crossbar dts patches. v2-v3: This was added as part of the following series, http

[PATCHv3 2/2] arm: dts: am43x-epos: Add qspi device.

2014-03-10 Thread Sourav Poddar
These add device tree entry for qspi controller driver on am43x-epos-evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- This was added as part of the following series, http://www.spinics.net/lists/linux-omap/msg101024.html Few patches of the above series are picked. Sending this dts patch

Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.

2014-03-02 Thread Sourav Poddar
On Sunday 02 March 2014 11:00 PM, Benoit Cousson wrote: Hi Sourav, On 21/02/2014 15:28, Sourav Poddar wrote: Hi Benoit, On Tuesday 14 January 2014 07:51 PM, Benoit Cousson wrote: Hi Felipe, On 14/01/2014 14:14, Felipe Balbi wrote: On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote

Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.

2014-02-21 Thread Sourav Poddar
Hi Benoit, On Tuesday 14 January 2014 07:51 PM, Benoit Cousson wrote: Hi Felipe, On 14/01/2014 14:14, Felipe Balbi wrote: On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote: Benoit, On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote: Add gpio keys node for am43x gp evm. Signed

[PATCH] spi: omap2-mcspi: Fix mcspi FIFO usage

2014-01-20 Thread Sourav Poddar
buffers are passed, ./spidev_test hangs. The $subject patch fixes that hang and data can be loopbacked. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/spi/spi-omap2-mcspi.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b

[PATCHv2 0/9] Add device nodes for am43x epos and gp evm.

2013-12-19 Thread Sourav Poddar
): pinctrl: am43xx: dt-bindings: add MUX_MODE8 Lokesh Vutla (1): arm: dts: am437x-gp-evm: Add gp dts. Sourav Poddar (6): arm: dts: am4372: Add pwm-cells property for ecap device. arm: dts: am43x-epos-evm: Add I2C2 data. arm: dts: am43x-epos-evm: Add SPI data. arm: dts: am437x-gp-evm: Add pwm

[PATCHv2 6/9] arm: dts: am437x-gp-evm: Add gp dts.

2013-12-19 Thread Sourav Poddar
From: Lokesh Vutla lokeshvu...@ti.com AM437x GP EVM DTS with pinmux information to make I2C on EVM usable. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com Signed-off-by: Afzal Mohammed af...@ti.com --- .../devicetree/bindings/arm/omap/omap.txt

[PATCHv2 4/9] arm: dts: am43x-epos-evm: Add I2C2 data.

2013-12-19 Thread Sourav Poddar
Add I2C2 dts data. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 0899c5f..d781a69 100644 --- a/arch

[PATCHv2 3/9] pinctrl: am43xx: dt-bindings: add MUX_MODE8

2013-12-19 Thread Sourav Poddar
From: Darren Etheridge detheri...@ti.com AM43xx devices have an extra MUX_MODE for certain pins. Updating dt include to have MUX_MODE8 which maps to 0x8. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- include/dt-bindings/pinctrl/am43xx.h

[PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support.

2013-12-19 Thread Sourav Poddar
Add pwm backlight support for am43x epos evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts

[PATCHv2 7/9] arm: dts: am437x-gp-evm: Add pwm backlight support.

2013-12-19 Thread Sourav Poddar
Add pwm backlight support for gp evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 11d93ba

[PATCHv2 5/9] arm: dts: am43x-epos-evm: Add SPI data.

2013-12-19 Thread Sourav Poddar
Add SPI dts data. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index d781a69..a7d0db1

[PATCHv2 1/9] arm: dts: am4372: Add pwm-cells property for ecap device.

2013-12-19 Thread Sourav Poddar
Add pwm-cells node for all ecap, ehrpwm in am43x dtsi files. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am4372.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 974d103..c314adb

[PATCHv2 8/9] arm: dts: am437x-gp-evm: Enable gpio.

2013-12-19 Thread Sourav Poddar
Enable gpio3, gpio4, it will be used by gpio matrix keys. Also, can be used by othe peripherals. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch

[PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.

2013-12-19 Thread Sourav Poddar
Add gpio keys node for am43x gp evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 0dc248d

[PATCH 1/3] pwm: core: Rearrange pwm lock.

2013-12-18 Thread Sourav Poddar
is held. The patch fixes the above issue by unlocking the pwm lock before acquiring the sysfs lock. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/pwm/core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c index

[PATCH 3/3] driver: pwmss: Disable stop clk bit during enable clock call.

2013-12-18 Thread Sourav Poddar
Writing to ecap register on second insmod crashes with an external abort. This happens becuase the STOP_CLK bit remains set(from rmmod) during the second insmod thereby not allowing the clocks to get enabled. So, we disable STOP clock bit while doing a clock enable. Signed-off-by: Sourav Poddar

[PATCH 0/3] pwm: ti: Miscellaneous Fixes and cleanup for pwm.

2013-12-18 Thread Sourav Poddar
This patch series caters to the issue faced while using tiecap as a module. The patch fix lock dependency issue which leads to crash during rmmod. Also fixes the clock control register setup values during CLK EN call. Sourav Poddar (3): pwm: core: Rearrange pwm lock usage. driver: pwm: ti

[PATCH 2/3] driver: pwm: ti-ecap: Remove duplicate put_sync call.

2013-12-18 Thread Sourav Poddar
Remove duplicate 'pm_runtime_put_sync' in the remove path. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/pwm/pwm-tiecap.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c index 4e5c3d1..032092c 100644

Re: [PATCH 0/3] Add more device nodes for am43x gp evm.

2013-12-18 Thread Sourav Poddar
Benoit, On Wednesday 27 November 2013 01:01 PM, Sourav Poddar wrote: The patch series adds support for enabling gpio, pwm backlight and matrix gpio keys on am43x-gp-evm. Done on top of 3.13-rc1 + tero clock series(1) + Afzal's basic gp support(2). [1]: https://patchwork.kernel.org/patch

Re: [PATCH 0/5] Add more device nodes for am43x-epos-evm

2013-12-18 Thread Sourav Poddar
Benoit, On Wednesday 27 November 2013 01:00 PM, Sourav Poddar wrote: The patch series adds support for enabling pwm backlight, i2c2, spi and matrix gpio keys on am43x-gp-evm. Done on top of 3.13-rc1 + tero clock series(1) [1]: https://patchwork.kernel.org/patch/3009541/ Tested on am43x-gp

Re: [PATCH 0/3] Add more device nodes for am43x gp evm.

2013-12-18 Thread Sourav Poddar
On Wednesday 18 December 2013 11:19 PM, Benoit Cousson wrote: Hi Sourav, On 18/12/2013 18:43, Sourav Poddar wrote: Benoit, On Wednesday 27 November 2013 01:01 PM, Sourav Poddar wrote: The patch series adds support for enabling gpio, pwm backlight and matrix gpio keys on am43x-gp-evm. Done

Re: [PATCH 0/3] Add more device nodes for am43x gp evm.

2013-12-18 Thread Sourav Poddar
On Thursday 19 December 2013 12:21 AM, Benoit Cousson wrote: On 18/12/2013 19:15, Sourav Poddar wrote: On Wednesday 18 December 2013 11:19 PM, Benoit Cousson wrote: Hi Sourav, On 18/12/2013 18:43, Sourav Poddar wrote: Benoit, On Wednesday 27 November 2013 01:01 PM, Sourav Poddar wrote

Re: [PATCH 0/5] Add more device nodes for am43x-epos-evm

2013-12-13 Thread Sourav Poddar
+ Andrew Morton. Ping on this. On Wednesday 27 November 2013 01:00 PM, Sourav Poddar wrote: The patch series adds support for enabling pwm backlight, i2c2, spi and matrix gpio keys on am43x-gp-evm. Done on top of 3.13-rc1 + tero clock series(1) [1]: https://patchwork.kernel.org/patch/3009541

Re: [PATCHv2 07/10] drivers: mtd: m25p80: Adapt driver to support memory mapped read.

2013-12-12 Thread Sourav Poddar
On Thursday 12 December 2013 01:25 PM, Huang Shijie wrote: On Fri, Dec 06, 2013 at 07:54:48PM +0530, Sourav Poddar wrote: Adapt driver to do a memory mapped read. @@ -109,6 +109,7 @@ struct m25p { u8 program_opcode; u8 *command

Re: [PATCHv2 09/10] arm: dts: dra7: Add qspi device.

2013-12-11 Thread Sourav Poddar
Hi Mark, On Tuesday 10 December 2013 04:01 PM, Mark Brown wrote: On Tue, Dec 10, 2013 at 09:55:15AM +0530, Sourav Poddar wrote: I posted this for review along with other code changes. I will post them seperately to Benoit. Please wait until the driver updates have been reviewed. I

Re: [PATCHv2 09/10] arm: dts: dra7: Add qspi device.

2013-12-10 Thread Sourav Poddar
On Tuesday 10 December 2013 04:01 PM, Mark Brown wrote: On Tue, Dec 10, 2013 at 09:55:15AM +0530, Sourav Poddar wrote: I posted this for review along with other code changes. I will post them seperately to Benoit. Please wait until the driver updates have been reviewed. Ok. -- To unsubscribe

Re: [PATCHv2 05/10] spi/qspi: Add api for get_buf/put_buf.

2013-12-10 Thread Sourav Poddar
On Tuesday 10 December 2013 06:28 PM, Marek Vasut wrote: On Friday, December 06, 2013 at 03:24:46 PM, Sourav Poddar wrote: Adapt qspi driver to use (get_buf/put_buf) pointers added earlier. These can be called just before the memcpy operations to get hold of the memory mapped address

Re: [PATCHv2 04/10] spi/qspi: configure set up register for memory map.

2013-12-10 Thread Sourav Poddar
On Tuesday 10 December 2013 06:27 PM, Marek Vasut wrote: On Friday, December 06, 2013 at 03:24:45 PM, Sourav Poddar wrote: These add api to configure set up registers which will be used for memory mapped operations. These was provided as a pointer in the earlier patch and can be used

Re: [PATCHv2 00/10] Add memory mapped support for ti qspi, m25p80 serial flash.

2013-12-10 Thread Sourav Poddar
Hi Marek, On Tuesday 10 December 2013 06:19 PM, Marek Vasut wrote: On Friday, December 06, 2013 at 03:24:41 PM, Sourav Poddar wrote: The patch series aims to add memory mapped support for TI qspi contoller and also add support for the same in serial flash driver(m25p80). My question is, shall

Re: [PATCHv2 00/10] Add memory mapped support for ti qspi, m25p80 serial flash.

2013-12-10 Thread Sourav Poddar
On Tuesday 10 December 2013 11:52 PM, Marek Vasut wrote: On Tuesday, December 10, 2013 at 05:11:43 PM, Mark Brown wrote: On Tue, Dec 10, 2013 at 01:49:13PM +0100, Marek Vasut wrote: My question is, shall we not wait for the new SPI NOR framework to be well fleshed out and only then implement

Re: [PATCHv2 00/10] Add memory mapped support for ti qspi, m25p80 serial flash.

2013-12-10 Thread Sourav Poddar
Hi Mark, On Tuesday 10 December 2013 11:59 PM, Mark Brown wrote: On Tue, Dec 10, 2013 at 07:22:10PM +0100, Marek Vasut wrote: On Tuesday, December 10, 2013 at 05:11:43 PM, Mark Brown wrote: There is some stuff that pushes up into the controller in that while the device is in memory mapped mode

Re: [PATCHv2 09/10] arm: dts: dra7: Add qspi device.

2013-12-09 Thread Sourav Poddar
On Monday 09 December 2013 11:12 PM, Tony Lindgren wrote: * Sourav Poddarsourav.pod...@ti.com [131206 06:29]: These add device tree entry for qspi controller driver on dra7. FYI these .dts changes need to be queued separately by Benoit and should be posted as a seprate series in general to

[PATCHv2 00/10] Add memory mapped support for ti qspi, m25p80 serial flash.

2013-12-06 Thread Sourav Poddar
flash along with some internal irq crossbar patches. Tested on AM437x epos evm with macronix MX66l51235l flash. Testing done: -Erase the whole flash. -write to the flash -read back the flash - compare the data Sourav Poddar (10): spi/spi.h: Add get_buf/put_buf support in spi master.. spi/qspi

[PATCHv2 01/10] spi/spi.h: Add get_buf/put_buf support in spi master.

2013-12-06 Thread Sourav Poddar
the master controller with slave specific information. Add slave info struct, that can be filled with slave properties required by master controller for its register configuration. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: - Added a slave info structure. - Merge all other header

[PATCHv2 07/10] drivers: mtd: m25p80: Adapt driver to support memory mapped read.

2013-12-06 Thread Sourav Poddar
Adapt driver to do a memory mapped read. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: - Add a check to Wait for the previous erase/write to finish. - Ensure proper locking drivers/mtd/devices/m25p80.c | 20 1 files changed, 20 insertions(+), 0

[PATCHv2 10/10] arm: dts: am43x-epos: Add qspi device.

2013-12-06 Thread Sourav Poddar
These add device tree entry for qspi controller driver on am43x-epos-evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am4372.dtsi| 12 arch/arm/boot/dts/am43x-epos-evm.dts | 28 2 files changed, 40 insertions(+), 0

[PATCHv2 09/10] arm: dts: dra7: Add qspi device.

2013-12-06 Thread Sourav Poddar
These add device tree entry for qspi controller driver on dra7. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: use MUX_MODE1 instead of numeric value arch/arm/boot/dts/dra7-evm.dts | 32 arch/arm/boot/dts/dra7.dtsi| 13 + 2 files

[PATCHv2 02/10] spi/qspi: parse register by name.

2013-12-06 Thread Sourav Poddar
Modify the qspi driver to parse reg information by name. If reg names is not found, then revert back to normal get resource. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: - if __byname variant is not found, go for standard api. If both are not found, then the resource

[PATCHv2 05/10] spi/qspi: Add api for get_buf/put_buf.

2013-12-06 Thread Sourav Poddar
Adapt qspi driver to use (get_buf/put_buf) pointers added earlier. These can be called just before the memcpy operations to get hold of the memory mapped address and to turn on the controller clocks. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: enable/disable memory mapped only

[PATCHv2 03/10] spi/qspi: Add support to switc to memory mapped operation.

2013-12-06 Thread Sourav Poddar
These add apis that can be used to switch to memory mapped operatons by configuring control module and qspi registers. It also add master-mmap property to show that qspi supports memory mapped operation. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: Squash a patch to add mater

[PATCHv2 08/10] Documentation: bindings: ti-qspi: update binding information.

2013-12-06 Thread Sourav Poddar
These update binding information for ti qspi controller. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: Add 'reg-names' variables used in dts files. Documentation/devicetree/bindings/spi/ti_qspi.txt |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git

[PATCHv2 06/10] drivers: mtd: m25p80: Add api to configure master register.

2013-12-06 Thread Sourav Poddar
These can be used to fill information needed to configure master controller registers. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: instead of a u8 *val, use a struct (slave_info) already defined in the first patch of the series. This will allow us to add more parameters

[PATCHv2 04/10] spi/qspi: configure set up register for memory map.

2013-12-06 Thread Sourav Poddar
These add api to configure set up registers which will be used for memory mapped operations. These was provided as a pointer in the earlier patch and can be used by the slave devices to configure the master controller as an when required according to the usecases. Signed-off-by: Sourav Poddar

Re: [PATCH 00/17] Add memory mapped support for ti qspi, m25p80 serial flash.

2013-12-05 Thread Sourav Poddar
Hi Brian, On Tuesday 26 November 2013 01:04 PM, Sourav Poddar wrote: The patch series aims to add memory mapped support for TI qspi contoller and also add support for the same in serial flash driver(m25p80). These feature was added as a part of the series[1]: The series[1] add support for quad

Re: [PATCH 0/5] Add more device nodes for am43x-epos-evm

2013-12-05 Thread Sourav Poddar
On Wednesday 27 November 2013 01:00 PM, Sourav Poddar wrote: The patch series adds support for enabling pwm backlight, i2c2, spi and matrix gpio keys on am43x-gp-evm. Done on top of 3.13-rc1 + tero clock series(1) [1]: https://patchwork.kernel.org/patch/3009541/ Tested on am43x-gp-evm

Re: [PATCH 0/3] Add more device nodes for am43x gp evm.

2013-12-05 Thread Sourav Poddar
Hi Benoit, On Wednesday 27 November 2013 01:01 PM, Sourav Poddar wrote: The patch series adds support for enabling gpio, pwm backlight and matrix gpio keys on am43x-gp-evm. Done on top of 3.13-rc1 + tero clock series(1) + Afzal's basic gp support(2). [1]: https://patchwork.kernel.org/patch

Re: [PATCH] ARM: DTS: omap4-sdp: Add regulator for LCD backlight (pwm-backlight)

2013-11-28 Thread Sourav Poddar
On Thursday 28 November 2013 02:58 PM, Peter Ujfalusi wrote: Since in DT booted kernel dummy regulators are no longer supported we need to provide valid phandle for the regulator needed by the backlight. On the board VBAT is used to power the LCD backlight(s). Signed-off-by: Peter

Re: [PATCH 03/17] spi/qspi: parse register by name.

2013-11-28 Thread Sourav Poddar
On Thursday 28 November 2013 04:24 PM, Mark Brown wrote: On Thu, Nov 28, 2013 at 10:15:14AM +0530, Sourav Poddar wrote: On Tuesday 26 November 2013 05:54 PM, Mark Brown wrote: Do device tree binding changes early on in the series rather than at the end, one of the things that gets reviewed

Re: [PATCH 12/17] spi/qspi: convert driver to enable/disable memory mapped.

2013-11-28 Thread Sourav Poddar
On Thursday 28 November 2013 04:19 PM, Mark Brown wrote: On Thu, Nov 28, 2013 at 10:54:12AM +0530, Sourav Poddar wrote: At the beginning of this api, I am doing a disable memory mapped, as becuase of the code implemntation, if the control has reaches this api, memory mapped is not the desired

Re: [PATCH 03/17] spi/qspi: parse register by name.

2013-11-28 Thread Sourav Poddar
On Thursday 28 November 2013 04:41 PM, Mark Brown wrote: On Thu, Nov 28, 2013 at 04:28:07PM +0530, Sourav Poddar wrote: On Thursday 28 November 2013 04:24 PM, Mark Brown wrote: That means that if you switch all resources to _byname then the driver won't find any resources at all and will fail

Re: [PATCH 12/17] spi/qspi: convert driver to enable/disable memory mapped.

2013-11-28 Thread Sourav Poddar
On Thursday 28 November 2013 05:29 PM, Mark Brown wrote: On Thu, Nov 28, 2013 at 04:38:27PM +0530, Sourav Poddar wrote: On Thursday 28 November 2013 04:19 PM, Mark Brown wrote: Removing the mapping isn't going to stop another context which has obtained a handle on the map trying to look

HDQ 1 Wire on AM43x

2013-11-28 Thread Sourav Poddar
Hi, I am trying to cleanup and use HDQ 1wire on AM43x with 3.12-rc6 kernel. Slave device connected on my board is DS18B20, for which I have enabled the w1_therm.c driver. I populated the required hwmod entries and the log obtained is inlined[1]. Is there any way to test this out? In some

Re: [PATCH 0/5] Add more device nodes for am43x-epos-evm

2013-11-27 Thread Sourav Poddar
On Wednesday 27 November 2013 01:38 PM, Sathya Prakash wrote: On Wednesday 27 November 2013 01:00 PM, Sourav Poddar wrote: The patch series adds support for enabling pwm backlight, i2c2, spi and matrix gpio keys on am43x-gp-evm. Seems a typo - series is for epos evm. Yes, true. The series

Re: [PATCH 09/17] spi/spi.h: Add mem variable in spi master.

2013-11-27 Thread Sourav Poddar
On Tuesday 26 November 2013 06:50 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 06:35:35PM +0530, Sourav Poddar wrote: On Tuesday 26 November 2013 06:31 PM, Mark Brown wrote: Is this really generic enough to put here rather than in the driver data? The thought behind this was that if a master

Re: [PATCH 06/17] spi/qspi: Add support to switc to memory mapped operation.

2013-11-27 Thread Sourav Poddar
On Tuesday 26 November 2013 06:27 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:05:02PM +0530, Sourav Poddar wrote: +void enable_qspi_memory_mapped(struct ti_qspi *qspi) +void disable_qspi_memory_mapped(struct ti_qspi *qspi) These are driver internal functions so they should be static

Re: [PATCH 03/17] spi/qspi: parse register by name.

2013-11-27 Thread Sourav Poddar
On Tuesday 26 November 2013 05:54 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 04:47:49PM +0530, Sourav Poddar wrote: I have added reg-names property in dt bindings. (17/17) patch of this series has that info. Do device tree binding changes early on in the series rather than at the end, one

Re: [PATCH 02/17] spi/spi.h: Add configure from slave support.

2013-11-27 Thread Sourav Poddar
On Tuesday 26 November 2013 05:51 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 04:51:53PM +0530, Sourav Poddar wrote: On Tuesday 26 November 2013 03:59 PM, Mark Brown wrote: + void(*configure_from_slave)(struct spi_device *spi, u8 *val); Clearly this is far too unstructured

Re: [PATCH 12/17] spi/qspi: convert driver to enable/disable memory mapped.

2013-11-27 Thread Sourav Poddar
Hi Mark, On Tuesday 26 November 2013 06:41 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:05:08PM +0530, Sourav Poddar wrote: Idea is to enable memory mapped by default at the end of the probe, if the control reaches the transfer api, then the operation is not a memory mapped one. Hence, we

Re: [PATCH 03/17] spi/qspi: parse register by name.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 04:00 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:04:59PM +0530, Sourav Poddar wrote: Modify the qspi driver to parse reg information by name. This presumably needs an update to the device tree bindings so that there's a name defined? I have added reg-names

Re: [PATCH 04/17] spi/qspi: parse control module register.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 04:01 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:05:00PM +0530, Sourav Poddar wrote: In qspi controller, we need to switch to memory mapped operations. These switching depends on This will need to be added to the DT binding. I have added a reg-name property

Re: [PATCH 02/17] spi/spi.h: Add configure from slave support.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 03:59 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:04:58PM +0530, Sourav Poddar wrote: void(*get_buf)(struct spi_master *master); void(*put_buf)(struct spi_master *master); + void(*configure_from_slave)(struct spi_device *spi

Re: [PATCH 04/17] spi/qspi: parse control module register.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 05:55 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 04:48:58PM +0530, Sourav Poddar wrote: On Tuesday 26 November 2013 04:01 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:05:00PM +0530, Sourav Poddar wrote: In qspi controller, we need to switch to memory mapped

Re: [PATCH 04/17] spi/qspi: parse control module register.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 06:25 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 06:08:34PM +0530, Sourav Poddar wrote: On Tuesday 26 November 2013 05:55 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 04:48:58PM +0530, Sourav Poddar wrote: I have added a reg-name property. Does we need to add

Re: [PATCH 09/17] spi/spi.h: Add mem variable in spi master.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 06:31 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:05:05PM +0530, Sourav Poddar wrote: Add mem variable in spi_master, which can be used to hold on the memory mapped address. Is this really generic enough to put here rather than in the driver data? The thought

Re: [PATCH 11/17] spi/qspi: set mmap flag to true.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 06:40 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 01:05:07PM +0530, Sourav Poddar wrote: Set mmap flag to true to indicate that the qspi controller supports memory mapped operations. Please combine some of these patches - adding the mmap support

Re: [PATCH 04/17] spi/qspi: parse control module register.

2013-11-26 Thread Sourav Poddar
On Tuesday 26 November 2013 06:49 PM, Mark Brown wrote: On Tue, Nov 26, 2013 at 06:30:15PM +0530, Sourav Poddar wrote: I mean to say, do I need to document qspi_base, qspi_ctrlmod register names also which I have used in omy dts files. Yes, you need to document what the valid names

[PATCH 3/5] pinctrl: am43xx: dt-bindings: add MUX_MODE8

2013-11-26 Thread Sourav Poddar
From: Darren Etheridge detheri...@ti.com AM43xx devices have an extra MUX_MODE for certain pins. Updating dt include to have MUX_MODE8 which maps to 0x8. Signed-off-by: Darren Etheridge detheri...@ti.com Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- include/dt-bindings/pinctrl/am43xx.h

[PATCH 1/5] arm: dts: am4372: Add pwm-cells property for ecap device.

2013-11-26 Thread Sourav Poddar
Add pwm-cells node for all ecap, ehrpwm in am43x dtsi files. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am4372.dtsi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index

[PATCH 0/5] Add more device nodes for am43x-epos-evm

2013-11-26 Thread Sourav Poddar
on 3.13-rc1. So, tested pwm part with this temporary patch[2]. [2]: http://www.spinics.net/lists/arm-kernel/msg288215.html Darren Etheridge (1): pinctrl: am43xx: dt-bindings: add MUX_MODE8 Sourav Poddar (4): arm: dts: am4372: Add pwm-cellsproperty for ecap device. arm: dts: am43x-epos-evm

[PATCH 2/5] ARM: dts: am43x-epos-evm: Add pwm backlight support.

2013-11-26 Thread Sourav Poddar
From: Sourav Poddar Date: Sat, 5 Oct 2013 05:19:46 +0530 sourav.pod...@ti.com Add pwm backlight support for am43x epos evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 24 1 files changed, 24 insertions(+), 0 deletions

[PATCH 0/3] Add more device nodes for am43x gp evm.

2013-11-26 Thread Sourav Poddar
-evm. There is a some bug while using regulators through backlight driver on 3.13-rc1. So, tested pwm part with this patch[3]. [3]: http://www.spinics.net/lists/arm-kernel/msg288215.html Sourav Poddar (3): arm: dts: am437x-gp-evm: Enable gpio. ARM: dts: am43x-gp-evm: Add matrix gpio keys

[PATCH 4/5] arm: dts: am43x-epos-evm: Add I2C2 data.

2013-11-26 Thread Sourav Poddar
Add I2C2 dts data. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 5521999..7a504d1

[PATCH 5/5] arm: dts: am43x-epos-evm: Add SPI data.

2013-11-26 Thread Sourav Poddar
Add SPI dts data. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index

[PATCH 3/3] arm: dts: am43x-gp-evm: Add matrix gpio keys.

2013-11-26 Thread Sourav Poddar
Add gpio keys node for am43x gp evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts

[PATCH 1/3] arm: dts: am437x-gp-evm: Add pwm backlight support.

2013-11-26 Thread Sourav Poddar
Add pwm backlight support for gp evm. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp

[PATCH 2/3] arm: dts: am437x-gp-evm: Enable gpio.

2013-11-26 Thread Sourav Poddar
Enable gpio3, gpio4, it will be used by gpio matrix keys. Also, can be used by othe peripherals. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am437x-gp

  1   2   3   4   >