[PATCH v3 4/5] ARM: davinci: da8xx: remove da8xx_uart_clk_enable

2013-06-19 Thread Manjunathappa, Prakash
Serial clocks are enabled from of_platform_serial_setup:of_serial.c, so remove davinci_serial_setup_clk from here. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH v2 5/5] ARM: davinci: serial: platform code cleanup

2013-05-28 Thread Manjunathappa, Prakash
struct soc_info now. 3) No need of davinci_serial_setup_clk(), not called from multiple places, hence reduce function call overhead. Signed-off-by: Manjunathappa, Prakash Suggested-by: Sekhar Nori --- arch/arm/mach-davinci/board-da830-evm.c|6 +--- arch/arm/mach-davinci/board-d

[PATCH v2 2/5] ARM: davinci: da850: override device name of UART in DT kernel

2013-05-28 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name so as to prevent clk_get failures. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci

[PATCH v2 3/5] ARM: davinci: da850: do not specify clock_frequency for UART DT node

2013-05-28 Thread Manjunathappa, Prakash
here before arriving on this implementation: "ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes" https://patchwork.kernel.org/patch/2162271/ Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi |3 --- 1 files changed, 0 insertions(+), 3 deletions(-)

[PATCH v2 4/5] ARM: davinci: da8xx: remove da8xx_uart_clk_enable

2013-05-28 Thread Manjunathappa, Prakash
Serial clocks are enabled from of_platform_serial_setup:of_serial.c, so remove davinci_serial_setup_clk from here. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH v2 0/5] ARM: davinci: fix UART clock enabling

2013-05-28 Thread Manjunathappa, Prakash
le on UART2. Since v1: Change names of platform data names appropriately. Added 5/5: platform code cleanup. Manjunathappa, Prakash (5): ARM: davinci: uart: move to devid based clk_get ARM: davinci: da850: override device name of UART in DT kernel ARM: davinci: da850: do not specify clock_freq

[PATCH v2 1/5] ARM: davinci: uart: move to devid based clk_get

2013-05-28 Thread Manjunathappa, Prakash
each instance and clk_get on dev_id. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da830.c |8 ++-- arch/arm/mach-davinci/da850.c |8 ++-- arch/arm/mach-davinci/devices-da8xx.c | 41 ++-- arch/arm/mach-davinci

RE: [PATCH 1/4] ARM: davinci: uart: move to dev_id based clk_get

2013-05-23 Thread Manjunathappa, Prakash
Hi Sekhar, Thanks for reviewing. On Fri, Apr 26, 2013 at 12:31:53, Nori, Sekhar wrote: > Hi Prakash, > > On 4/9/2013 6:01 PM, Manjunathappa, Prakash wrote: > > For modules having single clock, clk_get should be done with dev_id. > > But current davinci implementation handl

RE: Query on pinctrl usage for DT nodes

2013-05-21 Thread Manjunathappa, Prakash
Hi, On Tue, Apr 23, 2013 at 23:47:54, Tony Lindgren wrote: > * Peter Ujfalusi [130423 00:47]: > > On 04/16/2013 11:32 PM, Tony Lindgren wrote: > > > * Peter Ujfalusi [130415 01:30]: > > >> On 04/10/2013 10:34 PM, Tony Lindgren wrote: > > >>> Yeah how about just change the pintctrl-single,bits re

[PATCH 2/3] pinctrl: pinctrl-single: pin names for pinctrl-single.bits

2013-05-21 Thread Manjunathappa, Prakash
Take care to name pin names as register-offset.bit-pos-of-pin-in-register in case configuring multiple pins in register. Signed-off-by: Manjunathappa, Prakash --- drivers/pinctrl/pinctrl-single.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 3/3] ARM: davinci: da850: adopt to pinctrl-single driver to configure multiple pins

2013-05-21 Thread Manjunathappa, Prakash
function-mask property is a mask for a pin at each pin configure offset in a pincontrol register. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts

[PATCH 0/3] pinctrl: pinctrl-single: Add full fledge support to configure multiple pins of different modules

2013-05-21 Thread Manjunathappa, Prakash
Based function-mask and submask preoperties patch allocates and registers pins. Patch is fixes the issue reported and discussed here: http://www.spinics.net/lists/arm-kernel/msg235213.html Applies on top of 3.10-rc2 of linus's tree. Tested on da850-evm. Manjunathappa, Prakash (3): pi

[PATCH 1/3] pinctrl: pinctrl-single: enhance to configure multiple pins of different modules

