RE: [PATCH v2 0/4] GPIO DT support for da850

2013-06-14 Thread Philip, Avinash
On Fri, Jun 14, 2013 at 15:13:36, Philip, Avinash wrote: > With conversion of GPIO davinci driver to platform driver, gpio-davinci driver > can support DT boot. > This patch series > - adds dt binding support for gpio-davinci. > - da850 dt support goio. > > This patch ser

[PATCH v2 2/4] gpio: davinci: DT changes for driver

2013-06-14 Thread Philip Avinash
/gpio/. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- Changes since v1: - description for interrupts changed to reflecti interrupt array usage. .../devicetree/bindings/gpio/gpio-davinci.txt | 32 +++ drivers/gpio/gpio-davinci.c

[PATCH 2/2] gpio: gpio-tnetv107x: Fix bulid breakge

2013-06-14 Thread Philip Avinash
ivers/gpio/gpio-tnetv107x.c:172:2: error: implicit declaration of function 'ioremap' drivers/gpio/gpio-tnetv107x.c:172:7: warning: assignment makes pointer from integer without a cast Signed-off-by: Philip Avinash --- drivers/gpio/gpio-tnetv107x.c |1 + 1 file changed, 1 insertio

[PATCH 1/2] ARM: davinci: fix for build breakage for tnetv107x platforms

2013-06-14 Thread Philip Avinash
ch-davinci/board-tnetv107x-evm.c:285:15: error: 'davinci_init_late' undeclared here (not in a function) make[1]: *** [arch/arm/mach-davinci/board-tnetv107x-evm.o] Error 1 Signed-off-by: Philip Avinash --- arch/arm/mach-davinci/board-tnetv107x-evm.c |5 +++-- 1 file changed, 3 insert

[PATCH 0/2] Fix build breakage for tnetv107x platforms

2013-06-14 Thread Philip Avinash
at [1] and dependency on 2. 1. https://github.com/avinashphilip/am335x_linux/tree/linux_davinci_v3.10_soc_gpio_v310-rc4 2. https://patchwork.kernel.org/patch/97853/ Philip Avinash (2): ARM: davinci: fix for build breakage for tnetv107x platforms gpio: gpio-tnetv107x: Fix bulid breakge arch

[PATCH v2 4/4] ARM: davinci: da850 evm: add GPIO DT data

2013-06-14 Thread Philip Avinash
-off-by: Philip Avinash --- arch/arm/boot/dts/da850-evm.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 5bce7cc..2c127ff 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850

[PATCH v2 3/4] ARM: davinci: da850: add GPIO DT entries

2013-06-14 Thread Philip Avinash
From: KV Sujith Add DT entries for Davinci GPIO. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- Changes since v1: - interrupts member defined as array and with interrupt flags arch/arm/boot/dts/da850.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff

[PATCH v2 1/4] ARM: davinci: da850: Use #include for all device trees

2013-06-14 Thread Philip Avinash
Replace /include/ by #include for da850 device tree files, in order to use the C pre-processor, making use of #define features possible. Signed-off-by: Philip Avinash --- Changes since v1: - New patch and comes as a dependency of patch 3/4 arch/arm/boot/dts/da850-enbw-cmc.dts |2

[PATCH v2 0/4] GPIO DT support for da850

2013-06-14 Thread Philip Avinash
/am335x_linux/tree/linux_davinci_v3.10_soc_gpio_v310-rc4 KV Sujith (3): gpio: davinci: DT changes for driver ARM: davinci: da850: add GPIO DT entries ARM: davinci: da850 evm: add GPIO DT data Philip Avinash (1): ARM: davinci: da850: Use #include for all device trees .../devicetree/bindings

[PATCH v2 6/7] ARM: davinci: dmxxx: gpio device creation

2013-06-14 Thread Philip Avinash
Create davinci gpio device and remove gpio references in davinci_soc_info structure for dmxxx platforms. Also add Memory and IRQ resources for GPIO platform device. Signed-off-by: Philip Avinash Acked-by: Linus Walleij Signed-off-by: Sekhar Nori --- Changes since v1: - Add commit

[PATCH v2 5/7] ARM: davinci: da8xx: gpio device creation

2013-06-14 Thread Philip Avinash
Create davinci gpio device and remove references in davinci_soc_info structure. Also rearrange header file inclusion in group basis. Signed-off-by: Philip Avinash Acked-by: Linus Walleij Signed-off-by: Sekhar Nori --- arch/arm/mach-davinci/board-da830-evm.c | 19

