Re: [PATCH v3 01/11] clk: davinci - add main PLL clock driver

2012-10-31 Thread Sekhar Nori
Hi Murali, On 10/25/2012 9:41 PM, Murali Karicheri wrote: This is the driver for the main PLL clock hardware found on DM SoCs. This driver borrowed code from arch/arm/mach-davinci/clock.c and implemented the driver as per common clock provider API. The main PLL hardware typically has a

Re: [PATCH v3 01/11] clk: davinci - add main PLL clock driver

2012-11-01 Thread Sekhar Nori
On 10/31/2012 7:16 PM, Murali Karicheri wrote: On 10/31/2012 08:29 AM, Sekhar Nori wrote: +/* + * if fixed_multiplier is non zero, multiply pllm value by this + * value. + */ +if (pll_data-fixed_multiplier) +mult = pll_data-fixed_multiplier

Re: [PATCH v3 03/11] clk: davinci - common clk utilities to init clk driver

2012-11-01 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: This is the common clk driver initialization functions for DaVinci SoCs and other SoCs that uses similar hardware architecture. clock.h also defines struct types for clock definitions in a SoC and clock data type for configuring clk-mux. The

Re: [PATCH v3 04/11] clk: davinci - add pll divider clock driver

2012-11-02 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: pll dividers are present in the pll controller of DaVinci and Other SoCs that re-uses the same hardware IP. This has a enable bit for bypass the divider or enable the driver. This is a sub class of the clk-divider clock checks the enable bit to

Re: [PATCH v3 0/2] ARM: davinci: da850/omap-l138: add support for VPIF driver

2012-10-03 Thread Sekhar Nori
+ 6 files changed, 369 insertions(+), 0 deletions(-) The patches look good to me. In case you want to queue them through the media tree to manage the dependencies, feel free to add my: Acked-by: Sekhar Nori nsek...@ti.com Note that the subject like prefix for DA850 soc patches should be ARM

Re: [PATCH] davinci: vpbe: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-03 Thread Sekhar Nori
-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sekhar Nori nsek...@ti.com Cc: Hans Verkuil hansv...@cisco.com Cc: Mauro Carvalho Chehab mche...@redhat.com For the DaVinci platform change: Acked-by: Sekhar Nori nsek...@ti.com Thanks, Sekhar -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-03 Thread Sekhar Nori
On 10/3/2012 12:05 PM, Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com while testing display on dm644x, for ED out-range signals was observed. This patch fixes appropriate clock setting for ED. Can you please clarify what you mean by out range signal? Are there any user visible