2013-05-21 Thread Manjunathappa, Prakash
pins. does not support pinconf. [1] "pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux" (9e605cb68a21d5704839a192a46ebcf387773704), Signed-off-by: Manjunathappa, Prakash Reported-by: Lad, Prabhakar Tested-by: Lad, Prabhakar --- .../devicetree/bindings/pinctrl/pinctrl-

RE: [PATCH 0/4] ARM: davinci: fix UART clock enabling

2013-04-16 Thread Manjunathappa, Prakash
Hi Sekhar, On Tue, Apr 09, 2013 at 17:57:57, Manjunathappa, Prakash wrote: > Patch series addresses below issues: > 1) Do clk_get on dev_id when there is single clock for a module > 2) Fix garbled UART log with DT kernel on da850-evm. > Could you please accept this series if you

[PATCH 4/4] ARM: davinci: da8xx: remove da8xx_uart_clk_enable

2013-04-09 Thread Manjunathappa, Prakash
Serial clocks are enabled from of_platform_serial_setup:of_serial.c, so remove davinci_serial_setup_clk from here. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH 3/4] ARM: davinci: da850: do not specify clock_frequency for UART DT node

2013-04-09 Thread Manjunathappa, Prakash
here before arriving on this implementation: "ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes" https://patchwork.kernel.org/patch/2162271/ Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi |3 --- 1 files changed, 0 insertions(+), 3 deletions(-)

[PATCH 1/4] ARM: davinci: uart: move to dev_id based clk_get

2013-04-09 Thread Manjunathappa, Prakash
each instance and clk_get on dev_id. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da830.c |8 ++-- arch/arm/mach-davinci/da850.c |8 ++-- arch/arm/mach-davinci/devices-da8xx.c | 40 --- arch/arm/mach-davinci

[PATCH 2/4] ARM: davinci: da850: override device name of UART in DT kernel

2013-04-09 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name so as to prevent clk_get failures. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci

[PATCH 0/4] ARM: davinci: fix UART clock enabling

2013-04-09 Thread Manjunathappa, Prakash
Patch series addresses below issues: 1) Do clk_get on dev_id when there is single clock for a module 2) Fix garbled UART log with DT kernel on da850-evm. Applies on top of v3.9-rc9 of Linus's. Tested on da850-evm. Able to see proper bootup log and console on UART2. Manjunathappa, Praka

RE: [PATCH v5 0/5] Patch enables support for m25p64 SPI flash support on da850-EVM.

2013-04-08 Thread Manjunathappa, Prakash
Hi Grant, On Wed, Apr 03, 2013 at 19:39:05, Manjunathappa, Prakash wrote: > Testing information: > da850-evm comes with partitions specified in DT blob. > Able to mount/umount and create/delete files on filesystem partition. > Could you please ack the driver(1/5) and documentation(

RE: [PATCH] ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes

2013-04-08 Thread Manjunathappa, Prakash
On Fri, Mar 15, 2013 at 20:07:39, Nori, Sekhar wrote: > > > On 3/15/2013 6:56 PM, Manjunathappa, Prakash wrote: > > Hi Sekhar, > > > > On Thu, Feb 28, 2013 at 16:09:47, Nori, Sekhar wrote: > >> Prakash, > >> > >> On 2/19/2013 2:02 PM, Manjun

[PATCH v5 5/5] ARM: davinci: da850-evm: add SPI flash support

2013-04-03 Thread Manjunathappa, Prakash
Enable m25p64 SPI flash support on da850-EVM. Also add partition information of SPI flash. Signed-off-by: Manjunathappa, Prakash --- Since v2: Fixed partition sizes. Since v1: Look for m25p64 instead of m25p80. Corrected the filesystem partition information. arch/arm/boot/dts/da850-evm.dts

[PATCH v5 4/5] ARM: davinci: da850: override SPI DT node device name

2013-04-03 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by spi-davinci driver. Without this clk_get of spi-davinci DT driver fails. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v5 1/5] spi/davinci: no wildcards in DT compatible property

2013-04-03 Thread Manjunathappa, Prakash
Follow DT naming convention for compatible property of the blob. Use first chip name that introduced the specific version of the device. Signed-off-by: Manjunathappa, Prakash --- drivers/spi/spi-davinci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi

[PATCH v5 3/5] ARM: davinci: da850: add SPI1 DT node

2013-04-03 Thread Manjunathappa, Prakash
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash --- Since v4: Separate out chip_select pinmuxing so as to allow boards choose what to configure. Dropped unused CS1 and ENA pinmuxing. arch/arm/boot/dts/da850.dtsi | 22 ++ 1 files