[PATCH v2 4/7] ARM: davinci: creation of gpio platform device for dmxxx platforms

2013-06-14 Thread Philip Avinash
reate platform device for dmxxx platforms. Signed-off-by: Philip Avinash Acked-by: Linus Walleij Signed-off-by: Sekhar Nori --- arch/arm/mach-davinci/devices.c | 13 + arch/arm/mach-davinci/include/mach/common.h |2 ++ 2 files changed, 15 insertions(+) diff --git a/arc

RE: [PATCH v2 0/7] Convert GPIO Davinci to platform driver

2013-06-14 Thread Philip, Avinash
Sender mail id got corrupted. I will send another. Thanks Avinash On Fri, Jun 14, 2013 at 15:04:34, y...@symphony.india.ext.ti.com wrote: > From: Philip Avinash > > To support DT booting of da850 EVM, davinci gpio driver converted to platform > driver. Also when here, start using

[PATCH v2 7/7] ARM: davinci: Start using gpiolib API inplace of inline functions

2013-06-14 Thread Philip Avinash
using gpiolib interface. Hence removes related header files arch/arm/mach-davinci/include/mach/gpio-davinci.h arch/arm/mach-davinci/include/mach/gpio.h and include linux/platform_data/gpio-davinci.h header file to support gpio-davinci platform definitions. Signed-off-by: P

[PATCH v2 3/7] ARM: davinci: da8xx: creation of gpio platform device

2013-06-14 Thread Philip Avinash
urces for da8xx - Register GPIO platform driver for da8xx. - Add da8xx_register_gpio API to create platform device for da8xx platforms. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash Acked-by: Linus Walleij Signed-off-by: Sekhar Nori --- arch/arm/mach-davinci/devices-da8xx.c |

[PATCH v2 2/7] gpio: davinci: move to platform device

2013-06-14 Thread Philip Avinash
it as driver data.] Signed-off-by: Philip Avinash Acked-by: Linus Walleij Signed-off-by: Sekhar Nori --- Changes since v1: - Merge header file to drivermodification patch - Return error value updated. - line break alignment fixing. arch/arm/mach-davinci/include/mach/g

[PATCH v2 1/7] gpio: davinci: coding style correction

2013-06-14 Thread Philip Avinash
Make some minor coding style fixes. Use proper multi-line commenting style, arrange include files alphabetically use macros for bit definitions. Signed-off-by: Philip Avinash Signed-off-by: Sekhar Nori --- Changes since v1: - Remove variable name replacement - Add line break

[PATCH v2 0/7] Convert GPIO Davinci to platform driver

2013-06-14 Thread Philip Avinash
/linux_davinci_v3.10_soc_gpio_v310-rc4 KV Sujith (2): gpio: davinci: move to platform device ARM: davinci: da8xx: creation of gpio platform device Philip Avinash (5): gpio: davinci: coding style correction ARM: davinci: creation of gpio platform device for dmxxx platforms ARM: davinci: da8xx: gpio device creation

RE: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-13 Thread Philip, Avinash
On Thu, Jun 13, 2013 at 13:59:53, Nori, Sekhar wrote: > On 6/13/2013 1:02 PM, Philip, Avinash wrote: > > > With tnetv107x_defconfig build is failing > > > > arch/arm/mach-davinci/board-tnetv107x-evm.c:282:15: error: > > 'davinci_timer_init' undeclared he

RE: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-13 Thread Philip, Avinash
On Thu, Jun 13, 2013 at 11:47:52, Nori, Sekhar wrote: > On 6/12/2013 5:40 PM, Philip, Avinash wrote: > > On Wed, Jun 12, 2013 at 13:13:59, Nori, Sekhar wrote: > >> On 6/11/2013 6:25 PM, Philip, Avinash wrote: > >> > >>> On Tue, Jun 11, 2013 at 17:26:06, Nori,

RE: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-12 Thread Philip, Avinash
On Wed, Jun 12, 2013 at 13:13:59, Nori, Sekhar wrote: > On 6/11/2013 6:25 PM, Philip, Avinash wrote: > > > On Tue, Jun 11, 2013 at 17:26:06, Nori, Sekhar wrote: > > >> On 5/22/2013 12:40 PM, Philip Avinash wrote: > > >>> @@ -179,13 +204,10 @@ st

RE: [PATCH 01/11] ARM: davinci: GPIO: Add platform data structure