Re: [PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-04 Thread Sekhar Nori
On 10/4/2012 10:22 AM, Prabhakar Lad wrote: Hi Sekhar, On Wed, Oct 3, 2012 at 4:08 PM, Sekhar Nori nsek...@ti.com wrote: On 10/3/2012 12:05 PM, Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com while testing display on dm644x, for ED out-range signals was observed. This patch

Re: [PATCH v3 1/6] ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions

2012-10-04 Thread Sekhar Nori
On 10/3/2012 8:25 PM, Matt Porter wrote: From: Ben Gardiner bengardi...@nanometrics.ca The current davinci init sets up SRAM in iotables. There has been an observed failure to boot a da850 with 128K specified in the iotable. Make the davinci sram allocator -- now based on RMK's

Re: [PATCH v3 2/6] ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry

2012-10-04 Thread Sekhar Nori
On 10/3/2012 8:25 PM, Matt Porter wrote: From: Ben Gardiner bengardi...@nanometrics.ca The sram regions defined for da850-dm646x in their iotable entries are also defined in their davinci_soc_info's. Remove this duplicate information which is now uneccessary since sram init will ioremap

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Sekhar Nori
Matt, On 10/3/2012 8:25 PM, Matt Porter wrote: From: Subhasish Ghosh subhas...@mistralsolutions.com This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh subhas...@mistralsolutions.com [rebased onto consolidated SRAM patches]

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Sekhar Nori
On 10/3/2012 8:25 PM, Matt Porter wrote: Adds PRUSS clock, registers the L3RAM pool, and registers the platform device for uio_pruss on DA850. Signed-off-by: Matt Porter mpor...@ti.com I am interested in knowing how this patch was tested. --- arch/arm/mach-davinci/board-da850-evm.c|

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Sekhar Nori
On 10/4/2012 6:12 PM, Matt Porter wrote: On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: Hi Matt, On 10/3/12, Matt Porter mpor...@ti.com wrote: This series enables uio_pruss on DA850 and removes use of the private SRAM API by the driver. The driver previously was not enabled

Re: [PATCH 14/17] ARM: davinci: don't mark da850_register_cpufreq as __init

2012-10-04 Thread Sekhar Nori
(). This is often because read_factory_config lacks a __init annotation or the annotation of da850_register_cpufreq is wrong. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Sekhar Nori nsek...@ti.com Cc: Kevin Hilman khil...@ti.com Acked-by: Sekhar Nori nsek...@ti.com Regards, Sekhar

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-05 Thread Sekhar Nori
On 10/4/2012 10:05 PM, Matt Porter wrote: On Thu, Oct 04, 2012 at 05:52:45PM +0530, Sekhar Nori wrote: On 10/3/2012 8:25 PM, Matt Porter wrote: +static struct clk pruss_clk = { + .name = pruss, + .parent = pll0_sysclk2, + .lpsc = DA8XX_LPSC0_PRUSS

Re: [PATCH v4 7/7] ARM: davinci: register pruss_uio device on DA850 EVM

2012-10-08 Thread Sekhar Nori
On 10/5/2012 10:34 PM, Matt Porter wrote: Configures the required pdata and registers the pruss_uio platform device on the DA850 EVM. Tested on AM180x-EVM using the PRU_memAccessPRUDataRam and PRU_memAccessL3andDDR examples from the PRU userspace tools available from

Re: [PATCH v4 0/7] uio_pruss cleanup and platform support

2012-10-08 Thread Sekhar Nori
On 10/5/2012 10:34 PM, Matt Porter wrote: This series enables uio_pruss on DA850 and removes use of the private SRAM API by the driver. The driver previously was not enabled by any platform and the private SRAM API was accessing an invalid SRAM bank. It is regression tested on AM180x EVM

Re: [PATCH v4 6/7] ARM: davinci: clean up DA850 EVM include ordering

2012-10-08 Thread Sekhar Nori
On 10/5/2012 10:34 PM, Matt Porter wrote: Reorder includes so they are grouped by linux/mach/asm Signed-off-by: Matt Porter mpor...@ti.com Thanks for the clean-up. While committing, I changed the subject to: ARM: davinci: da850 evm: clean up include ordering which is the convention I

Re: [PATCH v4] Enable USB peripheral on dm365 EVM

2012-10-08 Thread Sekhar Nori
Hi Constantine, On 10/4/2012 9:52 PM, Constantine Shulyupin wrote: From: Constantine Shulyupin co...@makelinux.com Signed-off-by: Constantine Shulyupin co...@makelinux.com --- Note: USBPHY_CTL_PADDR and USBPHY_CLKFREQ_24MHZ are defined in board-dm365-evm.c because davinci.h can't be

Re: [PATCH v3 04/11] clk: davinci - add pll divider clock driver

2012-11-03 Thread Sekhar Nori
On 11/2/2012 7:23 PM, Murali Karicheri wrote: On 11/02/2012 07:33 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: pll dividers are present in the pll controller of DaVinci and Other SoCs that re-uses the same hardware IP. This has a enable bit for bypass the divider

Re: [PATCH v3 02/11] clk: davinci - add PSC clock driver

2012-11-03 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: This is the driver for the Power Sleep Controller (PSC) hardware found on DM SoCs as well Keystone SoCs (c6x). This driver borrowed code from arch/arm/mach-davinci/psc.c and implemented the driver as per common clock provider API. The PSC module

Re: [PATCH v3 03/11] clk: davinci - common clk utilities to init clk driver

2012-11-03 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: This is the common clk driver initialization functions for DaVinci SoCs and other SoCs that uses similar hardware architecture. clock.h also defines struct types for clock definitions in a SoC and clock data type for configuring clk-mux. The

Re: [PATCH v3 05/11] clk: davinci - add dm644x clock initialization

2012-11-03 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: This patch adds dm644x clock initialization code that consists of clocks data for various clocks and clock register callouts to various clock drivers. It uses following clk drivers for this 1. clk-fixed-rate - for ref clock 2. clk-mux - for

Re: [PATCH v3 10/11] ARM: davinci - migrate to common clock

2012-11-04 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: Currently migrate only DM644x as this is being reviewed. Once all platforms are migrated, the Makefile will be cleaned up to remove obsoleted files clock.o and psc.o Signed-off-by: Murali Karicheri m-kariche...@ti.com --- arch/arm/Kconfig

Re: [PATCH v3 06/11] clk: davinci - add build infrastructure for DaVinci clock drivers

2012-11-04 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: This updates clk Makefile and Kconfig to integrate the DaVinci specific clock drivers. Also add new Kconfig and Makefile for these drivers. Signed-off-by: Murali Karicheri m-kariche...@ti.com As mentioned before, this should be folded into

Re: [PATCH v3 07/11] ARM: davinci - restructure header files for common clock migration

2012-11-04 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: pll.h is added to migrate some of the PLL controller defines for sleep.S. psc.h is modified to keep only PSC modules definitions needed by sleep.S after migrating to common clock. The definitions under ifdef CONFIG_COMMON_CLK will be removed in

Re: [RFC PATCH 1/2] memory: davinci - add aemif controller platform driver

2012-11-05 Thread Sekhar Nori
On 11/6/2012 2:38 AM, Murali Karicheri wrote: On 11/04/2012 08:52 AM, Rob Herring wrote: OMAP GPMC Could you send me a link please? https://www.google.com/search?q=RFC+OMAP+GPMC+DT+bindings The patches series is sent by Daniel Mack. v3 was the last version sent. Thanks, Sekhar -- To

Re: [PATCH v3 03/11] clk: davinci - common clk utilities to init clk driver

2012-11-06 Thread Sekhar Nori
On 11/5/2012 8:50 PM, Murali Karicheri wrote: On 11/03/2012 08:35 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This is the common clk driver initialization functions for DaVinci SoCs and other SoCs that uses similar hardware architecture. clock.h also defines struct

Re: [PATCH v3 05/11] clk: davinci - add dm644x clock initialization

2012-11-06 Thread Sekhar Nori
On 11/6/2012 4:53 AM, Murali Karicheri wrote: On 11/03/2012 09:30 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This patch adds dm644x clock initialization code that consists of clocks data for various clocks and clock register callouts to various clock drivers

Re: [PATCH v3 06/11] clk: davinci - add build infrastructure for DaVinci clock drivers

2012-11-06 Thread Sekhar Nori
On 11/5/2012 9:47 PM, Murali Karicheri wrote: On 11/04/2012 08:34 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This updates clk Makefile and Kconfig to integrate the DaVinci specific clock drivers. Also add new Kconfig and Makefile for these drivers. Signed-off

Re: [PATCH v3 07/11] ARM: davinci - restructure header files for common clock migration

2012-11-06 Thread Sekhar Nori
On 11/6/2012 12:41 AM, Murali Karicheri wrote: On 11/04/2012 09:05 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: pll.h is added to migrate some of the PLL controller defines for sleep.S. psc.h is modified to keep only PSC modules definitions needed by sleep.S after

Re: [PATCH v3 05/11] clk: davinci - add dm644x clock initialization

2012-11-06 Thread Sekhar Nori
On 11/5/2012 9:12 PM, Murali Karicheri wrote: On 11/03/2012 09:30 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This patch adds dm644x clock initialization code that consists of clocks data for various clocks and clock register callouts to various clock drivers

Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-23 Thread Sekhar Nori
On 10/8/2012 6:47 PM, Constantine Shulyupin wrote: From: Constantine Shulyupin co...@makelinux.com Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly CONFIG_USB_MUSB_OTG CONFIG_USB_MUSB_PERIPHERAL CONFIG_USB_MUSB_HOST and set MUSB_OTG configuration by default because this

Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-24 Thread Sekhar Nori
On 10/23/2012 6:09 PM, Felipe Balbi wrote: Hi, On Tue, Oct 23, 2012 at 06:04:53PM +0530, Sekhar Nori wrote: On 10/8/2012 6:47 PM, Constantine Shulyupin wrote: From: Constantine Shulyupin co...@makelinux.com Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly

Re: [PATCH v2] ARM: dm365: replace V4L2_OUT_CAP_CUSTOM_TIMINGS with V4L2_OUT_CAP_DV_TIMINGS

2012-10-24 Thread Sekhar Nori
-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sekhar Nori nsek...@ti.com Cc: Sergei Shtylyov sshtyl...@mvista.com Patches for mach-davinci should have a 'davinci:' prefix after 'ARM:'. Can you please resend with that fixed? Thanks, Sekhar -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v4 1/2] ARM: davinci: dm365: add support for v4l2 video display

2012-10-24 Thread Sekhar Nori
Hi Prabhakar, Sorry about the late feedback on this patch. On 8/8/2012 6:20 PM, Prabhakar Lad wrote: From: Manjunath Hadli manjunath.ha...@ti.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Manjunath Hadli

Re: [PATCH 1/1] spi:clk: preparation for switch to common clock framework

2012-10-09 Thread Sekhar Nori
Turquette mturque...@linaro.org This patch had to be applied manually and with some fuzz when I applied it to latest linus/master. There were no conflicts though and once I applied it, I was able to test SPI flash on DA850 EVM successfully using it. Acked-by: Sekhar Nori nsek...@ti.com I am

Re: [PATCH 1/1] mtd:nand:clk: preparation for switch to common clock framework

2012-10-09 Thread Sekhar Nori
Turquette mturque...@linaro.org Tested this using NAND flash on DA850 EVM. Acked-by: Sekhar Nori nsek...@ti.com Any chance this can make into the v3.7 kernel? Thanks, Sekhar -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 1/1] mtd:nand:clk: preparation for switch to common clock framework