[PATCH v5 0/5] Patch enables support for m25p64 SPI flash support on da850-EVM.

2013-04-03 Thread Manjunathappa, Prakash
build error" Considered below missed out patch: spi/davinci: add DT binding documentation Manjunathappa, Prakash (4): spi/davinci: no wildcards in DT compatible property ARM: davinci: da850: add SPI1 DT node ARM: davinci: da850: override SPI DT node device name ARM: davinci: da850-ev

[PATCH v5 2/5] spi/davinci: add DT binding documentation

2013-04-03 Thread Manjunathappa, Prakash
From: Murali Karicheri Add binding documentation for spi-davinci module. [prakash...@ti.com: Follow DT naming convention for compatible property] Signed-off-by: Murali Karicheri Reviewed-by: Grant Likely Reviewed-by: Sekhar Nori Signed-off-by: Manjunathappa, Prakash --- Since v3: Changed

RE: [PATCH v4 3/5] ARM: davinci: da850: add SPI1 DT node

2013-04-03 Thread Manjunathappa, Prakash
Hi, On Wed, Mar 20, 2013 at 16:16:57, Manjunathappa, Prakash wrote: > Patch adds SPI1 DT node along with pinmux data. > > Signed-off-by: Manjunathappa, Prakash > --- > arch/arm/boot/dts/da850.dtsi | 18 ++ > 1 files changed, 18 insertions(+), 0 deletions(-)

RE: [PATCH v7 1/5] mmc: davinci: allow driver to work without DMA resource

2013-04-02 Thread Manjunathappa, Prakash
On Tue, Apr 02, 2013 at 14:09:29, Nori, Sekhar wrote: > On 3/28/2013 6:40 PM, Manjunathappa, Prakash wrote: > > Do not return probe failure with missing DMA resources, > > allow driver to work in PIO mode. > > Tested on da850-evm by mounting partition followed by > >

[PATCH v7 5/5] ARM: davinci: da850: override mmc DT node device name

2013-03-28 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: davinci-linux

[PATCH v7 3/5] mmc: davinci_mmc: add DT support

2013-03-28 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. As of now tested for non-dma PIO mode and without GPIO card_detect/ write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Mark Rutland Tested

[PATCH v7 4/5] ARM: davinci: da850: add mmc DT entries

2013-03-28 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested: 1) Without GPIO card detection and EDMA support as DT support for GPIO and EDMA are yet come. 2) By creating/deleting files and mounting/unmounting the partition. Signed-off-by: Manjunathappa, Prakash Cc: linux

[PATCH v7 2/5] ARM: davinci: mmc: derive version information from device name

2013-03-28 Thread Manjunathappa, Prakash
. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Sekhar Nori --- Since v5: Choose smaller device name, da830-mmc instead of davinci-mmc-da830 and dm6441-mmc instead of davinci-mmc-dm355. Since v4: Merged patch "ARM: davinci: mmc: derive version information from device name" with this pa

[PATCH v7 1/5] mmc: davinci: allow driver to work without DMA resource

2013-03-28 Thread Manjunathappa, Prakash
Do not return probe failure with missing DMA resources, allow driver to work in PIO mode. Tested on da850-evm by mounting partition followed by file creation and deletion. Signed-off-by: Manjunathappa, Prakash Tested-by: Sekhar Nori --- drivers/mmc/host/davinci_mmc.c | 10 ++ 1 files

[PATCH v7 0/5] Add DT support for davinci_mmc driver

2013-03-28 Thread Manjunathappa, Prakash
or now. Re-ordered patch 2 and 3. Since v1: Modified the DT parse function to take default values, updated DT binding documentation accordingly. Manjunathappa, Prakash (5): mmc: davinci: allow driver to work without DMA resource ARM: davinci: mmc: derive version information from device n

RE: [PATCH v6 3/5] mmc: davinci_mmc: add DT support

2013-03-27 Thread Manjunathappa, Prakash
On Wed, Mar 27, 2013 at 16:13:51, Arnd Bergmann wrote: > On Wednesday 27 March 2013, Manjunathappa, Prakash wrote: > > On Wed, Mar 20, 2013 at 18:56:09, Arnd Bergmann wrote: > > > On Wednesday 20 March 2013, Manjunathappa, Prakash wrote: > > > > Adds device tree sup

RE: [PATCH v6 3/5] mmc: davinci_mmc: add DT support