2013-06-11 Thread Philip, Avinash
On Tue, Jun 11, 2013 at 16:06:18, Nori, Sekhar wrote: > On 5/22/2013 12:40 PM, Philip Avinash wrote: > > From: KV Sujith > > > > Add struct davinci_gpio_platform_data davinci gpio module. > > > > Signed-off-by: KV Sujith > > Signed-off-by: Philip Avinas

RE: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-11 Thread Philip, Avinash
On Tue, Jun 11, 2013 at 17:26:06, Nori, Sekhar wrote: > > > On 5/22/2013 12:40 PM, Philip Avinash wrote: > > From: KV Sujith > > > > Modify GPIO Davinci driver to be compliant to standard platform drivers. > > The driver did not have platform driver structu

RE: [PATCH 00/11] Convert GPIO Davinci to platform driver

2013-06-10 Thread Philip, Avinash
On Tue, Jun 11, 2013 at 10:09:17, Nori, Sekhar wrote: > > On 6/10/2013 2:32 PM, Philip, Avinash wrote: > > On Fri, Jun 07, 2013 at 13:40:52, Nori, Sekhar wrote: > >> Hi Avinash, > >> > >> On 5/22/2013 12:40 PM, Philip Avinash wrote: > >>>

RE: [PATCH 09/11] gpio: davinci: DT changes for driver

2013-06-10 Thread Philip, Avinash
On Thu, May 30, 2013 at 23:55:22, Linus Walleij wrote: > On Wed, May 22, 2013 at 9:10 AM, Philip Avinash wrote: > > (...) > > +- interrupts: The Starting IRQ number for GPIO > > +- intc_irq_num: The number of IRQs supported by the Interrupt Controller > (...) > >

RE: [PATCH 00/11] Convert GPIO Davinci to platform driver

2013-06-10 Thread Philip, Avinash
On Fri, Jun 07, 2013 at 13:40:52, Nori, Sekhar wrote: > Hi Avinash, > > On 5/22/2013 12:40 PM, Philip Avinash wrote: > > GPIO Davinci driver converted to platform driver to support DT booting. > > In this patch series > > - Cleaned gpio Davinci driver code with

RE: [PATCH 02/11] gpio: davinci: coding style correction

2013-05-22 Thread Philip, Avinash
On Wed, May 22, 2013 at 20:10:42, Russell King - ARM Linux wrote: > On Wed, May 22, 2013 at 12:40:25PM +0530, Philip Avinash wrote: > > /* > > * Assuming the pin is muxed as a gpio output, set its output value. > > */ > > -static void > > -davinci_gpio_set

RE: [PATCH 02/11] gpio: davinci: coding style correction

2013-05-22 Thread Philip, Avinash
On Wed, May 22, 2013 at 18:29:46, Sergei Shtylyov wrote: > Hello. > > On 22-05-2013 11:10, Philip Avinash wrote: > > > 1. Corrects coding and commenting styles > > 2. Variables name change to meaningful name > > 3. Remove unnecessary variable usage >

[PATCH 11/11] ARM: davinci: da850 evm: add GPIO DT data

2013-05-22 Thread Philip Avinash
-off-by: Philip Avinash --- arch/arm/boot/dts/da850-evm.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index c914357..ab59e60 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850

[PATCH 10/11] ARM: davinci: da850: add GPIO DT entries

2013-05-22 Thread Philip Avinash
From: KV Sujith Add DT entries for Davinci GPIO. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- arch/arm/boot/dts/da850.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 452bdc6..9014eba 100644

[PATCH 08/11] ARM: davinci: start using gpiolib support

2013-05-22 Thread Philip Avinash
Linux device driver model. Signed-off-by: Philip Avinash --- arch/arm/Kconfig |1 - arch/arm/mach-davinci/include/mach/gpio-davinci.h |6 +++-- include/linux/platform_data/gpio-davinci.h| 27 + 3 files changed, 31 insertions(+), 3

[PATCH 09/11] gpio: davinci: DT changes for driver

2013-05-22 Thread Philip Avinash
/gpio/. Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-...@vger.kernel.org Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- .../devicetree/bindings/gpio/gpio-davinci.txt | 26 + drivers/gpio/gpio-davinci.c

[PATCH 07/11] ARM: davinci: create davinci gpio device for dm platforms

2013-05-22 Thread Philip Avinash
Signed-off-by: Philip Avinash --- arch/arm/mach-davinci/board-dm355-evm.c | 27 ++ arch/arm/mach-davinci/board-dm355-leopard.c |1 + arch/arm/mach-davinci/board-dm365-evm.c | 28 +++ arch/arm/mach-davinci/board-dm644x-evm.c

