[PATCH] watchdog: davinci_wdt: add OF support

2012-11-26 Thread Murali Karicheri
This adds OF support for davinci_wdt driver. Signed-off-by: Murali Karicheri --- .../devicetree/bindings/watchdog/davinci-wdt.txt | 12 drivers/watchdog/davinci_wdt.c |7 +++ 2 files changed, 19 insertions(+) create mode 100644 Documentation

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

2012-11-27 Thread Murali Karicheri
On 11/27/2012 12:29 PM, Mike Turquette wrote: Quoting Sekhar Nori (2012-11-27 07:05:21) Hi Mike, On 11/10/2012 7:52 AM, Mike Turquette wrote: Quoting Murali Karicheri (2012-11-05 07:10:52) On 11/03/2012 08:07 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This is the

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

2012-10-25 Thread Murali Karicheri
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 --- arch/arm/Kconfig |1 + arch/arm/mach-davinci/Kconfig |2 ++ arch/arm

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

2012-10-25 Thread Murali Karicheri
the divider fixed meaning they can not be configured through a register. HAS_PREDIV and HAS_POSTDIV flags are used to tell the driver if a hardware has these dividers present or not. Driver is configured through the struct clk_pll_data that has the SoC specific clock data. Signed-off-by: Murali

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

2012-10-25 Thread Murali Karicheri
Domain and Clock domain for different IPs present in the SoC. The driver is configured through the clock data passed to the driver through struct clk_psc_data. Signed-off-by: Murali Karicheri --- drivers/clk/davinci/clk-psc.c | 207 + drivers/clk/davinci/clk

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

2012-10-25 Thread Murali Karicheri
() function of the clk-divider if enabled. Signed-off-by: Murali Karicheri --- drivers/clk/davinci/clk-div.c | 124 + drivers/clk/davinci/clk-div.h | 42 ++ 2 files changed, 166 insertions(+) create mode 100644 drivers/clk/davinci/clk-div.c create

[PATCH v3 11/11] ARM: davinci - common clock migration: clean up the old code

2012-10-25 Thread Murali Karicheri
. However this shows how the migration will happen. Signed-off-by: Murali Karicheri --- arch/arm/mach-davinci/Makefile | 22 - arch/arm/mach-davinci/clock.c | 669 --- arch/arm/mach-davinci/clock.h | 135 -- arch/arm/mach

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

2012-10-25 Thread Murali Karicheri
clk/davinci folder so that various soc specific clock initialization code can share these definitions. Signed-off-by: Murali Karicheri --- drivers/clk/davinci/dm644x-clock.c | 304 drivers/clk/davinci/pll.h | 83 ++ drivers/clk/davinci/psc.h

[PATCH v3 00/11] common clk drivers migration for DaVinci SoCs

2012-10-25 Thread Murali Karicheri
ssues in boot up, HELP NEEDED!!: -- I am doing this work as a background activity and hence the progress will be slow. Please volunteer to help me in this effort by offering to test or migrating other devices to this framework. Murali Karicheri (11): clk: davinci - add main PLL clock d

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

2012-10-25 Thread Murali Karicheri
initialization code in a specific platform/SoC. Signed-off-by: Murali Karicheri --- drivers/clk/davinci/clock.c | 112 +++ drivers/clk/davinci/clock.h | 80 +++ 2 files changed, 192 insertions(+) create mode 100644 drivers/clk/davinci

[PATCH v3 09/11] ARM: davinci - dm644x: update SoC code to remove the clock data

2012-10-25 Thread Murali Karicheri
As part of the migration, the clock data is now moved to the driver/clk/ davinci/dm644x-clock.c. Currently the clock data is placed under ifndef CONFIG_COMMON_CLK directive and will be removed in a subsequent patch. Signed-off-by: Murali Karicheri --- arch/arm/mach-davinci/davinci.h |3

[PATCH v3 08/11] ARM: davinci - migrating to use common clock init code

2012-10-25 Thread Murali Karicheri
early to call this function. Signed-off-by: Murali Karicheri --- arch/arm/mach-davinci/common.c |6 ++ arch/arm/mach-davinci/include/mach/common.h |4 arch/arm/mach-davinci/time.c|7 +++ 3 files changed, 17 insertions(+) diff --git a/arch/arm

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