2013-03-27 Thread Manjunathappa, Prakash
Hi Arnd, On Wed, Mar 20, 2013 at 18:56:09, Arnd Bergmann wrote: > On Wednesday 20 March 2013, Manjunathappa, Prakash wrote: > > Adds device tree support for davinci_mmc. Also add binding documentation. > > As of now in non-dma PIO mode and without GPIO card_detect/write_protect >

[PATCH v6 4/5] ARM: davinci: da850: add mmc DT entries

2013-03-20 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested: 1) Without GPIO card detection and EDMA support as DT support for GPIO and EDMA are yet come. 2) By creating/deleting files and mounting/unmounting the partition. Signed-off-by: Manjunathappa, Prakash Cc: linux

[PATCH v6 3/5] mmc: davinci_mmc: add DT support

2013-03-20 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. As of now in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Mark Rutland Tested-by: Sekhar

[PATCH v6 5/5] ARM: davinci: da850: override mmc DT node device name

2013-03-20 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: davinci-linux

[PATCH v6 2/5] ARM: davinci: mmc: derive version information from device name

2013-03-20 Thread Manjunathappa, Prakash
. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Sekhar Nori --- Since v5: Choose smaller device name, da830-mmc instead of davinci-mmc-da830 and dm6441-mmc instead of davinci-mmc-dm355. Since v4: Merged patch "ARM: davinci: mmc: derive version information from device name" with this pa

[PATCH v6 1/5] mmc: davinci: allow driver to work without DMA resource

2013-03-20 Thread Manjunathappa, Prakash
Do not return probe failure with missing DMA resources, allow driver to work in PIO mode. Tested on da850-evm by mounting partition followed by file creation and deletion. Signed-off-by: Manjunathappa, Prakash Tested-by: Sekhar Nori --- drivers/mmc/host/davinci_mmc.c | 10 ++ 1 files

[PATCH v6 0/5] Add DT support for davinci_mmc driver

2013-03-20 Thread Manjunathappa, Prakash
the DT parse function to take default values, updated DT binding documentation accordingly. Manjunathappa, Prakash (5): mmc: davinci: allow driver to work without DMA resource ARM: davinci: mmc: derive version information from device name mmc: davinci_mmc: add DT support ARM: davinci: d

[PATCH v4 4/5] ARM: davinci: da850: override SPI DT node device name

2013-03-20 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by spi-davinci driver. Without this clk_get of spi-davinci DT driver fails. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v4 5/5] ARM: davinci: da850-evm: add SPI flash support

2013-03-20 Thread Manjunathappa, Prakash
Enable m25p64 SPI flash support on da850-EVM. Also add partition information of SPI flash. Signed-off-by: Manjunathappa, Prakash --- Since v2: Fixed partition sizes. Since v1: Look for m25p64 instead of m25p80. Corrected the filesystem partition information. arch/arm/boot/dts/da850-evm.dts

[PATCH v4 2/5] spi/davinci: add DT binding documentation

2013-03-20 Thread Manjunathappa, Prakash
From: Murali Karicheri Add binding documentation for spi-davinci module. [prakash...@ti.com: Follow DT naming convention for compatible property] Signed-off-by: Murali Karicheri Reviewed-by: Grant Likely Reviewed-by: Sekhar Nori Signed-off-by: Manjunathappa, Prakash --- Since v3: Changed

[PATCH v4 3/5] ARM: davinci: da850: add SPI1 DT node

2013-03-20 Thread Manjunathappa, Prakash
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 3ec1bda..327fb06

[PATCH v4 1/5] spi/davinci: no wildcards in DT compatible property

2013-03-20 Thread Manjunathappa, Prakash
Follow DT naming convention for compatible property of the blob. Use first chip name that introduced the specific version of the device. Signed-off-by: Manjunathappa, Prakash --- drivers/spi/spi-davinci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi

[PATCH v4 0/5] Enable SPI flash support on da850-evm DT kernel

2013-03-20 Thread Manjunathappa, Prakash
Considered below missed out patch: spi/davinci: add DT binding documentation Manjunathappa, Prakash (4): spi/davinci: no wildcards in DT compatible property ARM: davinci: da850: add SPI1 DT node ARM: davinci: da850: override SPI DT node device name ARM: davinci: da850-evm: add SPI flash suppo

RE: [PATCH] ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes

2013-03-15 Thread Manjunathappa, Prakash
Hi Sekhar, On Thu, Feb 28, 2013 at 16:09:47, Nori, Sekhar wrote: > Prakash, > > On 2/19/2013 2:02 PM, Manjunathappa, Prakash wrote: > > DT kernel with latest of denx SPL U-boot boots with garbled UART > > logs. This is because in U-boot UART2 gets sourced by PLL0_SYSCL