[PATCH 06/11] ARM: davinci: da8xx: gpio device creation

2013-05-22 Thread Philip Avinash
Create davinci gpio device and remove references in davinci_soc_info structure. Also rearrange header file inclusion in group basis. Signed-off-by: Philip Avinash --- arch/arm/mach-davinci/board-da830-evm.c | 19 +++ arch/arm/mach-davinci/board-da850-evm.c | 11

[PATCH 05/11] ARM: davinci: creation of gpio platform device for dm platforms

2013-05-22 Thread Philip Avinash
tform device for dm* platforms. Signed-off-by: Philip Avinash --- arch/arm/mach-davinci/devices.c | 13 + arch/arm/mach-davinci/include/mach/common.h |2 ++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devi

[PATCH 04/11] ARM: davinci: da8xx: creation of gpio platform device

2013-05-22 Thread Philip Avinash
urces for DA8xx. - Register GPIO platform driver for DA8xx. - Add da8xx_register_gpio API to create platform device for da8xx platforms. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- arch/arm/mach-davinci/devices-da8xx.c | 26 ++ arch/arm/mach-da

[PATCH 02/11] gpio: davinci: coding style correction

2013-05-22 Thread Philip Avinash
1. Corrects coding and commenting styles 2. Variables name change to meaningful name 3. Remove unnecessary variable usage 4. Add BINTEN macro definition Signed-off-by: Philip Avinash --- drivers/gpio/gpio-davinci.c | 182 +-- 1 file changed, 89

[PATCH 03/11] gpio: davinci: Modify to platform driver

2013-05-22 Thread Philip Avinash
to dev_err for ngpio error reporting. - Arrange include files and variables in alphabetical order Signed-off-by: KV Sujith [avinashphi...@ti.com: Move global definition for "struct davinci_gpio_controller" variable to local in probe and set it as driver data.] Signed-off-by: Philip Avinash

[PATCH 01/11] ARM: davinci: GPIO: Add platform data structure

2013-05-22 Thread Philip Avinash
From: KV Sujith Add struct davinci_gpio_platform_data davinci gpio module. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- include/linux/platform_data/gpio-davinci.h | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 include/linux

[PATCH 00/11] Convert GPIO Davinci to platform driver

2013-05-22 Thread Philip Avinash
for driver ARM: davinci: da850: add GPIO DT entries ARM: davinci: da850 evm: add GPIO DT data Philip Avinash (5): gpio: davinci: coding style correction ARM: davinci: creation of gpio platform device for dm platforms ARM: davinci: da8xx: gpio device creation ARM: davinci: create davinci

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

2013-04-10 Thread Philip Avinash
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 --- Changes since v4: - Add pin mux for PWM devices ECAP & EHRPWM. Changes since v3: - add

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

2013-04-10 Thread Philip, Avinash
On Wed, Apr 10, 2013 at 17:05:24, Nori, Sekhar wrote: > 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

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

2013-04-10 Thread Philip Avinash
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 --- Changes since v3: - add pin mux info for EHRPWM1. Changes since v1: - Reusing

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

2013-04-09 Thread Philip, Avinash
On Wed, Apr 10, 2013 at 11:25:19, Nori, Sekhar wrote: > 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 wrot

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

2013-04-09 Thread Philip, Avinash
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,

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

2013-04-09 Thread Philip, Avinash
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. > >&g

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

2013-04-08 Thread Philip, Avinash
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 wil

RE: [PATCH 0/2] Update device tree binding document for pwm-tiehrpwm & pwm-tiecap

2013-04-07 Thread Philip, Avinash
Thierry, On Mon, Mar 25, 2013 at 12:34:51, Philip, Avinash wrote: > Update device tree document of pwm-tiehrpwm & pwm-tiecap in order to reflect > the > usage of similar modules in both da850 and am33xx platforms. Can you accept both documentation update patches with Peter Ko

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

2013-04-04 Thread Philip, Avinash
On Thu, Apr 04, 2013 at 12:07:44, Philip, Avinash wrote: > On Thu, Apr 04, 2013 at 11:19:44, Nori, Sekhar wrote: > > 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 Avina

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

2013-04-03 Thread Philip, Avinash
On Thu, Apr 04, 2013 at 11:19:44, Nori, Sekhar wrote: > 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 providin

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

2013-04-03 Thread Philip, Avinash
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 testing at [3]. >

[PATCH 1/3] ARM: davinci: da850: Add LCDC DT entries