2012-10-25 Thread Murali Karicheri
is moved to time.h as clock.h is being obsoleted. sleep.S and pm.c is modified to include the new header file replacements. Signed-off-by: Murali Karicheri --- arch/arm/mach-davinci/devices.c |2 ++ arch/arm/mach-davinci/include/mach/pll.h | 46 + arch

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

2012-10-25 Thread Murali Karicheri
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 --- drivers/clk/Kconfig |2 ++ drivers/clk/Makefile |1 + drivers/clk/davinci/Kconfig | 44

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

2012-10-31 Thread Murali Karicheri
On 10/28/2012 03:26 PM, Linus Walleij wrote: On Thu, Oct 25, 2012 at 6:11 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

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

2012-10-31 Thread Murali Karicheri
On 10/28/2012 03:25 PM, Linus Walleij wrote: On Thu, Oct 25, 2012 at 6:11 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

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

2012-10-31 Thread Murali Karicheri
On 10/28/2012 03:24 PM, Linus Walleij wrote: On Thu, Oct 25, 2012 at 6:11 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

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

2012-10-31 Thread Murali Karicheri
On 10/28/2012 03:18 PM, Linus Walleij wrote: On Thu, Oct 25, 2012 at 6:11 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 v3 01/11] clk: davinci - add main PLL clock driver

2012-10-31 Thread Murali Karicheri
On 10/31/2012 08:29 AM, Sekhar Nori wrote: 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

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

2012-11-01 Thread Murali Karicheri
On 11/01/2012 08:41 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 types for clock definitions in a SoC and clock

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

2012-11-02 Thread Murali Karicheri
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 or enable the driver. This is a sub class of the

[PATCH] mtd: davinci: add support for parition binding nodes

2012-11-02 Thread Murali Karicheri
Enhance the driver to support partition subnodes inside the nand device bindings to describe partions on the nand device. Signed-off-by: Murali Karicheri --- .../devicetree/bindings/arm/davinci/nand.txt |8 drivers/mtd/nand/davinci_nand.c| 13

[RESEND PATCH] mtd: davinci: add support for parition binding nodes

2012-11-02 Thread Murali Karicheri
Enhance the driver to support partition subnodes inside the nand device bindings to describe partions on the nand device. Signed-off-by: Murali Karicheri --- .../devicetree/bindings/arm/davinci/nand.txt |8 drivers/mtd/nand/davinci_nand.c| 13

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

2012-11-02 Thread Murali Karicheri
usage. Signed-off-by: Murali Karicheri --- .../devicetree/bindings/arm/davinci/aemif.txt | 62 +++ drivers/memory/Kconfig | 10 + drivers/memory/Makefile|1 + drivers/memory/davinci-aemif.c | 397

[RFC PATCH 2/2] mtd: davinci - remove DaVinci architecture depedency

2012-11-02 Thread Murali Karicheri
the driver to use the new AEMIF platform driver API. Signed-off-by: Murali Karicheri --- drivers/mtd/nand/Kconfig |6 +- drivers/mtd/nand/davinci_nand.c| 40 ++--- include/linux/platform_data/davinci-nand.h | 87 3 files

[RFC PATCH 0/2] - Move AEMIF driver out of DaVinci machine

2012-11-02 Thread Murali Karicheri
. Some of these code has been borrowed from intial patch from Heiko Schocher . So I have added his name in the Copyright for davinci-aemif.c This is an RFC to get the intial response so that all the platforms can be migrated to use this driver. Murali Karicheri (2): memory: davinci - add aemif

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

2012-11-05 Thread Murali Karicheri
On 11/03/2012 08:03 AM, Sekhar Nori wrote: 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

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

2012-11-05 Thread Murali Karicheri
On 11/03/2012 08:07 AM, Sekhar Nori wrote: 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

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

2012-11-05 Thread Murali Karicheri
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 types for clock definitions in a SoC and clock

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

2012-11-05 Thread Murali Karicheri
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. It uses following clk drivers for this 1. clk-fixed

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

2012-11-05 Thread Murali Karicheri
On 11/04/2012 08:06 AM, Sekhar Nori wrote: 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

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