RE: [PATCH v5 0/4] Add DT support for davinci_mmc driver

2013-03-14 Thread Manjunathappa, Prakash
On Thu, Mar 14, 2013 at 17:25:13, Nori, Sekhar wrote: > On 3/12/2013 7:43 PM, Manjunathappa, Prakash wrote: > > Patch set adds DT support for davinci_mmc driver and is > > verified on da850-evm without card_detect/write_protect and > > EDMA support. Also takecare to derive

RE: [PATCH v5 1/4] ARM: davinci: mmc: derive version information from device name

2013-03-14 Thread Manjunathappa, Prakash
On Thu, Mar 14, 2013 at 16:38:09, Nori, Sekhar wrote: > Prakash, > > The series looks good to me. I tested it again on DA850 EVM (with and > without DT). > > On 3/12/2013 7:43 PM, Manjunathappa, Prakash wrote: > > Remove specifying mmc controller IP version informati

RE: [PATCH v3 0/5] Enable SPI flash support on da850-evm DT kernel

2013-03-14 Thread Manjunathappa, Prakash
On Thu, Mar 14, 2013 at 15:54:26, Nori, Sekhar wrote: > On 3/12/2013 1:40 PM, Manjunathappa, Prakash wrote: > > Patch enables support for m25p64 SPI flash support on > > da850-EVM. > > This patch set looks good to me except the comments I had on 2/5. I > tested it using SP

RE: [PATCH v3 2/5] spi/davinci: add DT binding documentation

2013-03-14 Thread Manjunathappa, Prakash
Hi Sekhar, On Thu, Mar 14, 2013 at 14:46:54, Nori, Sekhar wrote: > On 3/12/2013 1:40 PM, Manjunathappa, Prakash wrote: > > From: Murali Karicheri > > > > Get back missed out binding documentation submitted along > > with below patch: > > "spi/davinci:

[PATCH v5 0/4] Add DT support for davinci_mmc driver

2013-03-12 Thread Manjunathappa, Prakash
Modified the default value for bus-width and skipping the property specifications for highspeed card capabilties for now. Re-ordered patch 2 and 3. Since v1: Modified the DT parse function to take default values, updated DT binding documentation accordingly. Manjunathappa, Prakash (4): ARM

[PATCH v5 3/4] ARM: davinci: da850: add mmc DT entries

2013-03-12 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested: 1) Without GPIO card detection and EDMA support as DT support for GPIO and EDMA are yet come. 2) By creating/deleting files and mounting/unmounting the partition. Signed-off-by: Manjunathappa, Prakash Cc: linux

[PATCH v5 2/4] mmc: davinci_mmc: add DT support

2013-03-12 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. As of now in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Mark Rutland Cc: linux

[PATCH v5 1/4] ARM: davinci: mmc: derive version information from device name

2013-03-12 Thread Manjunathappa, Prakash
. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Sekhar Nori --- Since v4: Minor nit, check on return value for failure of max-frequency property parsing. Merged patch "ARM: davinci: mmc: derive version information from device name" with this patch arch/arm/mach-davinci/board-d

[PATCH v5 4/4] ARM: davinci: da850: override mmc DT node device name

2013-03-12 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: davinci-linux

[PATCH v3 2/5] spi/davinci: add DT binding documentation

2013-03-12 Thread Manjunathappa, Prakash
Signed-off-by: Manjunathappa, Prakash --- .../devicetree/bindings/spi/spi-davinci.txt| 51 1 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/spi/spi-davinci.txt diff --git a/Documentation/devicetree/bindin

[PATCH v3 0/5] Enable SPI flash support on da850-evm DT kernel

2013-03-12 Thread Manjunathappa, Prakash
partition information. Dropped below accepted patch: "spi/davinci: fix module build error" Considered below missed out patch: spi/davinci: add DT binding documentation Manjunathappa, Prakash (4): spi/davinci: no wildcards in DT compatible property ARM: davinci: da850: add SPI1 DT

[PATCH v3 3/5] ARM: davinci: da850: add SPI1 DT node

2013-03-12 Thread Manjunathappa, Prakash
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 3ec1bda..327fb06

[PATCH v3 4/5] ARM: davinci: da850: override SPI DT node device name

2013-03-12 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by spi-davinci driver. Without this clk_get of spi-davinci DT driver fails. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v3 1/5] spi/davinci: no wildcards in DT compatible property