2013-03-27 Thread Philip Avinash
Add LCDC DT entries in da850 dts file. Signed-off-by: Philip Avinash --- arch/arm/boot/dts/da850.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index a6cbf89..087b4ea 100644 --- a/arch/arm/boot/dts

[PATCH 2/3] ARM: davinci: da850: override LCDC DT node device name

2013-03-27 Thread Philip Avinash
Populate OF_DEV_AUXDATA with desired device name expected by da8xx-fb driver. Without this clk_get of da8xx-fb DT driver fails. Signed-off-by: Philip Avinash --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm

[PATCH 3/3] ARM: davinci: da850 evm: Add da850-evm LCD panel support

2013-03-27 Thread Philip Avinash
Update LCDC node with panel timings for da850-evm along pin-mux info. Signed-off-by: Philip Avinash --- arch/arm/boot/dts/da850-evm.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index cae024b

[PATCH 0/3] DT support for da850-evm LCD

2013-03-27 Thread Philip Avinash
ight goes off on SPI transactions as spi1_cs0 will be the source for LCD back light power (provided SPI flash support enabled). Philip Avinash (3): ARM: davinci: da850: Add LCDC DT entries ARM: davinci: da850: override LCDC DT node device name ARM: davinci: da850 evm: Add da850-evm LCD p

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

2013-03-25 Thread Philip, Avinash
On Mon, Mar 25, 2013 at 13:44:37, 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 testing at [3]. >

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

2013-03-25 Thread Philip Avinash
Add da850 EHRPWM & ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP clock. Signed-off-by: Philip Avinash --- Changes since v1: - Reusing ti,am33xx as compatible field as both IP's are similar with am33xx platform and da85

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

2013-03-25 Thread Philip Avinash
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 --- Changes Since v2: - Add prefix of ehrpwm to tblck_enable and tblck_disable functions - Make functions as static. Changes

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

2013-03-25 Thread Philip Avinash
-for-v3.9/dt-2 [2] https://gitorious.org/linux-pwm/linux-pwm/trees/for-next [3] https://github.com/avinashphilip/am335x_linux/tree/davinci-for-v3.9_soc_pwm Note: DT support for EHRPWM backlight has not been added in da850-evm.dts as there is conflicting pin-mux requirement with SPI flash. Philip

[PATCH 2/2] pwm: pwm-tiehrpwm: Update device-tree binding document

2013-03-25 Thread Philip Avinash
Update binding document of pwm-tiehrpwm to reflect the usage of similar modules in da850 and am3xx SOCs. Signed-off-by: Philip Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- .../devicetree/bindings/pwm/pwm-tiehrpwm.txt | 12 ++-- 1 file changed, 10 insertions

[PATCH 1/2] pwm: pwm-tiecap: Update device-tree binding document

2013-03-25 Thread Philip Avinash
Update binding document of pwm-tiecap to reflect the usage of similar modules in da850 and am3xx SOCs. Signed-off-by: Philip Avinash Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley --- .../devicetree/bindings/pwm/pwm-tiecap.txt | 12 ++-- 1 file changed, 10 insertions

[PATCH 0/2] Update device tree binding document for pwm-tiehrpwm & pwm-tiecap

2013-03-25 Thread Philip Avinash
Update device tree document of pwm-tiehrpwm & pwm-tiecap in order to reflect the usage of similar modules in both da850 and am33xx platforms. Philip Avinash (2): pwm: pwm-tiecap: Update device-tree binding document pwm: pwm-tiehrpwm: Update device-tree binding document .../device