2012-11-05 Thread Murali Karicheri
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-by: Murali Karicheri As mentioned before, this

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

2012-11-05 Thread Murali Karicheri
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 migrating to common clock. The definitions under

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

2012-11-05 Thread Murali Karicheri
On 11/04/2012 08:52 AM, Rob Herring wrote: OMAP GPMC Could you send me a link please? Murali -- 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

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

2012-11-05 Thread Murali Karicheri
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 migrating to common clock. The definitions under

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

2012-10-26 Thread Murali Karicheri
On 10/25/2012 09:12 AM, Prabhakar Lad wrote: Hi Murali, Thanks for the patch. I'll queue this patch for 3.8. On Mon, Oct 22, 2012 at 9:06 PM, Murali Karicheri wrote: As a first step towards migrating davinci platforms to use common clock framework, replace all instances of clk_e

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

2012-10-26 Thread Murali Karicheri
these patches, I would suggest you queue this against 3.7 rcx. Murali On Mon, Oct 22, 2012 at 9:06 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()

Re: [linux-keystone] [PATCH] spi: davinci: add OF support for the spi controller

2012-11-30 Thread Murali Karicheri
On 11/15/2012 11:20 AM, Grant Likely wrote: On Mon, 12 Nov 2012 16:28:22 -0500, Murali Karicheri wrote: This adds OF support to DaVinci SPI controller to configure platform data through device bindings. Signed-off-by: Murali Karicheri Hi Murali, Comments below... --- .../devicetree

[PATCH v1 0/1] spi: davinci: add OF support for the spi controller

2012-12-03 Thread Murali Karicheri
itself. spi_davinci_get_pdata() now populates the pdata in the above structure with parsed values from DT bindings. - rebased to v3.7 rc7 of linux-next - replaces clk_* APIs with their prepare/unprepare versions Murali Karicheri (1): spi: davinci: add OF support for the spi controller

[PATCH v1 1/1] spi: davinci: add OF support for the spi controller

2012-12-03 Thread Murali Karicheri
This adds OF support to DaVinci SPI controller to configure platform data through device bindings. Also replaces clk_enable() with of clk_prepare_enable() as well as clk_disable() with clk_disable_unprepare(). Signed-off-by: Murali Karicheri Reviewed-by : Grant Likely --- .../devicetree

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

2012-10-22 Thread Murali Karicheri
On 10/20/2012 02:39 AM, Prabhakar Lad wrote: Hi Murali, On Friday 19 October 2012 11:42 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

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

2012-10-22 Thread Murali Karicheri
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(). Also fixes some issues related to clk clean up in the driver Signed-off-by: Murali Karicheri

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

2012-10-22 Thread Murali Karicheri
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(). Also fixes some issues related to clk clean up in the driver Signed-off-by: Murali Karicheri

[RESEND PATCH 2/2] Documentation: of-serial.txt - update for clocks phandle for clk

2012-10-22 Thread Murali Karicheri
Signed-off-by: Murali Karicheri diff --git a/Documentation/devicetree/bindings/tty/serial/of-serial.txt b/Documentation/devicetree/bindings/tty/serial/of-serial.txt index 0847fde..423b7ff 100644 --- a/Documentation/devicetree/bindings/tty/serial/of-serial.txt +++ b/Documentation/devicetree

[RESEND PATCH 1/2] of serial port driver - add clk_get_rate() support

2012-10-22 Thread Murali Karicheri
rate. Signed-off-by: Murali Karicheri diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c index 34e7187..6f64f02 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c @@ -21,8 +21,10 @@ #include #include #include +#include struct

[PATCH - v2] spi: davinci: add OF support for the spi controller

2012-12-11 Thread Murali Karicheri
This adds OF support to DaVinci SPI controller to configure platform data through device bindings. Also replaces clk_enable() with of clk_prepare_enable() as well as clk_disable() with clk_disable_unprepare(). Signed-off-by: Murali Karicheri Reviewed-by : Grant Likely --- - Change log - v2

[PATCH] spi: davinci: add OF support for the spi controller