2013-03-12 Thread Manjunathappa, Prakash
Follow DT naming convention for compatible property of the blob. Use first chip name that introduced the specific version of the device. Signed-off-by: Manjunathappa, Prakash --- New patch in this series. drivers/spi/spi-davinci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[PATCH v3 5/5] ARM: davinci: da850-evm: add SPI flash support

2013-03-12 Thread Manjunathappa, Prakash
Enable m25p64 SPI flash support on da850-EVM. Also add partition information of SPI flash. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850-evm.dts | 40 +++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts

RE: [PATCH v2 1/4] spi/davinci: add DT binding documentation

2013-03-11 Thread Manjunathappa, Prakash
On Wed, Mar 06, 2013 at 01:02:41, Arnd Bergmann wrote: > On Tuesday 05 March 2013, Manjunathappa, Prakash wrote: > > On Mon, Mar 04, 2013 at 21:59:16, Arnd Bergmann wrote: > > > On Monday 04 March 2013 18:29:12 Manjunathappa, Prakash wrote: > > > > +- reg: Offse

RE: [PATCH v2 1/4] spi/davinci: add DT binding documentation

2013-03-05 Thread Manjunathappa, Prakash
On Tue, Mar 05, 2013 at 18:58:54, Nori, Sekhar wrote: > > > On 3/5/2013 6:26 PM, Manjunathappa, Prakash wrote: > > Hi Arnd, > > > > On Mon, Mar 04, 2013 at 21:59:16, Arnd Bergmann wrote: > >> On Monday 04 March 2013 18:29:12 Manjunathappa, Prakash wro

RE: [PATCH v2 1/4] spi/davinci: add DT binding documentation

2013-03-05 Thread Manjunathappa, Prakash
Hi Arnd, On Mon, Mar 04, 2013 at 21:59:16, Arnd Bergmann wrote: > On Monday 04 March 2013 18:29:12 Manjunathappa, Prakash wrote: > > diff --git a/Documentation/devicetree/bindings/spi/spi-davinci.txt > > b/Documentation/devicetree/bindings/spi/spi-davinci.txt > > new file

RE: [PATCH v4 3/5] mmc: davinci_mmc: add DT support

2013-03-05 Thread Manjunathappa, Prakash
Hi Sekhar, On Wed, Feb 27, 2013 at 17:13:43, Nori, Sekhar wrote: > On 2/15/2013 11:52 AM, Manjunathappa, Prakash wrote: > > Adds device tree support for davinci_mmc. Also add binding documentation. > > As of now in non-dma PIO mode and without GPIO card_detect/write_protect > &

RE: [PATCH v4 1/5] ARM: davinci: mmc: derive version information from device name

2013-03-05 Thread Manjunathappa, Prakash
On Wed, Feb 27, 2013 at 17:15:59, Nori, Sekhar wrote: > On 2/15/2013 11:51 AM, Manjunathappa, Prakash wrote: > > Remove specifying mmc controller IP version information via platform > > data, instead specify device name so that driver derives it from > > platform_device_id t

RE: [PATCH v2 4/4] ARM: davinci: da850-evm: add SPI flash support

2013-03-04 Thread Manjunathappa, Prakash
On Mon, Mar 04, 2013 at 18:29:15, Manjunathappa, Prakash wrote: > Enable m25p64 SPI flash support on da850-EVM. Also > add partition information of SPI flash. > > Signed-off-by: Manjunathappa, Prakash > --- > Since v1: > Look for m25p64 instead of m25p80. > Corrected

RE: [PATCH 0/4] Enable SPI flash support on da850-evm DT kernel

2013-03-04 Thread Manjunathappa, Prakash
Hi Grant, On Sun, Mar 03, 2013 at 04:43:55, Grant Likely wrote: > On Wed, 27 Feb 2013 11:32:39 +, "Manjunathappa, Prakash" > wrote: > > On Wed, Feb 27, 2013 at 14:09:57, Nori, Sekhar wrote: > > > On 2/25/2013 4:14 PM, Manjunathappa, Prakash wrote: > >

[PATCH v2 4/4] ARM: davinci: da850-evm: add SPI flash support

2013-03-04 Thread Manjunathappa, Prakash
Enable m25p64 SPI flash support on da850-EVM. Also add partition information of SPI flash. Signed-off-by: Manjunathappa, Prakash --- Since v1: Look for m25p64 instead of m25p80. Corrected the filesystem partition information. arch/arm/boot/dts/da850-evm.dts | 40

[PATCH v2 3/4] ARM: davinci: da850: override SPI DT node device name