2012-10-09 Thread Sekhar Nori
On 10/9/2012 6:33 PM, Sekhar Nori wrote: On 9/17/2012 10:07 PM, Murali Karicheri wrote: As a first step towards migrating davinci platforms to use common clock framework, replace all instances of clk_enable() with clk_prepare_enable() and clk_disable() with clk_disable_unprepare(). Until

Re: [PATCH 01/13] clk: davinci - add Main PLL clock driver

2012-10-10 Thread Sekhar Nori
Hi Murali, On 9/26/2012 11:37 PM, Murali Karicheri wrote: This is the driver for the main PLL clock hardware found on DM SoCs. This driver borrowed code from arch/arm/mach-davinci/clock.c and implemented the driver as per common clock provider API. The main PLL hardware typically has a

Re: [PATCH 02/13] clk: davinci - add PSC clock driver

2012-10-10 Thread Sekhar Nori
On 9/26/2012 11:37 PM, Murali Karicheri wrote: This is the driver for the Power Sleep Controller (PSC) hardware found on DM SoCs as well Keystone SoCs (c6x). This driver borrowed code from arch/arm/mach-davinci/psc.c and implemented the driver as per common clock provider API. The PSC module

Re: [PATCH 02/13] clk: davinci - add PSC clock driver

2012-10-10 Thread Sekhar Nori
On 10/10/2012 6:05 PM, Sekhar Nori wrote: +struct clk *clk_register_davinci_psc(struct device *dev, const char *name, +const char *parent_name, +struct clk_davinci_psc_data *psc_data, +spinlock_t *lock) Why do you need the lock

Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-11 Thread Sekhar Nori
On 10/11/2012 12:05 PM, Heiko Schocher wrote: Hello Manjunathappa On 11.10.2012 07:42, Manjunathappa, Prakash wrote: Hi, On Mon, Oct 08, 2012 at 18:47:07, Constantine Shulyupin wrote: From: Constantine Shulyupinco...@makelinux.com Remove USB configuration in arch/arm/mach-davinci/usb.c