2012-11-12 Thread Murali Karicheri
This adds OF support to DaVinci SPI controller to configure platform data through device bindings. Signed-off-by: Murali Karicheri --- .../devicetree/bindings/spi/spi-davinci.txt| 50 drivers/spi/spi-davinci.c | 80 +++- 2 files

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

2012-11-05 Thread Murali Karicheri
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. It uses following clk drivers for this 1. clk-fixed

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

2012-11-06 Thread Murali Karicheri
On 11/06/2012 04:31 AM, Sekhar Nori wrote: 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

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

2012-11-06 Thread Murali Karicheri
On 11/06/2012 02:44 AM, Sekhar Nori wrote: 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

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

2012-11-06 Thread Murali Karicheri
On 11/04/2012 08:52 AM, Rob Herring wrote: On 11/02/2012 11:21 AM, Murali Karicheri wrote: This is a platform driver for asynchronous external memory interface available on TI SoCs. This driver was previously located inside the mach-davinci folder. As this DaVinci IP is re-used across multiple

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

2012-11-06 Thread Murali Karicheri
On 11/02/2012 03:05 PM, Stephen Warren wrote: On 11/02/2012 10:21 AM, Murali Karicheri wrote: This is a platform driver for asynchronous external memory interface available on TI SoCs. This driver was previously located inside the mach-davinci folder. As this DaVinci IP is re-used across

[RESEND:PATCH] mtd: davinci-nand: add support for partition binding nodes

2012-11-06 Thread Murali Karicheri
Enhance the driver to support partition subnodes inside the nand device bindings to describe partitions on the nand device. Signed-off-by: Murali Karicheri --- .../devicetree/bindings/arm/davinci/nand.txt |8 drivers/mtd/nand/davinci_nand.c| 13

[RFC v2 PATCH 0/2]Move AEMIF driver out of DaVinci machine to memory subsystem

2012-11-06 Thread Murali Karicheri
borrowed from intial patch from Heiko Schocher . So I have added his name in the Copyright for davinci-aemif.c This is an RFC to get the intial response so that all the platforms can be migrated to use this driver. Murali Karicheri (2): memory: davinci - add aemif controller platform driver

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

2012-11-06 Thread Murali Karicheri
driver usage. This supports configuration of the bus either through platform_data or through DT bindings. Signed-off-by: Murali Karicheri --- .../devicetree/bindings/memory/davinci-aemif.txt | 103 + drivers/memory/Kconfig | 10 + drivers/memory/Makefile

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