RE: [PATCH v2 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-22 Thread Philip, Avinash
On Fri, Mar 22, 2013 at 11:23:32, Nori, Sekhar wrote: > On 3/21/2013 1:31 PM, Philip, Avinash wrote: > > On Wed, Mar 20, 2013 at 18:17:59, Peter Korsgaard wrote: > >>>>>>> "Sekhar" == Sekhar Nori writes: > >> > >> Sekhar> On 3/2

RE: [PATCH v2 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-21 Thread Philip, Avinash
On Wed, Mar 20, 2013 at 18:17:59, Peter Korsgaard wrote: > >>>>> "Sekhar" == Sekhar Nori writes: > > Sekhar> On 3/20/2013 12:11 PM, Philip Avinash wrote: > >> Add da850 EHRPWM & ECAP DT node. > >> Also adds OF_DEV_AUXDAT

RE: [PATCH v2 2/3] arm: davinci: clock node support for ECAP & EHRPWM

2013-03-20 Thread Philip, Avinash
On Wed, Mar 20, 2013 at 16:54:34, Nori, Sekhar wrote: > On 3/20/2013 12:11 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: Ph

RE: [PATCH v2 1/3] ARM: davinci: clk framework support for enable/disable functionality

2013-03-20 Thread Philip, Avinash
On Wed, Mar 20, 2013 at 16:49:55, Nori, Sekhar wrote: > On 3/20/2013 12:11 PM, Philip Avinash wrote: > > DAVINCI clock framework currently not supporting clock enable/disable > > functionality on clock nodes. In DAVINCI platform EHRPWM module requires > > Wrong. clock enable

[PATCH v2 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-19 Thread Philip Avinash
Add da850 EHRPWM & ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP clock. Signed-off-by: Philip Avinash --- Changes since v1: - Reusing ti,am33xx as compatible field as both IP's are same with am33xx platform and da85

[PATCH v2 1/3] ARM: davinci: clk framework support for enable/disable functionality

2013-03-19 Thread Philip Avinash
functionality. Signed-off-by: Philip Avinash --- Changes since v1: - Add support for clock enable/disable functionality. :100644 100644 d458558... aa89e5e... M arch/arm/mach-davinci/clock.c :100644 100644 8694b39... 1e4e836... M arch/arm/mach-davinci/clock.h arch/arm/mach-davinci/clock.c

[PATCH v2 2/3] arm: davinci: clock node support for ECAP & EHRPWM

2013-03-19 Thread Philip Avinash
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 --- Changes Since v1: - TBCLK make it as actual clock with enable/disable feature. :100644 100644 0c4a26d... dbed75c... M arch/arm/mach

[PATCH v2 0/3] Platform support for EHRPWM & ECAP devices in DAVINCI.

2013-03-19 Thread Philip Avinash
-v3.9/dt-2 [2] https://gitorious.org/linux-pwm/linux-pwm/trees/for-next [3] https://github.com/avinashphilip/am335x_linux/tree/davinci-for-v3.9_soc_pwm Note: DT support for EHRPWM backlight has not been added in da850-evm.dts as there is conflicting pin-mux requirement with SPI flash. Philip

[PATCH v2] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-19 Thread Philip Avinash
emove': drivers/pwm/pwm-tiecap.c:291:49: error: 'PWMSS_ECAPCLK_STOP_REQ' undeclared (first use in this function) make[2]: *** [drivers/pwm/pwm-tiecap.o] Error 1 make[1]: *** [drivers/pwm] Error 2 make: *** [drivers] Error 2 Signed-off-by: Phi

RE: [PATCH 2/3] ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

2013-03-14 Thread Philip, Avinash
On Fri, Mar 15, 2013 at 10:38:58, Nori, Sekhar wrote: > On 3/15/2013 10:27 AM, Philip, Avinash wrote: > > On Thu, Mar 14, 2013 at 18:31:52, Nori, Sekhar wrote: > >> On 3/14/2013 4:07 PM, Philip Avinash wrote: > >>> da850 platforms require TBCLK synchronization in CFG_

RE: [PATCH 2/3] ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 18:31:52, Nori, Sekhar wrote: > On 3/14/2013 4:07 PM, Philip Avinash wrote: > > da850 platforms require TBCLK synchronization in CFG_CHIP1 register for > > TBCLK enable in EHRPWM modules. Enabling of TBCLK is done only if EHRPWM > > DT node status is

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

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 17:13:08, Nori, Sekhar wrote: > 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 > > Cc: Rob Herring > >

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

2013-03-14 Thread Philip, Avinash
On Thu, Mar 14, 2013 at 17:09:04, Nori, Sekhar wrote: > 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, > &

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

2013-03-14 Thread Philip Avinash
Add clock node support for ECAP and EHRPWM modules. Also adds dummy clock for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. Signed-off-by: Philip Avinash --- :100644 100644 0c4a26d... 891d075... M arch/arm/mach-davinci/da850.c arch/arm/mach-davinci/da850.c | 24 1

[PATCH 2/3] ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1

2013-03-14 Thread Philip Avinash
da850 platforms require TBCLK synchronization in CFG_CHIP1 register for TBCLK enable in EHRPWM modules. Enabling of TBCLK is done only if EHRPWM DT node status is set to "okay" DT blob. Also adds macro definitions for DA8XX_EHRPWM_TBCLKSYNC and DA8XX_CFGCHIP1_REG. Signed-off-by: Phil

[PATCH 0/3] Platform support for EHRPWM & ECAP devices in Davinci.

2013-03-14 Thread Philip Avinash
-next [3] https://github.com/avinashphilip/am335x_linux/tree/davinci-for-v3.9_soc_pwm Philip Avinash (3): arm: davinci: clock node support for ECAP & EHRPWM ARM: davinci: da850: Enable EHRPWM TBCLK from CFG_CHIP1 ARM: davinci: da850: add EHRPWM & ECAP DT node arch/arm/boot/dts/da

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

2013-03-14 Thread Philip Avinash
Add da850 EHRPWM & ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP clock. Signed-off-by: Philip Avinash --- :100644 100644 3ec1bda... 9b5b613... M arch/arm/boot/dts/da850.dtsi :100644 100644 72466ab... e32484c... M arch/arm/mach-davinci/da8xx-dt

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

2013-03-14 Thread Philip Avinash
EHRPWM IP is used in da850 SOC's also. Hence adds EHRPWM device tree binding support for da850. Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Signed-off-by: Philip Avinash --- :100644 100644 4fc7079... 0442d65... M Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt :100644 1

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

2013-03-14 Thread Philip Avinash
ECAP IP is used in da850 SOC's also. Hence adds ECAP device tree binding support for da850. Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Signed-off-by: Philip Avinash --- :100644 100644 131e8c1... fcbd3c1... M Documentation/devicetree/bindings/pwm/pwm-tiecap.txt :100644 100644 22

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

2013-03-14 Thread Philip Avinash
emove': drivers/pwm/pwm-tiecap.c:291:49: error: 'PWMSS_ECAPCLK_STOP_REQ' undeclared (first use in this function) make[2]: *** [drivers/pwm/pwm-tiecap.o] Error 1 make[1]: *** [drivers/pwm] Error 2 make: *** [drivers] Error 2 Signed-off-by: Phi

[PATCH 0/3] Davinci support for EHRPWM & ECAP

2013-03-14 Thread Philip Avinash
ilip/am335x_linux/tree/davinci-for-v3.9_soc_pwm Philip Avinash (3): pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices pwm: pwm-tiecap: Add device-tree binding support for da850 SOC pwm: pwm-tiehrpwm: Add device tree binding support for da850 SOC .../devicetree/bindings

RE: linux-next: JFFS2 corruption

2013-02-27 Thread Philip, Avinash
On Wed, Feb 27, 2013 at 20:42:01, Mark Jackson wrote: > On 26/02/13 23:18, Stephen Rothwell wrote: > > Hi Mark, > > > > On Tue, 26 Feb 2013 15:50:18 + Mark Jackson > > wrote: > >> > >> Just tested the current next-20130226 on a custom AM335X board, and if I > >> mount > >> our JFFS2 image a

[PATCH v3 3/3] mtd: devices: elm: Low power transition support

2013-02-19 Thread Philip Avinash
In low power modes of AM335X platforms, peripherals power is cut off. This patch supports low power sleep transition support for ELM driver. Signed-off-by: Philip Avinash --- Changes Since v2: - Removes wait queue mechanism. The order of device creation ensures that nand driver

[PATCH v3 2/3] arm: gpmc: Low power transition support

2013-02-19 Thread Philip Avinash
With GPMC converted to platform driver recently, adds low power transition support in driver itself. Signed-off-by: Philip Avinash --- Changes since v1: Module disable & enable added using pm_runtime support. arch/arm/mach-omap2/gpmc.c | 20 1 file changed

RE: [PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-19 Thread Philip, Avinash
On Wed, Feb 13, 2013 at 18:13:03, Russell King - ARM Linux wrote: > On Wed, Feb 13, 2013 at 11:42:01AM +0000, Philip, Avinash wrote: > > On Sat, Feb 09, 2013 at 15:52:44, Russell King - ARM Linux wrote: > > > On Thu, Feb 07, 2013 at 06:06:57PM +0530, Philip Avinash wrote: &

[PATCH v3 0/3] suspend/resume support for OMAP nand driver

2013-02-19 Thread Philip Avinash
from suspend activity mtd class driver. Philip Avinash (3): arm: gpmc: Converts GPMC driver to pm_runtime capable arm: gpmc: Low power transition support mtd: devices: elm: Low power transition support arch/arm/mach-omap2/gpmc.c | 30 +--- drivers/mtd/devices/elm.c |

[PATCH v3 1/3] arm: gpmc: Converts GPMC driver to pm_runtime capable

2013-02-19 Thread Philip Avinash
Support for pm_runtime add to GPMC driver. Signed-off-by: Philip Avinash --- arch/arm/mach-omap2/gpmc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 2c57f81..b1cd6c1 100644 --- a/arch/arm/mach

RE: [PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-13 Thread Philip, Avinash
On Sat, Feb 09, 2013 at 15:52:44, Russell King - ARM Linux wrote: > On Thu, Feb 07, 2013 at 06:06:57PM +0530, Philip Avinash wrote: > > +static int elm_suspend(struct device *dev) > > +{ > > + struct elm_info *info = dev_get_drvdata(dev); > > + wait_queue_head_t wq

[PATCH v2] ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK

2013-02-11 Thread Philip Avinash
From: "Philip, Avinash" EHRPWM module requires explicit clock gating of TBCLK from control module. Hence add TBCLK clock node in clock tree for EHRPWM modules. Signed-off-by: Philip Avinash --- Changes since v1: - Remove sparse warnings arch/arm/mach-omap2/cclock33xx_

RE: [PATCH 1/7] ARM: OMAP: AM33xx hwmod: Corrects PWM subsystem HWMOD entries

2013-02-11 Thread Philip, Avinash
On Fri, Feb 08, 2013 at 20:40:18, Paul Walmsley wrote: > Hi > > On Wed, 2 Jan 2013, Philip Avinash wrote: > > > EQEP entry is HWMOD entry is not present in HWMOD entry. > > Patch descriptions need to make sense. This one does not. I've fixed it > for you this

RE: [PATCH 4/7] ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK

2013-02-11 Thread Philip, Avinash
On Fri, Feb 08, 2013 at 20:36:53, Paul Walmsley wrote: > Hi, > > On Wed, 2 Jan 2013, Philip Avinash wrote: > > > EHRPWM module requires explicit clock gating of TBCLK from control > > module. Hence add TBCLK clock node in clock tree for EHRPWM modules. > > >

[PATCH v2 4/4] mtd: nand: omap2: Low power transition support

2013-02-07 Thread Philip Avinash
Add support for Low power transition support in nand driver. Also ensures the current transaction finishes before going to low power mode with _suspend support in mtd layer. Signed-off-by: Philip Avinash --- drivers/mtd/nand/omap2.c | 19 +++ 1 file changed, 19 insertions

[PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-07 Thread Philip Avinash
In low power modes of AM335X platforms, peripherals power is cut off. This patch supports low power sleep transition support for ELM driver. Signed-off-by: Philip Avinash --- drivers/mtd/devices/elm.c | 40 1 file changed, 40 insertions(+) diff --git

[PATCH v2 2/4] arm: gpmc: Low power transition support

2013-02-07 Thread Philip Avinash
With GPMC converted to platform driver recently, adds low power transition support in driver itself. Signed-off-by: Philip Avinash --- Changes since v1: Module disable & enable added using pm_runtime support. arch/arm/mach-omap2/gpmc.c | 20 1 file changed

[PATCH v2 1/4] arm: gpmc: Converts GPMC driver to pm_runtime capable

2013-02-07 Thread Philip Avinash
Support for pm_runtime add to GPMC driver. Signed-off-by: Philip Avinash --- arch/arm/mach-omap2/gpmc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 2c57f81..b1cd6c1 100644 --- a/arch/arm/mach

[PATCH v2 0/4] suspend/resume support for OMAP nand driver

2013-02-07 Thread Philip Avinash
n [2]. 1. ARM: OMAP2+: AM33XX: Add suspend-resume support http://comments.gmane.org/gmane.linux.ports.arm.omap/91405 2. https://github.com/avinashphilip/am335x_linux/commits/NAND_supend_resume_support Philip Avinash (4): arm: gpmc: Converts GPMC driver to pm_runtime capable arm: gpmc: Low p

RE: [PATCH 1/4] arch: arm: gpmc: gpmc migration support

2013-02-06 Thread Philip, Avinash
On Sat, Feb 02, 2013 at 03:35:10, Tony Lindgren wrote: > * Philip Avinash [130123 01:28]: > > With recent GPMC driver conversion, usage of gpmc_save/restore_context > > can done from gpmc driver itself. Hence removes the usage from pm34xx.c. > > Also removes the conditional c

RE: [PATCH] ARM: dts: AM33XX: Corrects typo in interrupt field in SPI node

2013-01-31 Thread Philip, Avinash
On Fri, Feb 01, 2013 at 11:07:27, Philip, Avinash wrote: > DT field of "interrupts" was mentioned wrongly as "interrupt" in SPI > node. This went unnoticed as spi-omap2 driver not making use of > interrupt. Fixes the typo. > > Signed-off-by: Philip Avinash

  1   2   3   4   >