2013-03-04 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by spi-davinci driver. Without this clk_get of spi-davinci DT driver fails. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v2 2/4] ARM: davinci: da850: add SPI1 DT node

2013-03-04 Thread Manjunathappa, Prakash
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 3ec1bda..bfd6756

[PATCH v2 1/4] spi/davinci: add DT binding documentation

2013-03-04 Thread Manjunathappa, Prakash
From: Murali Karicheri Get back missed out binding documentation submitted along with below patch: "spi/davinci: add OF support for the spi controller" Signed-off-by: Murali Karicheri Reviewed-by: Grant Likely Signed-off-by: Manjunathappa, Prakash --- Resubmitting it as it is

[PATCH v2 0/4] Enable SPI flash support on da850-evm DT kernel

2013-03-04 Thread Manjunathappa, Prakash
atch: "spi/davinci: fix module build error" Considered below missed out patch: spi/davinci: add DT binding documentation Manjunathappa, Prakash (3): ARM: davinci: da850: add SPI1 DT node ARM: davinci: da850: override SPI DT node device name ARM: davinci: da850-evm: add SPI flash support

RE: [PATCH 0/4] Enable SPI flash support on da850-evm DT kernel

2013-02-27 Thread Manjunathappa, Prakash
On Wed, Feb 27, 2013 at 14:09:57, Nori, Sekhar wrote: > On 2/25/2013 4:14 PM, Manjunathappa, Prakash wrote: > > Patch enables support for m25p80 SPI flash support on > > da850-EVM. > > > > Testing information: > > da850-evm comes with partitions specified in DT b

RE: [PATCH 4/4] ARM: davinci: da850-evm: add SPI flash support

2013-02-27 Thread Manjunathappa, Prakash
On Wed, Feb 27, 2013 at 13:55:09, Nori, Sekhar wrote: > On 2/25/2013 4:14 PM, Manjunathappa, Prakash wrote: > > Enable m25p80 SPI flash support on da850-EVM. Also > > add partition information of SPI flash. > > > > Signed-off-by: Manjunathappa, Prakash > >

[PATCH 4/4] ARM: davinci: da850-evm: add SPI flash support

2013-02-25 Thread Manjunathappa, Prakash
Enable m25p80 SPI flash support on da850-EVM. Also add partition information of SPI flash. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850-evm.dts | 40 +++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 3/4] ARM: davinci: da850: override SPI DT node device name

2013-02-25 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by spi-davinci driver. Without this clk_get of spi-davinci DT driver fails. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH 2/4] ARM: davinci: da850: add SPI1 DT node

2013-02-25 Thread Manjunathappa, Prakash
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index ebe7386..e921c82

[PATCH 1/4] spi/davinci: fix module build error

2013-02-25 Thread Manjunathappa, Prakash
ed symbol 'davini_spi_of_match' make[2]: *** [drivers/spi/spi-davinci.o] Error 1 make[1]: *** [drivers/spi] Error 2 make[1]: *** Waiting for unfinished jobs make: *** [drivers] Error 2 Signed-off-by: Manjunathappa, Prakash --- drivers/spi/spi-davinci.c |2 +- 1 files changed, 1 ins

[PATCH 0/4] Enable SPI flash support on da850-evm DT kernel

2013-02-25 Thread Manjunathappa, Prakash
. "spi/davinci: add OF support for the spi controller" Applies on top of below patch under community review: http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg25184.html Manjunathappa, Prakash (4): spi/davinci: fix module build error ARM: davinci: da850: a

RE: [PATCH v2] mmc: davinci: allow driver to work without DMA resource

2013-02-22 Thread Manjunathappa, Prakash
Hi Chris, As there are no comments, Could you please accept this patch? Thanks, Prakash On Tue, Feb 05, 2013 at 17:52:24, Manjunathappa, Prakash wrote: > Do not return probe failure with missing DMA resources, > allow driver to work in PIO mode. > Tested on da850-evm by mounting

[PATCH] ARM: davinci: da850 evm: update clock rate for UART 1/2 DT nodes

2013-02-19 Thread Manjunathappa, Prakash
mDDR on the EVM. That is memory controller driving mDDR can be configured for 150MHz and mDDR it self can operate at 132MHz. So override UART1 and UART2 DT node clock-frequency property with rate available on da850 EVM. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850-evm.dts

[PATCH v4 5/5] ARM: davinci: da850: override mmc DT node device name

2013-02-14 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: davinci-linux

[PATCH v4 3/5] mmc: davinci_mmc: add DT support

2013-02-14 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. As of now in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Mark Rutland Cc: linux