2012-11-07 Thread Murali Karicheri
davinci_aemif_of_match, +}, +}; + +static int __init davinci_aemif_init(void) +{ +return platform_driver_register(&davinci_aemif_driver); +} +subsys_initcall(davinci_aemif_init); + +static void __exit davinci_aemif_exit(void) +{ +clk_disable_unprepare(aemif->clk); +clk_put

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

2012-11-08 Thread Murali Karicheri
Stephen, Thanks for reviewing this. See my responses below On 11/07/2012 03:05 PM, Stephen Warren wrote: On 11/06/2012 02:47 PM, Murali Karicheri wrote: This is a platform driver for asynchronous external memory interface available on TI SoCs. This driver was previously located inside the mach

Re: [RFC v2 PATCH 2/2] mtd: davinci - remove DaVinci architecture depedency

2012-11-08 Thread Murali Karicheri
On 11/07/2012 03:08 PM, Stephen Warren wrote: On 11/06/2012 02:47 PM, Murali Karicheri wrote: DaVinci NAND driver is a controller driver based on the AEMIF hardware IP found on TI SoCs. It is also used on SoCs that are not DaVinci based. This patch removes the driver dependency on DaVinci

Re: [PATCH] spi: davinci: use request_threaded_irq() to fix deadlock

2013-01-02 Thread Murali Karicheri
On 12/22/2012 05:08 AM, Grant Likely wrote: On Fri, 21 Dec 2012 15:13:26 -0500, Murali Karicheri wrote: With RT pre-empt patch applied to Linux kernel, the irq handler will be force converted to an irq thread. spi driver can get back to back messages from the slave device. In such cases, IRQ

Re: [PATCH - v2] spi: davinci: add OF support for the spi controller

2012-12-19 Thread Murali Karicheri
On 12/19/2012 08:18 AM, Grant Likely wrote: On Sat, 15 Dec 2012 00:27:58 +, Grant Likely wrote: On Tue, 11 Dec 2012 16:20:39 -0500, Murali Karicheri wrote: This adds OF support to DaVinci SPI controller to configure platform data through device bindings. Also replaces clk_enable() with

Re: [linux-keystone] [PATCH] spi: davinci: add OF support for the spi controller

2012-11-16 Thread Murali Karicheri
On 11/15/2012 11:20 AM, Grant Likely wrote: On Mon, 12 Nov 2012 16:28:22 -0500, Murali Karicheri wrote: This adds OF support to DaVinci SPI controller to configure platform data through device bindings. Signed-off-by: Murali Karicheri Hi Murali, Comments below... --- .../devicetree

Re: [RESEND PATCH 1/2] of serial port driver - add clk_get_rate() support

2012-10-16 Thread Murali Karicheri
On 10/16/2012 11:24 AM, Murali Karicheri wrote: Currently this driver expects the clock-frequency attribute. This patch allows getting clock-frequency through clk driver API clk_get_rate() if clock-frequency attribute is not defined. So in the device bindings for serial device, one can add

Re: [RESEND PATCH 2/2] Documentation: of-serial.txt - update for clocks phandle for clk

2012-10-16 Thread Murali Karicheri
On 10/16/2012 11:24 AM, Murali Karicheri wrote: Signed-off-by: Murali Karicheri diff --git a/Documentation/devicetree/bindings/tty/serial/of-serial.txt b/Documentation/devicetree/bindings/tty/serial/of-serial.txt index 0847fde..423b7ff 100644 --- a/Documentation/devicetree/bindings/tty/serial

Re: linux-next: manual merge of the l2-mtd tree with Linus' tree

2012-12-13 Thread Murali Karicheri
On 12/13/2012 12:38 AM, Kumar, Anil wrote: On Thu, Dec 13, 2012 at 07:07:55, Stephen Rothwell wrote: Hi Artem, Today's linux-next merge of the l2-mtd tree got a conflict in Documentation/devicetree/bindings/arm/davinci/nand.txt between commit fed16bba8726 ("mtd: nand: davinci: fix the binding d

[net-next PATCH] hsr: fix coding style issues

2017-06-21 Thread Murali Karicheri
This fix coding style issues detected by running checkpatch.pl -f option on files under net/hsr. Signed-off-by: Murali Karicheri --- - applies to net-next/master - Test logs at http://pastebin.ubuntu.com/24917637/ net/hsr/hsr_device.c | 49 + net/hsr/hsr_forward.c

Re: [PATCH v1] soc: ti: reset irq affinity before freeing irq

2015-08-28 Thread Murali Karicheri
On 08/27/2015 06:58 PM, santosh shilimkar wrote: On 8/27/2015 2:44 PM, Murali Karicheri wrote: When using accumulator queue for rx side for network driver, following warning is seen when doing a reboot command from Linux console. This is because, affinity value is not reset before calling

[PATCH v2 0/4] soc: ti: knav_qmss: enable accumulator queue support

2015-10-12 Thread Murali Karicheri
firmware in the file system will not cause other queue types not available due to driver probe failure. Murali Karicheri (4): Documentation: dt: soc: move driver description to a separate document soc: ti: add firmware file name as part of the driver ARM: dts: keystone: enable accumulator

[PATCH 1/4] Documentation: dt: soc: move driver description to a separate document

2015-10-12 Thread Murali Karicheri
Currently the DT bindings have details about the driver as well. This patch moves this to a separate document for knav qmss driver so that driver detail update can be done as needed without polluting the DT bindings description. Signed-off-by: Murali Karicheri --- Documentation/arm/keystone

[PATCH 4/4] soc: ti: qmss: make acc queue support optional in the driver

2015-10-12 Thread Murali Karicheri
system and boot up kernel. Signed-off-by: Murali Karicheri --- - v2 : new patch added Documentation/arm/keystone/knav-qmss.txt | 6 ++ drivers/soc/ti/knav_qmss.h | 2 ++ drivers/soc/ti/knav_qmss_acc.c | 10 -- drivers/soc/ti/knav_qmss_queue.c | 20

[PATCH v2 2/4] soc: ti: add firmware file name as part of the driver

2015-10-12 Thread Murali Karicheri
it is assumed that driver needs to change to accommodate the new firmware and new firmware file name will get added to the array. Also update the DT document to remove the firmware attribute and add description about firmware in the driver documentation. Signed-off-by: Murali Karicheri --- - v2

[PATCH v2 3/4] ARM: dts: keystone: enable accumulator channels

2015-10-12 Thread Murali Karicheri
Add low priority accumulator channel that can monitor multiple QMSS queues. User for example could use the accumular queue for Netcp Rx completion. While at it, also add an extra line end of each top level node in DTS to make it more readable. Signed-off-by: Murali Karicheri --- - firmware name

Re: [PATCH v2 0/4] soc: ti: knav_qmss: enable accumulator queue support

2015-10-12 Thread Murali Karicheri
On 10/12/2015 03:46 PM, Murali Karicheri wrote: This patch series enable accumulator queue support for K2 SoCs. Accumulator queues are a type of qmss queue that is monitored by the PDSP firmware and accumulated. Host is interrupted by PDSP firmware when packets become available in a ring buffer

[Resend: PATCH v2 1/4] Documentation: dt: soc: move driver description to a separate document

2015-10-12 Thread Murali Karicheri
Currently the DT bindings have details about the driver as well. This patch moves this to a separate document for knav qmss driver so that driver detail update can be done as needed without polluting the DT bindings description. Signed-off-by: Murali Karicheri --- Documentation/arm/keystone

[Resend: PATCH v2 4/4] soc: ti: qmss: make acc queue support optional in the driver

2015-10-12 Thread Murali Karicheri
system and boot up kernel. Signed-off-by: Murali Karicheri --- - v2 : new patch added Documentation/arm/keystone/knav-qmss.txt | 6 ++ drivers/soc/ti/knav_qmss.h | 2 ++ drivers/soc/ti/knav_qmss_acc.c | 10 -- drivers/soc/ti/knav_qmss_queue.c | 20

Re: [PATCH v2 0/4] soc: ti: knav_qmss: enable accumulator queue support

2015-10-13 Thread Murali Karicheri
On 10/12/2015 03:46 PM, Murali Karicheri wrote: This patch series enable accumulator queue support for K2 SoCs. Accumulator queues are a type of qmss queue that is monitored by the PDSP firmware and accumulated. Host is interrupted by PDSP firmware when packets become available in a ring buffer

Re: [PATCH 1/4] Documentation: dt: soc: move driver description to a separate document

2015-10-13 Thread Murali Karicheri
On 10/13/2015 10:42 AM, Rob Herring wrote: On Mon, Oct 12, 2015 at 2:46 PM, Murali Karicheri wrote: Currently the DT bindings have details about the driver as well. This patch moves this to a separate document for knav qmss driver so that driver detail update can be done as needed without

Re: [PATCH v2 0/4] soc: ti: knav_qmss: enable accumulator queue support

2015-10-13 Thread Murali Karicheri
Santosh, On 10/13/2015 12:01 PM, santosh shilimkar wrote: On 10/13/2015 6:56 AM, Murali Karicheri wrote: On 10/12/2015 03:46 PM, Murali Karicheri wrote: This patch series enable accumulator queue support for K2 SoCs. Santosh, Arnd, Could you please review and let me know if there is any

Re: [PATCH v2 0/4] soc: ti: knav_qmss: enable accumulator queue support

2015-10-13 Thread Murali Karicheri
On 10/13/2015 12:21 PM, santosh shilimkar wrote: On 10/13/2015 9:14 AM, Murali Karicheri wrote: Santosh, On 10/13/2015 12:01 PM, santosh shilimkar wrote: On 10/13/2015 6:56 AM, Murali Karicheri wrote: On 10/12/2015 03:46 PM, Murali Karicheri wrote: This patch series enable accumulator queue

Re: [PATCH 1/4] Documentation: dt: soc: move driver description to a separate document

2015-10-13 Thread Murali Karicheri
On 10/13/2015 10:42 AM, Rob Herring wrote: On Mon, Oct 12, 2015 at 2:46 PM, Murali Karicheri wrote: Currently the DT bindings have details about the driver as well. This patch moves this to a separate document for knav qmss driver so that driver detail update can be done as needed without

Re: [PATCH 1/4] Documentation: dt: soc: move driver description to a separate document

2015-10-13 Thread Murali Karicheri
On 10/13/2015 02:01 PM, Rob Herring wrote: On Tue, Oct 13, 2015 at 12:28 PM, Murali Karicheri wrote: On 10/13/2015 10:42 AM, Rob Herring wrote: On Mon, Oct 12, 2015 at 2:46 PM, Murali Karicheri wrote: Currently the DT bindings have details about the driver as well. This patch moves this

Re: [PATCH 3/3] ARM: keystone: dts: add PCI serdes driver bindings

2015-10-13 Thread Murali Karicheri
t;; + status = "disabled"; + }; + }; + }; }; }; Wingman, This should be a separate patch and remove the sane from Driver patch. i.e. send 1/3 ane 2/3 in one series and 3/3