Re: [REMINDER: PATCH 1/1] mtd:nand:clk: preparation for switch to common clock framework

2012-10-11 Thread Sekhar Nori
Hi Artem, On 10/11/2012 3:27 PM, Artem Bityutskiy wrote: On Fri, 2012-09-28 at 16:10 +, Karicheri, Muralidharan wrote: -Original Message- From: Karicheri, Muralidharan Sent: Monday, September 17, 2012 12:38 PM To: dw...@infradead.org; artem.bityuts...@linux.intel.com;

Re: [PATCH 01/13] calk: davinci - add Main PLL clock driver

2012-10-11 Thread Sekhar Nori
On 10/10/2012 8:04 PM, Karicheri, Muralidharan wrote: +struct clk *clk_register_davinci_pll(struct device *dev, const char *name, + const char *parent_name, + struct clk_davinci_pll_data *pll_data) { + struct clk_init_data init; + struct clk_davinci_pll

Re: [PATCH 01/13] clk: davinci - add Main PLL clock driver

2012-10-11 Thread Sekhar Nori
On 10/10/2012 5:32 PM, Sekhar Nori wrote: Hi Murali, On 9/26/2012 11:37 PM, Murali Karicheri wrote: This is the driver for the main PLL clock hardware found on DM SoCs. This driver borrowed code from arch/arm/mach-davinci/clock.c and implemented the driver as per common clock provider API

Re: [PATCH v2 01/13] clk: davinci - add Main PLL clock driver

2012-10-11 Thread Sekhar Nori
On 9/26/2012 11:40 PM, Murali Karicheri wrote: +struct clk_davinci_pll_data { + /* physical addresses set by platform code */ + u32 phy_pllm; + /* if PLL has a prediv register this should be non zero */ + u32 phy_prediv; + /* if PLL has a postdiv register this should be

Re: [PATCH v2 09/13] ARM: davinci - update the dm644x soc code to use common clk drivers

2012-10-11 Thread Sekhar Nori
Murali, On 9/26/2012 11:40 PM, Murali Karicheri wrote: The clock tree for dm644x is defined using the new structure davinci_clk. The SoC specific code re-uses clk-fixed-rate, clk-divider and clk-mux drivers in addition to the davinci specific clk drivers, clk-davinci-pll and clk-davinci-psc.

Re: [PATCH v2 04/13] clk: davinci - common clk driver initialization

2012-10-11 Thread Sekhar Nori
Hi Murali, I have given this patch a partial review. I suspect this patch will change much based on the comment I gave for 9/13. On 9/26/2012 11:40 PM, Murali Karicheri wrote: This is the common clk driver initialization function for DaVinci SoCs and other SoCs that uses similar hardware

Re: [PATCH v2 09/13] ARM: davinci - update the dm644x soc code to use common clk drivers

2012-10-12 Thread Sekhar Nori
Hi Murali, On 10/11/2012 8:28 PM, Karicheri, Muralidharan wrote: -Original Message- From: Nori, Sekhar Sent: Thursday, October 11, 2012 8:25 AM To: Karicheri, Muralidharan Cc: mturque...@linaro.org; a...@arndb.de; a...@linux-foundation.org; shawn@linaro.org;

Re: [PATCH] davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()

2012-10-12 Thread Sekhar Nori
Hi Wei, On 9/21/2012 11:42 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() not NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated

Re: [PATCH] rtc: davinci: clean up probe/remove routines

2012-10-14 Thread Sekhar Nori
On 10/14/2012 3:43 AM, Hannu Heikkinen wrote: Use the devres managed resource functions in the probe routine. Also affects the remove routine where the previously used free and release functions are not needed. The devm_* functions eliminate the need for manual resource releasing and

Re: [PATCH v5 7/7] ARM: davinci: da850 evm: register uio_pruss device

2012-10-25 Thread Sekhar Nori
On 10/8/2012 7:24 PM, Matt Porter wrote: Registers the uio_pruss platform device on the DA850 EVM. Tested on AM180x-EVM using the PRU_memAccessPRUDataRam and PRU_memAccessL3andDDR examples from the PRU userspace tools available from http://www.ti.com/tool/sprc940 Signed-off-by: Matt

Re: [PATCH v4 0/7] uio_pruss cleanup and platform support

2012-10-25 Thread Sekhar Nori
On Wed, Oct 24, 2012 at 10:24 PM, Matt Porter mpor...@ti.com wrote: On Mon, Oct 08, 2012 at 04:27:20PM +0530, Sekhar Nori wrote: On 10/5/2012 10:34 PM, Matt Porter wrote: This series enables uio_pruss on DA850 and removes use of the private SRAM API by the driver. The driver previously

Re: [PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-26 Thread Sekhar Nori
On 10/4/2012 7:23 PM, Prabhakar Lad wrote: Sekhar On Thu, Oct 4, 2012 at 12:43 PM, Sekhar Nori nsek...@ti.com wrote: On 10/4/2012 10:22 AM, Prabhakar Lad wrote: Hi Sekhar, On Wed, Oct 3, 2012 at 4:08 PM, Sekhar Nori nsek...@ti.com wrote: On 10/3/2012 12:05 PM, Prabhakar wrote: From: Lad

Re: [PATCH v2] arch/arm/mach-davinci/board-dm646x-evm.c: Remove unecessary semicolon

2012-10-26 Thread Sekhar Nori
On 9/18/2012 10:29 PM, Peter Senna Tschudin wrote: Found by http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com Queuing this for v3.8 Thanks, Sekhar -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] ARM: davinci: dm644x: move the dereference below the NULL test

2012-10-26 Thread Sekhar Nori
On 9/10/2012 10:19 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn

Re: [PATCH] davinci: fix the uart number in the comment

2012-10-26 Thread Sekhar Nori
On 9/13/2012 11:34 PM, Henrique Camargo wrote: The bit 0 of the field is uart0 and the bit 1 is uart1 and so on. Signed-off-by: Henrique Camargo henri...@henriquecamargo.com Queuing this for v3.8. Added an ARM: prefix to subject line since this is an arch/arm/ patch. Please take care of this

Re: [PATCH] davinci: check for presence of channel controller on slot alloc

2012-10-26 Thread Sekhar Nori
+ Matt, who is doing the DMA engine conversion for EDMA On 9/12/2012 11:44 PM, Cyril Chemparathy wrote: This patch adds a check for the presence of the channel controller when trying to allocate a slot. Without this fix, the kernel panics with a NULL pointer dereference when the dma-engine

Re: [RESEND-PATCH] media:davinci: clk - {prepare/unprepare} for common clk

2012-10-27 Thread Sekhar Nori
Hi Murali, On 10/26/2012 9:22 PM, Murali Karicheri wrote: On 10/25/2012 09:12 AM, Prabhakar Lad wrote: Hi Murali, Thanks for the patch. I'll queue this patch for 3.8. Please check with Sekhar as well. This is a preparation patch for common clk framework support. ALso fixes some bugs on

Re: [RFC PATCH v3 02/16] ARM: davinci: move private EDMA API to arm/common

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API but does not support OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- diff --git

Re: [RFC PATCH v3 04/16] ARM: edma: add DT and runtime PM support for AM33XX

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Calls runtime PM API only in the DT case in order to unidle the associated hwmods on AM33XX. Runtime PM is supported on DaVinci now, so if that was the

Re: [RFC PATCH v3 05/16] ARM: edma: add AM33XX crossbar event support

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: Adds support for the per-EDMA channel event mux. This is required for any peripherals using DMA crossbar mapped events. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/common/edma.c | 63 +++-

Re: [RFC PATCH v3 08/16] ARM: dts: add AM33XX EDMA support

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 31 +++ 1 file changed, 31

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: Adds AM33XX SPI support for am335x-bone and am335x-evm. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 17 +++ arch/arm/boot/dts/am335x-evm.dts |9 arch/arm/boot/dts/am33xx.dtsi |

Re: [RFC PATCH v3 11/16] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-10-29 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. Since the EDMA DMA Engine driver sets the maximum segments to 16, we do the same. TODO: this will be replaced once the DMA Engine API

Re: [PATCH v2] rtc: davinci: clean up probe/remove routines

2012-10-14 Thread Sekhar Nori
On 10/14/2012 3:13 PM, Hannu Heikkinen wrote: Use the devres managed resource functions in the probe routine. Also affects the remove routine where the previously used free and release functions are not needed. The devm_* functions eliminate the need for manual resource releasing and

Re: [PATCH v2 09/13] ARM: davinci - update the dm644x soc code to use common clk drivers

2012-10-15 Thread Sekhar Nori
Hi Murali, On 10/15/2012 9:21 PM, Karicheri, Muralidharan wrote: --Cut Subject: Re: [PATCH v2 09/13] ARM: davinci - update the dm644x soc code to use common clk drivers You have chosen to keep all clock related data in platform files while using the common clock framework to provide

Re: [PATCH v5] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-15 Thread Sekhar Nori
On 4/10/2013 5:42 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node along with pin-mux details. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. Signed-off-by: Philip Avinash avinashphi...@ti.com Looks good to me. Will try and see if this can make it to

Re: [PATCH v3 0/6] Generic PHY Framework

2013-04-19 Thread Sekhar Nori
Hi Kishon, On 3/20/2013 2:41 PM, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY

Re: [PATCH v3 0/3] Platform support for EHRPWM ECAP devices in DAVINCI.

2013-04-03 Thread Sekhar Nori
On 4/4/2013 10:09 AM, Philip, Avinash wrote: On Tue, Apr 02, 2013 at 14:05:09, Nori, Sekhar wrote: On 3/25/2013 1:19 PM, Philip Avinash wrote: Add platform support for EHRPWM and ECAP by providing clock nodes and device tree nodes. This series depends on [1] and [2] and is available for

Re: [PATCH v7 1/2] ARM: davinci: dm355: add support for v4l2 video display

2013-04-04 Thread Sekhar Nori
On 4/2/2013 6:45 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm355. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/mach-davinci/board-dm355-evm.c

Re: [PATCH v7 2/2] ARM: davinci: dm355 EVM: add support for VPBE display

2013-04-04 Thread Sekhar Nori
mentioned that you will take this through media tree to manage driver dependencies, please add: Acked-by: Sekhar Nori nsek...@ti.com Thanks, Sekhar -- 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

Re: [PATCH v8 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-04-04 Thread Sekhar Nori
'break'. Here and other places below. The patch looks good overall though so you can fix the nits and add: Acked-by: Sekhar Nori nsek...@ti.com Thanks, Sekhar -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v8 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-04-04 Thread Sekhar Nori
-by: Sekhar Nori nsek...@ti.com Thanks, Sekhar -- 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 v2 1/3] media: davinci: vpss: enable vpss clocks

2013-04-08 Thread Sekhar Nori
platform_bus_notifier = { .pm_domain = davinci_pm_domain, - .con_ids = { fck, NULL, }, + .con_ids = { fck, master, slave, NULL, }, NULL is sentinel so you can drop the ',' after that. Apart from that, for the mach-davinci parts: Acked-by: Sekhar Nori nsek...@ti.com Thanks, Sekhar

Re: [PATCH v8 0/2] ARM: davinci: dm355: add support for vpbe display

2013-04-08 Thread Sekhar Nori
On 4/8/2013 2:56 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables VPBE display driver on DM355. These (this and the DM365 one) patches look good to me. I need to get an immutable branch from Mauro where dependencies are queued and then I can

Re: [PATCH v8 0/2] ARM: davinci: dm355: add support for vpbe display

2013-04-08 Thread Sekhar Nori
Hi Maruo, On 4/8/2013 4:26 PM, Mauro Carvalho Chehab wrote: Hi Sekhar, Em Mon, 8 Apr 2013 16:06:24 +0530 Sekhar Nori nsek...@ti.com escreveu: On 4/8/2013 2:56 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables VPBE display driver on DM355

Re: [PATCH v2 1/3] media: davinci: vpss: enable vpss clocks

2013-04-08 Thread Sekhar Nori
On 4/8/2013 5:08 PM, Prabhakar Lad wrote: Sekhar, On Mon, Apr 8, 2013 at 3:56 PM, Sekhar Nori nsek...@ti.com wrote: On 4/2/2013 5:14 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com By default the VPSS clocks were enabled in capture driver for davinci family

Re: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-08 Thread Sekhar Nori
On 4/8/2013 2:39 PM, Philip, Avinash wrote: On Tue, Apr 02, 2013 at 14:03:34, Nori, Sekhar wrote: On 3/25/2013 1:19 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. This looks fine to me but I will wait

Re: [PATCH v3 2/3] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver

2013-04-09 Thread Sekhar Nori
On 4/8/2013 5:49 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com The vpss clocks were enabled by calling a exported function from a driver in a machine code. calling driver code from platform code is incorrect way. This patch fixes this issue and calls the

Re: [PATCH v8 0/2] ARM: davinci: dm355: add support for vpbe display

2013-04-09 Thread Sekhar Nori
On 4/8/2013 6:26 PM, Mauro Carvalho Chehab wrote: Em Mon, 8 Apr 2013 17:17:34 +0530 Sekhar Nori nsek...@ti.com escreveu: Hi Maruo, On 4/8/2013 4:26 PM, Mauro Carvalho Chehab wrote: Hi Sekhar, Em Mon, 8 Apr 2013 16:06:24 +0530 Sekhar Nori nsek...@ti.com escreveu: On 4/8/2013 2:56 PM

Re: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-09 Thread Sekhar Nori
On 4/9/2013 2:12 PM, Philip, Avinash wrote: On Mon, Apr 08, 2013 at 18:39:57, Nori, Sekhar wrote: On 4/8/2013 2:39 PM, Philip, Avinash wrote: On Tue, Apr 02, 2013 at 14:03:34, Nori, Sekhar wrote: On 3/25/2013 1:19 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node. Also adds

Re: [PATCH v9 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-04-09 Thread Sekhar Nori
On 4/8/2013 2:47 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Sekhar Nori nsek...@ti.com

Re: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-09 Thread Sekhar Nori
On 4/10/2013 11:00 AM, Philip, Avinash wrote: On Tue, Apr 09, 2013 at 17:05:25, Nori, Sekhar wrote: On 4/9/2013 2:12 PM, Philip, Avinash wrote: On Mon, Apr 08, 2013 at 18:39:57, Nori, Sekhar wrote: On 4/8/2013 2:39 PM, Philip, Avinash wrote: On Tue, Apr 02, 2013 at 14:03:34, Nori, Sekhar

Re: [PATCH v4] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-10 Thread Sekhar Nori
Avinash, On 4/10/2013 1:32 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node along with pin-mux details for EHRPWM1. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v3: - add pin

Re: [PATCH v8 1/2] ARM: davinci: dm355: add support for v4l2 video display

2013-04-12 Thread Sekhar Nori
On 4/8/2013 2:56 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm355. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com For patches 1/2 and 2/2: Acked-by: Sekhar

Re: [PATCH] ARM: daVinci: dm644x/dm355/dm365: replace V4L2_STD_525_60/625_50 with V4L2_STD_NTSC/PAL

2013-04-12 Thread Sekhar Nori
Verkuil hans.verk...@cisco.com Cc: Sekhar Nori nsek...@ti.com I assume you have tested it, some testing information would have been good. The patch as such is OK with me. I assume this will go through media tree for sake of dependencies. Acked-by: Sekhar Nori nsek...@ti.com Thanks, Sekhar

Re: [PATCH] davinci: vpif: add pm_runtime support

2013-04-01 Thread Sekhar Nori
On 3/28/2013 3:50 PM, Prabhakar Lad wrote: Hi Laurent, On Thu, Mar 28, 2013 at 3:40 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Prabhakar, On Thursday 28 March 2013 15:36:11 Prabhakar Lad wrote: On Thu, Mar 28, 2013 at 2:39 PM, Laurent Pinchart wrote: On Thursday 28

Re: [PATCH] ARM: davinci: use is IS_ENABLED macro

2013-04-01 Thread Sekhar Nori
On 3/28/2013 10:07 AM, Prabhakar Lad wrote: Hi Sekhar, On Wed, Mar 27, 2013 at 4:13 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi, On Mon, 25 Mar 2013 16:51:35 +0530 Prabhakar lad prabhakar.cse...@gmail.com wrote: --- a/arch/arm/mach-davinci/board-da830-evm.c +++

Re: [PATCH v3 2/3] arm: davinci: clock node support for ECAP EHRPWM

2013-04-02 Thread Sekhar Nori
On 3/25/2013 1:19 PM, Philip Avinash wrote: Add clock node support for ECAP and EHRPWM modules. Also adds TBCLK for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. Signed-off-by: Philip Avinash avinashphi...@ti.com Queuing this for v3.10 Thanks, Sekhar -- To unsubscribe from this list:

Re: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-02 Thread Sekhar Nori
On 3/25/2013 1:19 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. This looks fine to me but I will wait for the bindings to get accepted before taking this one. Thanks, Sekhar -- To unsubscribe from this

Re: [PATCH v3 0/3] Platform support for EHRPWM ECAP devices in DAVINCI.

2013-04-02 Thread Sekhar Nori
On 3/25/2013 1:19 PM, Philip Avinash wrote: Add platform support for EHRPWM and ECAP by providing clock nodes and device tree nodes. This series depends on [1] and [2] and is available for testing at [3]. Tested for back light support in da850 EVM with EHRPWM PWM device. [1]

Re: [PATCH v2] ARM: davinci: use is IS_ENABLED macro

2013-04-02 Thread Sekhar Nori
On 4/1/2013 12:43 PM, Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patches replaces #if defined() by IS_ENABLED macro, which provides better readability. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Sekhar Nori nsek...@ti.com Cc: Stephen

Re: [PATCH] ARM: davinci: remove test for undefined Kconfig macro

2013-04-02 Thread Sekhar Nori
On 3/29/2013 6:03 PM, Paul Bolle wrote: [Dropped Kevin Hilman, because Kevin's address bounces.] Use khil...@deeprootsystems.com as updated in MAINTAINERS. On Fri, 2013-03-29 at 12:47 +0100, Paul Bolle wrote: The DaVinci debugging macro contains a check for

Re: [PATCH v9 0/9] DMA Engine support for AM33XX

2013-04-03 Thread Sekhar Nori
Hi Matt, On 3/6/2013 9:45 PM, Matt Porter wrote: This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API implementation (much like the situation with OMAP DMA) found on the DaVinci family of SoCs. Matt

Re: [PATCH v5 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-14 Thread Sekhar Nori
On 3/14/2013 2:09 PM, Prabhakar Lad wrote: Hi Sekhar, On Tue, Dec 4, 2012 at 6:52 PM, Sekhar Nori nsek...@ti.com wrote: On 12/3/2012 1:51 PM, Prabhakar Lad wrote: From: Manjunath Hadli manjunath.ha...@ti.com add support for V4L2 video display to DM365 EVM. Support for SD and ED modes

Re: [PATCH 1/3] pwm: davinci: Add Kconfig support for ECAP EHRPWM devices

2013-03-14 Thread Sekhar Nori
On 3/14/2013 4:02 PM, Philip Avinash wrote: Add EHRPWM and ECAP support build support for DAVINCI_DA850 platforms. Also, since DAVINCI platforms doesn't support TI-PWM-Subsystem module, remove the select option for CONFIG_PWM_TIPWMSS. Also, update CONFIG_PWM_TIPWMSS compiler directive

Re: [PATCH 2/3] pwm: pwm-tiecap: Add device-tree binding support for da850 SOC

2013-03-14 Thread Sekhar Nori
On 3/14/2013 4:02 PM, Philip Avinash wrote: ECAP IP is used in da850 SOC's also. Hence adds ECAP device tree binding support for da850. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Signed-off-by: Philip Avinash

Re: [PATCH 1/3] arm: davinci: clock node support for ECAP EHRPWM

2013-03-14 Thread Sekhar Nori
On 3/14/2013 4:07 PM, Philip Avinash wrote: Add clock node support for ECAP and EHRPWM modules. Also adds dummy clock for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. This is not right. So the version of IP used on AM335x uses a TBCLK and that's absent on the version used on DA850? If

  1   2   3   4   5   6   7   8   9   10   >