[PATCH v4 4/5] ARM: davinci: da850: add mmc DT entries

2013-02-14 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested: 1) Without GPIO card detection and EDMA support as DT support for GPIO and EDMA are yet come. 2) By creating/deleting files and mounting/unmounting the partition. Signed-off-by: Manjunathappa, Prakash Cc: linux

[PATCH v4 2/5] mmc: davinci_mmc: derive controller IP version from platform_device_id

2013-02-14 Thread Manjunathappa, Prakash
Stop getting controller IP version via platform data, instead derive it from platform_device_id table. Signed-off-by: Manjunathappa, Prakash --- Suppose to be v1 but got added later to this series. drivers/mmc/host/davinci_mmc.c| 17 - include/linux/platform_data

[PATCH v4 1/5] ARM: davinci: mmc: derive version information from device name

2013-02-14 Thread Manjunathappa, Prakash
. Signed-off-by: Manjunathappa, Prakash --- Suppose to be v1 but got added later to this series. arch/arm/mach-davinci/board-da830-evm.c |1 - arch/arm/mach-davinci/board-da850-evm.c |2 -- arch/arm/mach-davinci/board-dm355-evm.c |1 - arch/arm/mach-davinci/board-dm365-evm.c

[PATCH v4 0/5] Add DT support for davinci_mmc driver

2013-02-14 Thread Manjunathappa, Prakash
s for highspeed card capabilties for now. Re-ordered patch 2 and 3. Since v1: Modified the DT parse function to take default values, updated DT binding documentation accordingly. Manjunathappa, Prakash (5): ARM: davinci: mmc: derive version information from device name mmc: davinci_mmc: derive c

RE: [PATCH v3 1/3] mmc: davinci_mmc: add DT support

2013-02-13 Thread Manjunathappa, Prakash
ark. > > On Tue, Feb 12, 2013 at 06:37:36AM +, Manjunathappa, Prakash wrote: > > Adds device tree support for davinci_mmc. Also add binding documentation. > > As of now in non-dma PIO mode and without GPIO card_detect/write_protect > > option because of dependencies on

RE: [PATCH v2 2/3] mmc: davinci_mmc: add DT support

2013-02-13 Thread Manjunathappa, Prakash
Hi Sekhar, This mail reached my inbox after I sent out v3. On Tue, Feb 12, 2013 at 11:51:34, Nori, Sekhar wrote: > On 2/7/2013 1:27 PM, Manjunathappa, Prakash wrote: > > Adds device tree support for davinci_mmc. Also add binding documentation. > > Tested in non-dma PIO mode a

[PATCH v3 3/3] ARM: davinci: da850: override mmc DT node device name

2013-02-11 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: davinci-linux

[PATCH v3 2/3] ARM: davinci: da850: add mmc DT entries

2013-02-11 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested: 1) Without GPIO card detection and EDMA support as DT support for GPIO and EDMA are yet come. 2) By creating/deleting files and mounting/unmounting the partition. Signed-off-by: Manjunathappa, Prakash Cc: linux

[PATCH v3 1/3] mmc: davinci_mmc: add DT support

2013-02-11 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. As of now in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm

[PATCH v3 0/3] Add DT support for davinci_mmc driver

2013-02-11 Thread Manjunathappa, Prakash
Since v2: Modified the default value for bus-width and skipping the property specifications for highspeed card capabilties for now. Re-ordered patch 2 and 3. Since v1: Modified the DT parse function to take default values, updated DT binding documentation accordingly. Manjunathappa, Prakash (3)

RE: [PATCH v2 1/3] ARM: davinci: da850: override mmc DT node device name

2013-02-11 Thread Manjunathappa, Prakash
On Tue, Feb 12, 2013 at 11:16:21, Nori, Sekhar wrote: > On 2/7/2013 1:27 PM, Manjunathappa, Prakash wrote: > > Populate OF_DEV_AUXDATA with desired device name expected by > > davinci_mmc driver. Without this clk_get of davinci_mmc DT driver > > fails. > > But the

RE: [PATCH v2 2/3] mmc: davinci_mmc: add DT support

2013-02-10 Thread Manjunathappa, Prakash
Hi Mark, On Fri, Feb 08, 2013 at 11:55:09, Manjunathappa, Prakash wrote: > Hi Mark, > > On Thu, Feb 07, 2013 at 16:16:56, Mark Rutland wrote: > > Hello, > > > > I have a couple of comments on the dt bindings and the way it's parsed. > > > > Thanks

  1   2   3   >