[PATCH v3 3/3] soc: ti: qmss: make acc queue support optional in the driver

2015-10-13 Thread Murali Karicheri
system and boot up kernel. Signed-off-by: Murali Karicheri --- v3: no change from v2 v2: new patch Documentation/arm/keystone/knav-qmss.txt | 6 ++ drivers/soc/ti/knav_qmss.h | 2 ++ drivers/soc/ti/knav_qmss_acc.c | 10 -- drivers/soc/ti/knav_qmss_queue.c

[PATCH v3 0/3] soc: ti: knav_qmss: enable accumulator queue support

2015-10-13 Thread Murali Karicheri
n the file system will not cause other queue types not available due to driver probe failure. Murali Karicheri (3): Documentation: dt: soc: Add description for knav qmss driver soc: ti: add firmware file name as part of the driver soc: ti: qmss: make acc queue support optional in the driver Doc

[PATCH v3 1/3] Documentation: dt: soc: Add description for knav qmss driver

2015-10-13 Thread Murali Karicheri
Add documentation for knav qmss driver. Signed-off-by: Murali Karicheri --- v3: not removed description from DT document Documentation/arm/keystone/knav-qmss.txt | 24 1 file changed, 24 insertions(+) create mode 100644 Documentation/arm/keystone/knav-qmss.txt diff

[PATCH v3 2/3] soc: ti: add firmware file name as part of the driver

2015-10-13 Thread Murali Karicheri
it is assumed that driver needs to change to accommodate the new firmware and new firmware file name will get added to the array. Also update the DT document to remove the firmware attribute and add description about firmware in the driver documentation. Signed-off-by: Murali Karicheri Acked-by

[PATCH v3] ARM: dts: keystone: enable accumulator channels

2015-10-13 Thread Murali Karicheri
Add low priority accumulator channel that can monitor multiple QMSS queues. User for example could use the accumular queue for Netcp Rx completion. While at it, also add an extra line end of each top level node in DTS to make it more readable. Signed-off-by: Murali Karicheri --- - dependent on

[PATCH v4 1/3] Documentation: dt: soc: Add description for knav qmss driver

2015-10-14 Thread Murali Karicheri
Add a documentation for knav qmss driver. Signed-off-by: Murali Karicheri --- v4: added Arnd's Acked-by Documentation/arm/keystone/knav-qmss.txt | 24 1 file changed, 24 insertions(+) create mode 100644 Documentation/arm/keystone/knav-qmss.txt diff --

[PATCH v4 3/3] soc: ti: qmss: make acc queue support optional in the driver

2015-10-14 Thread Murali Karicheri
system and boot up kernel. Signed-off-by: Murali Karicheri --- v4: no change from v3 Documentation/arm/keystone/knav-qmss.txt | 6 ++ drivers/soc/ti/knav_qmss.h | 2 ++ drivers/soc/ti/knav_qmss_acc.c | 10 -- drivers/soc/ti/knav_qmss_queue.c | 20

[PATCH v4 2/3] soc: ti: add firmware file name as part of the driver

2015-10-14 Thread Murali Karicheri
it is assumed that driver needs to change to accommodate the new firmware and new firmware file name will get added to the array. Also update the DT document to remove the firmware attribute and add description about firmware in the driver documentation. Signed-off-by: Murali Karicheri Acked-by

[PATCH v4 0/3]

2015-10-14 Thread Murali Karicheri
linux-firmware.git. - Additionally added accumulator queue support optional so that lack of firmware in the file system will not cause other queue types not available due to driver probe failure. Murali Karicheri (3): Documentation: dt: soc: Add description for knav q

Re: [PATCH v1 1/2] soc: ti: display firmware file name as part of boot log

2015-09-09 Thread Murali Karicheri
On 09/04/2015 11:53 PM, santosh.shilim...@oracle.com wrote: On 9/4/15 5:46 PM, Murali Karicheri wrote: To help the user, print the PDSP file name as part of knav_queue_load_pdsp(). This will be useful for users to know what version of the firmware is loaded to PDSP. Also update the document for

Re: [PATCH v1 1/2] soc: ti: display firmware file name as part of boot log

2015-09-09 Thread Murali Karicheri
On 09/09/2015 01:12 PM, santosh.shilim...@oracle.com wrote: On 9/9/15 9:38 AM, Murali Karicheri wrote: On 09/04/2015 11:53 PM, santosh.shilim...@oracle.com wrote: On 9/4/15 5:46 PM, Murali Karicheri wrote: To help the user, print the PDSP file name as part of knav_queue_load_pdsp(). This will

Re: [PATCH v1 1/2] phy: keystone: serdes driver for gbe 10gbe and pcie

2015-10-15 Thread Murali Karicheri
te on this? I did a grep on the string "Redistributions in binary form must reproduce the above copyright" and I could find several instance of this. So I am not sure what you mean by "The current code does not do this when compiled". Thanks -- Murali Karicheri Lin

Re: [PATCH v4 0/3]

2015-10-15 Thread Murali Karicheri
On 10/14/2015 11:41 AM, santosh shilimkar wrote: 10/14/2015 7:17 AM, Murali Karicheri wrote: This patch series enable accumulator queue support for K2 SoCs. Accumulator queues are a type of qmss queue that is monitored by the PDSP firmware and accumulated. Host is interrupted by PDSP firmware

Re: [PATCH v4 0/3]

2015-10-15 Thread Murali Karicheri
On 10/15/2015 12:21 PM, santosh shilimkar wrote: On 10/15/2015 9:02 AM, Murali Karicheri wrote: On 10/14/2015 11:41 AM, santosh shilimkar wrote: 10/14/2015 7:17 AM, Murali Karicheri wrote: This patch series enable accumulator queue support for K2 SoCs. Accumulator queues are a type of qmss

[PATCH linux-next] soc: ti: use request_firmware_direct() as acc firmware is optional

2015-10-15 Thread Murali Karicheri
-by: Murali Karicheri --- drivers/soc/ti/knav_qmss_queue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index f3a0b6a..89789e2 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti

Re: [PATCH linux-next] soc: ti: use request_firmware_direct() as acc firmware is optional

2015-10-16 Thread Murali Karicheri
On 10/15/2015 02:59 PM, Murali Karicheri wrote: When firmware image for PDSP firmware is absent in the file system the kernel boot with ramfs/nfs is stuck for 60 seconds being the the default timeout. request_firmware_direct() is to take care of such optional firmware loading and hence replace

Re: [PATCH v1 0/2] Common SerDes driver for TI's Keystone Platforms

2015-10-16 Thread Murali Karicheri
s continue to differentiate on PHY register design. :) So what? Network drivers differ radically in register design, yet we still have a standardised interface to network drivers. -- Murali Karicheri Linux Kernel, Keystone -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH 1/5] ARM: Keystone: Enable PINCTRL for Keystone ARCH

2015-10-22 Thread Murali Karicheri
early to add the defconfig update and should be deferred to when the DTS update is made. What if the newer keystone 2 SoC never end up in the tree? Murali Regards, Santosh -- Murali Karicheri Linux Kernel, Keystone -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH 1/5] ARM: Keystone: Enable PINCTRL for Keystone ARCH

2015-10-22 Thread Murali Karicheri
that series, not now. -- Murali Karicheri Linux Kernel, Keystone -- 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 FA

  1   2   3   4   5   6   7   8   9   >