[PATCH v1 0/2] OMAP: omap_device: API to modify SYSCONFIG register

2010-12-20 Thread Kishon Vijay Abraham I
vger.kernel.org/msg39647.html [2]: https://patchwork.kernel.org/patch/134371/ [3]: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg39615.html Kishon Vijay Abraham I (2): OMAP: hwmod: API to handle autoidle mode OMAP: omap_device: API to modify AUTOIDLE and SMARTIDLE bits arch

[PATCH v1 1/2] OMAP: hwmod: API to handle autoidle mode

2010-12-20 Thread Kishon Vijay Abraham I
feature. Signed-off-by: Kishon Vijay Abraham I Cc: Paul Walmsley Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod.c | 35 ++ arch/arm/plat-omap/include/plat/omap_hwmod.h |1 + 2 files changed, 36 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v1 2/2] OMAP: omap_device: API to modify AUTOIDLE and SMARTIDLE bits

2010-12-20 Thread Kishon Vijay Abraham I
Provide APIs to be used by the driver in order to modify AUTOIDLE and SIDLE bits. These APIs in turn call hwmod APIs to modify the SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/plat-omap/include/plat/omap_device.h |6

[PATCH v1 01/10] OMAP: hwmod: Add member 'name' to omap_hwmod_addr_space struct

2010-12-20 Thread Kishon Vijay Abraham I
.org/patch/233211/ Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod.c |1 + arch/arm/plat-omap/include/plat/omap_hwmod.h |4 +++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap

[PATCH v1 03/10] OMAP2420: hwmod data: Add McBSP

2010-12-20 Thread Kishon Vijay Abraham I
Add McBSP hwmod data for OMAP2420. Also add macros in prcm-common.h for idlest bit of OMAP24XX McBSP devices Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 167

[PATCH v1 04/10] OMAP2430: hwmod data: Add McBSP

2010-12-20 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP2430. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 415 1 files changed, 415 insertions(+), 0 deletions(-) diff

[PATCH v1 10/10] OMAP: McBSP: Add pm runtime support

2010-12-20 Thread Kishon Vijay Abraham I
Add pm runtime support for McBSP driver. Reference to fclk is not removed because it is required when the functional clock is switched from one source to another. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/mcbsp.c |5 +++-- arch/arm/plat-omap/include/plat

[PATCH v1 08/10] OMAP2+: McBSP: hwmod adaptation for McBSP

2010-12-20 Thread Kishon Vijay Abraham I
Modify OMAP2+ McBSP to use omap hwmod framework APIs Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2/mcbsp.c | 703 --- 1 files changed, 62 insertions(+), 641 deletions(-) diff

[PATCH v1 00/10] OMAP: McBSP: hwmod adaptation and runtime conversion

2010-12-20 Thread Kishon Vijay Abraham I
AP3: hwmod data: Add McBSP Benoit Cousson (1) OMAP4: hwmod data: Add McBSP Kishon Vijay Abraham I (6): OMAP: hwmod: Add member 'name' to omap_hwmod_addr_space struct OMAP: McBSP: Convert McBSP to platform device model OMAP3: hwmod: add dev_attr for McBSP sidetone OMAP2+: McB

[PATCH v1 07/10] OMAP3: hwmod: add dev_attr for McBSP sidetone

2010-12-20 Thread Kishon Vijay Abraham I
ishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 12 arch/arm/plat-omap/include/plat/mcbsp.h| 11 +++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_d

[PATCH v1 06/10] OMAP4: hwmod data: Add McBSP

2010-12-20 Thread Kishon Vijay Abraham I
From: Benoit Cousson Add McBSP hwmod data for OMAP4. Signed-off-by: Benoit Cousson Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 320 1 files changed, 320 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v1 05/10] OMAP3: hwmod data: Add McBSP

2010-12-20 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP3. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 530 1 files changed, 530 insertions(+), 0 deletions(-) diff

[PATCH v1 09/10] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2010-12-20 Thread Kishon Vijay Abraham I
are used to modify SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/plat-omap/mcbsp.c | 66 ++- 1 files changed, 34 insertions(+), 32 deletions(-) diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 0adffea

[PATCH v1 02/10] OMAP: McBSP: Convert McBSP to platform device model

2010-12-20 Thread Kishon Vijay Abraham I
Implement McBSP as platform device and add support for registering through platform device layer using resource structures. Later in this patch series, OMAP2+ McBSP driver would be modified to use hwmod framework after populating the omap2+ hwmod database. Signed-off-by: Kishon Vijay Abraham I

[PATCH v2 0/2] OMAP: omap_device: API to modify SYSCONFIG register

2011-01-31 Thread Kishon Vijay Abraham I
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg39647.html [2]: https://patchwork.kernel.org/patch/134371/ [3]: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg39615.html Kishon Vijay Abraham I (2): OMAP: hwmod: API to handle autoidle mode OMAP: omap_device: API to modify AUTOIDL

[PATCH v2 1/2] OMAP: hwmod: API to handle autoidle mode

2011-01-31 Thread Kishon Vijay Abraham I
feature. Signed-off-by: Kishon Vijay Abraham I Cc: Paul Walmsley Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod.c | 36 ++ arch/arm/plat-omap/include/plat/omap_hwmod.h |1 + 2 files changed, 37 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v2 2/2] OMAP: omap_device: API to modify AUTOIDLE and SMARTIDLE bits

2011-01-31 Thread Kishon Vijay Abraham I
Provide APIs to be used by the driver in order to modify AUTOIDLE and SIDLE bits. These APIs in turn call hwmod APIs to modify the SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/plat-omap/include/plat/omap_device.h |6

[PATCH v2 00/13] OMAP: McBSP: hwmod adaptation and runtime conversion

2011-01-31 Thread Kishon Vijay Abraham I
hwmod data: Add McBSP OMAP3: hwmod data: Add McBSP Kishon Vijay Abraham I (9): OMAP: hwmod: Add member 'name' to omap_hwmod_addr_space struct OMAP: McBSP: Convert McBSP to platform device model OMAP3: hwmod: add dev_attr for McBSP sidetone OMAP2+: McBSP: hwmod adaptation for McBS

[PATCH v2 01/13] OMAP: hwmod: Add member 'name' to omap_hwmod_addr_space struct

2011-01-31 Thread Kishon Vijay Abraham I
Adds a structure member 'name' to 'omap_hwmod_addr_space' structure. The drivers can use platform_get_resource_byname() to get resource of type 'IORESOURCE_MEM' by name so that it need not rely on the order to get the proper resource. Signed-off-by: Kishon Vijay Ab

[PATCH v2 03/13] OMAP2420: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP2420. Also add macros in prcm-common.h for idlest bit of OMAP24XX McBSP devices Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 167

[PATCH v2 02/13] OMAP: McBSP: Convert McBSP to platform device model

2011-01-31 Thread Kishon Vijay Abraham I
Implement McBSP as platform device and add support for registering through platform device layer using resource structures. Later in this patch series, OMAP2+ McBSP driver would be modified to use hwmod framework after populating the omap2+ hwmod database. Signed-off-by: Kishon Vijay Abraham I

[PATCH v2 04/13] OMAP2430: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP2430. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2

[PATCH v2 05/13] OMAP3: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP3. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2

[PATCH v2 07/13] OMAP3: hwmod: add dev_attr for McBSP sidetone

2011-01-31 Thread Kishon Vijay Abraham I
Since the sidetone block is tightly coupled to the mcbsp, sidetone information is directly added to mcbsp2 & 3 hwmod dev_attr. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 ++ arch/arm/plat-omap/include/

[PATCH v2 06/13] OMAP4: hwmod data: Add McBSP

2011-01-31 Thread Kishon Vijay Abraham I
From: Benoit Cousson Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Benoit Cousson Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 321

[PATCH v2 08/13] OMAP2+: McBSP: hwmod adaptation for McBSP

2011-01-31 Thread Kishon Vijay Abraham I
Modify OMAP2+ McBSP to use omap hwmod framework APIs Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D --- arch/arm/mach-omap2/mcbsp.c | 685 +++ 1 files changed, 43 insertions(+), 642 deletions(-) diff

[PATCH v2 09/13] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2011-01-31 Thread Kishon Vijay Abraham I
are used to modify SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/plat-omap/mcbsp.c | 66 +++ 1 files changed, 35 insertions(+), 31 deletions(-) diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 275a37a

[PATCH v2 10/13] OMAP: McBSP: Add pm runtime support

2011-01-31 Thread Kishon Vijay Abraham I
Add pm runtime support for McBSP driver. Reference to fclk is not removed because it is required when the functional clock is switched from one source to another. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/mcbsp.c |5 +++-- arch/arm/plat-omap/include/plat

[PATCH v2 11/13] OMAP: McBSP: APIs to pass DMA params from McBSP driver to client drivers

2011-01-31 Thread Kishon Vijay Abraham I
for DMA programming. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V --- arch/arm/mach-omap2/mcbsp.c |2 + arch/arm/plat-omap/include/plat/mcbsp.h |7 +++ arch/arm/plat-omap/mcbsp.c | 64 +++ 3 files changed, 73

[PATCH v2 12/13] ASoC: McBSP: get hw params from McBSP driver

2011-01-31 Thread Kishon Vijay Abraham I
Removed the use of macros to obtain base address and DMA channel number. Instead use the McBSP driver API's that passes base address and DMA channel number to the client driver. Signed-off-by: Kishon Vijay Abraham I Cc: Jarkko Nikula Cc: Peter Ujfalusi --- sound/soc/omap/omap-mcbsp.c |

[PATCH v2 13/13] OMAP: hwmod: Removal of macros for data that is obtained from hwmod database

2011-01-31 Thread Kishon Vijay Abraham I
Information like base address and DMA channel nubers should no longer be obtained using macros. These information should be obtained from hwmod database. Hence the macros that define the base address are removed. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V --- arch/arm

[PATCH] OMAP: McBSP: Remove unused audio macros in mcbsp.h

2011-02-04 Thread Kishon Vijay Abraham I
Some macros defined in mcbsp.h related to audio, which are never being used is removed. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Charulatha V Cc: Jarkko Nikula --- arch/arm/plat-omap/include/plat/mcbsp.h | 14 -- 1 files changed, 0 insertions(+), 14 deletions(-) diff

[PATCH v3 00/13] OMAP: McBSP: hwmod adaptation and runtime conversion

2011-02-18 Thread Kishon Vijay Abraham I
-omap@vger.kernel.org/msg36743.html [2]: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg39615.html [3]: https://patchwork.kernel.org/patch/233211/ Charulatha V (3): OMAP2420: hwmod data: Add McBSP OMAP2430: hwmod data: Add McBSP OMAP3: hwmod data: Add McBSP Kishon Vijay Abraha

[PATCH v3 01/13] OMAP: hwmod: allow hwmod to provide address space accessible from SDMA

2011-02-18 Thread Kishon Vijay Abraham I
Adds support for resource API to get address space info other than just MPU. The drivers can now use platform_get_resource_byname() to get resource of type 'IORESOURCE_MEM' by name. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson Acked-by: Paul Walmsley --- arc

[PATCH v3 02/13] OMAP: McBSP: Convert McBSP to platform device model

2011-02-18 Thread Kishon Vijay Abraham I
Implement McBSP as platform device and add support for registering through platform device layer using resource structures. Later in this patch series, OMAP2+ McBSP driver would be modified to use hwmod framework after populating the omap2+ hwmod database. Signed-off-by: Kishon Vijay Abraham I

[PATCH v3 09/13] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2011-02-18 Thread Kishon Vijay Abraham I
are used to modify SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I Cc: Paul Walmsley Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown --- depends-on : http://permalink.gmane.org/gmane.linux.ports.arm.omap/51133 http://permalink.gmane.org

[PATCH v3 07/13] OMAP3: hwmod: add dev_attr for McBSP sidetone

2011-02-18 Thread Kishon Vijay Abraham I
Since the sidetone block is tightly coupled to the mcbsp, sidetone information is directly added to mcbsp2 & 3 hwmod dev_attr. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 ++ arch/arm/plat-omap/include/

[PATCH v3 13/13] OMAP: hwmod: Removal of macros for data that is obtained from hwmod database

2011-02-18 Thread Kishon Vijay Abraham I
Information like base address and DMA channel nubers should no longer be obtained using macros. These information should be obtained from hwmod database. Hence the macros that define the base address are removed. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Acked-by: Peter

[PATCH v3 04/13] OMAP2430: hwmod data: Add McBSP

2011-02-18 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP2430. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D Cc: Benoit Cousson --- arch/arm

[PATCH v3 08/13] OMAP2+: McBSP: hwmod adaptation for McBSP

2011-02-18 Thread Kishon Vijay Abraham I
Modify OMAP2+ McBSP to use omap hwmod framework APIs Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown --- arch/arm/mach-omap2/mcbsp.c | 595

[PATCH v3 05/13] OMAP3: hwmod data: Add McBSP

2011-02-18 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP3. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D Cc: Benoit Cousson --- arch/arm

[PATCH v3 10/13] OMAP: McBSP: Add pm runtime support

2011-02-18 Thread Kishon Vijay Abraham I
Add pm runtime support for McBSP driver. Reference to fclk is not removed because it is required when the functional clock is switched from one source to another. Signed-off-by: Kishon Vijay Abraham I Cc: Paul Walmsley Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown

[PATCH v3 12/13] ASoC: McBSP: get hw params from McBSP driver

2011-02-18 Thread Kishon Vijay Abraham I
Removed the use of macros to obtain base address and DMA channel number. Instead use the McBSP driver API's that passes base address and DMA channel number to the client driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark

[PATCH v3 11/13] OMAP: McBSP: APIs to pass DMA params from McBSP driver to client drivers

2011-02-18 Thread Kishon Vijay Abraham I
for DMA programming. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown --- arch/arm/mach-omap2/mcbsp.c |2 + arch/arm/plat-omap/include/plat/mcbsp.h |7 +++ arch/arm/plat-omap/mcbsp.c

[PATCH v3 06/13] OMAP4: hwmod: Naming of address space

2011-02-18 Thread Kishon Vijay Abraham I
from OMAP4, there will be a single irq line. Signed-off-by: Benoit Cousson Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |8 arch/arm/plat-omap/include/plat/mcbsp.h|1 + arch/arm/plat-omap/mcbsp.c |4 3 files

[PATCH v3 03/13] OMAP2420: hwmod data: Add McBSP

2011-02-18 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP2420. Also add macros in prcm-common.h for idlest bit of OMAP24XX McBSP devices Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_2420_data.c

[PATCH v4 00/13] OMAP: McBSP: hwmod adaptation and runtime conversion

2011-02-24 Thread Kishon Vijay Abraham I
com/linux-omap@vger.kernel.org/msg39615.html [3]: https://patchwork.kernel.org/patch/233211/ Charulatha V (3): OMAP2420: hwmod data: Add McBSP OMAP2430: hwmod data: Add McBSP OMAP3: hwmod data: Add McBSP Kishon Vijay Abraham I (10): OMAP: hwmod: allow hwmod to provide address space accessib

[PATCH v4 01/13] OMAP: hwmod: allow hwmod to provide address space accessible from SDMA

2011-02-24 Thread Kishon Vijay Abraham I
Adds support for resource API to get address space info other than just MPU. The drivers can now use platform_get_resource_byname() to get resource of type 'IORESOURCE_MEM' by name. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson Acked-by: Paul Walmsley --- arc

[PATCH v4 05/13] OMAP3: hwmod data: Add McBSP

2011-02-24 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP3. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D Cc: Benoit Cousson --- arch/arm

[PATCH v4 03/13] OMAP2420: hwmod data: Add McBSP

2011-02-24 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP2420. Also add macros in prcm-common.h for idlest bit of OMAP24XX McBSP devices Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_2420_data.c

[PATCH v4 04/13] OMAP2430: hwmod data: Add McBSP

2011-02-24 Thread Kishon Vijay Abraham I
From: Charulatha V Add McBSP hwmod data for OMAP2430. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Shubhrajyoti D Cc: Benoit Cousson --- arch/arm

[PATCH v4 07/13] OMAP3: hwmod: add dev_attr for McBSP sidetone

2011-02-24 Thread Kishon Vijay Abraham I
Since the sidetone block is tightly coupled to the mcbsp, sidetone information is directly added to mcbsp2 & 3 hwmod dev_attr. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 ++ arch/arm/plat-omap/include/

[PATCH v4 02/13] OMAP: McBSP: Convert McBSP to platform device model

2011-02-24 Thread Kishon Vijay Abraham I
Implement McBSP as platform device and add support for registering through platform device layer using resource structures. Later in this patch series, OMAP2+ McBSP driver would be modified to use hwmod framework after populating the omap2+ hwmod database. Signed-off-by: Kishon Vijay Abraham I

[PATCH v4 06/13] OMAP4: hwmod: Naming of address space

2011-02-24 Thread Kishon Vijay Abraham I
from OMAP4, there will be a single irq line. Signed-off-by: Benoit Cousson Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |8 arch/arm/plat-omap/include/plat/mcbsp.h|1 + arch/arm/plat-omap/mcbsp.c |4 3 files

[PATCH v4 08/13] OMAP2+: McBSP: hwmod adaptation for McBSP

2011-02-24 Thread Kishon Vijay Abraham I
Modify OMAP2+ McBSP to use omap hwmod framework APIs Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown --- arch/arm/mach-omap2/mcbsp.c | 595

[PATCH v4 09/13] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2011-02-24 Thread Kishon Vijay Abraham I
are used to modify SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I Cc: Paul Walmsley Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown --- arch/arm/plat-omap/mcbsp.c | 66 1 files changed, 36 insertions(+), 30

[PATCH v4 11/13] OMAP: McBSP: APIs to pass DMA params from McBSP driver to client drivers

2011-02-24 Thread Kishon Vijay Abraham I
for DMA programming. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown --- arch/arm/mach-omap2/mcbsp.c |2 + arch/arm/plat-omap/include/plat/mcbsp.h |7 +++ arch/arm/plat-omap/mcbsp.c

[PATCH v4 12/13] ASoC: McBSP: get hw params from McBSP driver

2011-02-24 Thread Kishon Vijay Abraham I
Removed the use of macros to obtain base address and DMA channel number. Instead use the McBSP driver API's that passes base address and DMA channel number to the client driver. Signed-off-by: Kishon Vijay Abraham I Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark

[PATCH v4 13/13] OMAP: hwmod: Removal of macros for data that is obtained from hwmod database

2011-02-24 Thread Kishon Vijay Abraham I
Information like base address and DMA channel nubers should no longer be obtained using macros. These information should be obtained from hwmod database. Hence the macros that define the base address are removed. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Acked-by: Peter

[PATCH v4 10/13] OMAP: McBSP: Add pm runtime support

2011-02-24 Thread Kishon Vijay Abraham I
Add pm runtime support for McBSP driver. Reference to fclk is not removed because it is required when the functional clock is switched from one source to another. Signed-off-by: Kishon Vijay Abraham I Cc: Paul Walmsley Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown

[RFC: PATCH] Fix to support multiple HWMODS for a single device

2010-08-23 Thread Kishon Vijay Abraham I
the HWMOD structures to it taking care of the mutex. This fix uses the pointer to pointer to OMAP_HWMOD structure passed to omap_device_build_ss() to correctly extract the appropriate OMAP_HWMOD structure. This patch is created on top of origin/pm-wip/hwmods-omap4. Signed-off-by: Kishon Vijay

[PATCH] Fix to support multiple HWMODS for a single device

2010-08-24 Thread Kishon Vijay Abraham I
uses the pointer to pointer to OMAP_HWMOD structure (array of pointers to OMAP_HWMOD structure) passed to omap_device_build_ss() to correctly extract the appropriate OMAP_HWMOD structure. This patch has been created and tested on lo/master and mainline. Signed-off-by: Kishon Vijay Abraham I

[PATCH] OMAP: omap_device: Fix to support multiple hwmods for a single device

2010-08-25 Thread Kishon Vijay Abraham I
uses the pointer to pointer to omap_hwmod structure (array of pointers to omap_hwmod structure) passed to omap_device_build_ss() to correctly extract the appropriate omap_hwmod structure. This patch has been created and tested on lo/master and mainline. Signed-off-by: Kishon Vijay Abraham I

[RFC: PATCH] New API to modify the autoidle bits of sysconfig register

2010-08-26 Thread Kishon Vijay Abraham I
efore starting the sidetone. This patch creates a new API that forms a wrapper to _set_module_autoidle() to modify the AUTOIDLE bit. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Cc: Paul Walmsley Cc: Benoit Cousson Cc: Partha Basak --- arc

[PATCH 1/7] [RFC] OMAP: MCBSP: hwmod database for 2xxx devices

2010-10-05 Thread Kishon Vijay Abraham I
From: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Cc: Partha Basak --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 125 +++ arch/arm/mach-omap2/omap_hwmod_2430_data.c | 313 2 files

[PATCH 2/7] [RFC] OMAP: MCBSP: hwmod database for 3xxx devices

2010-10-05 Thread Kishon Vijay Abraham I
From: Charulatha V Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Cc: Partha Basak --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 426 1 files changed, 426 insertions(+), 0 deletions(-) diff --git a/arch/arm

[PATCH 3/7] [RFC] OMAP: MCBSP: hwmod database for 4xxx devices

2010-10-05 Thread Kishon Vijay Abraham I
From: Benoit Cousson MCBSP hwmod data values are auto-generated. The order of omap44xx_mcbsp3_slaves contents are changed since the driver uses the base address of omap44xx_l4_abe__mcbsp3_dma. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Cc

[PATCH 4/7] [RFC] OMAP: hwmod implementation for MCBSP

2010-10-05 Thread Kishon Vijay Abraham I
Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Cc: Partha Basak --- arch/arm/mach-omap2/mcbsp.c | 251 +-- arch/arm/plat-omap/include/plat/mcbsp.h |6 +- arch/arm/plat-omap/mcbsp.c

[PATCH 6/7] [RFC] OMAP: hwmod: SYSCONFIG register modification for MCBSP

2010-10-05 Thread Kishon Vijay Abraham I
x27;S are used to modify SYSCONFIG register directly. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Cc: Partha Basak --- arch/arm/plat-omap/mcbsp.c | 69 ++-- 1 files changed, 41 insertions(+), 28 dele

[PATCH 7/7] [RFC] OMAP: pm_runtime support for MCBSP

2010-10-05 Thread Kishon Vijay Abraham I
Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-off-by: Shubhrajyoti D Cc: Partha Basak --- arch/arm/mach-omap2/mcbsp.c |7 --- arch/arm/plat-omap/include/plat/mcbsp.h |1 - arch/arm/plat-omap/mcbsp.c | 27

[PATCH 5/7] [RFC] OMAP: hwmod: New API to modify the autoidle bit of sysconfig register

2010-10-05 Thread Kishon Vijay Abraham I
This patch was already posted in lo as RFC. But since no conclusion was drawn, I'm again posting this patch. The previous patch and discussion can be found at https://patchwork.kernel.org/patch/134371/ Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V Signed-o

[PATCH v3 0/2] OMAP: omap_device: API to modify SYSCONFIG register

2011-07-04 Thread Kishon Vijay Abraham I
http://www.mail-archive.com/linux-omap vger.kernel.org/msg39615.html Kishon Vijay Abraham I (2): OMAP: omap_hwmod: API to modify AUTOIDLE and SMARTIDLE bits OMAP: omap_device: API to modify AUTOIDLE and SMARTIDLE bits arch/arm/mach-omap2/omap_hwmod.c | 93 ++ arch/arm/plat-om

[PATCH v3 1/2] OMAP: omap_hwmod: API to modify AUTOIDLE and SMARTIDLE bits

2011-07-04 Thread Kishon Vijay Abraham I
Provide APIs to be used by the omap_device layer in order to modify AUTOIDLE and SIDLE bits. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod.c | 93 ++ arch/arm/plat-omap/include

[PATCH v3 2/2] OMAP: omap_device: API to modify AUTOIDLE and SMARTIDLE bits

2011-07-04 Thread Kishon Vijay Abraham I
Provide APIs to be used by the driver in order to modify AUTOIDLE and SIDLE bits. These APIs in turn call hwmod APIs to modify the SYSCONFIG register. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/plat-omap/include/plat/omap_device.h |6

[PATCH] omap: hwmod: add support to set dmadisable in hwmod framework

2012-05-08 Thread Kishon Vijay Abraham I
msley Signed-off-by: Kishon Vijay Abraham I --- checkpath warnings of "line over 80 characters" is ignored to aid easier grepping of strings while debugging. arch/arm/mach-omap2/omap_hwmod.c | 50 ++ arch/arm/mach-omap2/omap_hwmod_common_data.c |

[RFC PATCH 1/5] arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp

2012-05-30 Thread Kishon Vijay Abraham I
Made *ocp2scp_usb_phy_phy_48m* as the main_clk for ocp2scp. Since this ocp2scp module does not have any fck but does have a single opt_clock, it is added as the main_clk for ocp2scp. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |1 + 1 files changed

[RFC PATCH 0/5] omap: add ocp2scp as a misc driver

2012-05-30 Thread Kishon Vijay Abraham I
ns to send device tree adaptation of the ocp2scp driver. Developed on http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next If it has to be based on some other tree, please let me know. Kishon Vijay Abraham I (5): arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp

[RFC PATCH 5/5] arm: omap: ocp2scp: create omap device for ocp2scp

2012-05-30 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 72 + 1 files changed, 72 insertions(+), 0

[RFC PATCH 4/5] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-05-30 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 21 + 1 files changed, 21

[RFC PATCH 3/5] drivers: misc: omap: add a new driver for ocp2scp

2012-05-30 Thread Kishon Vijay Abraham I
Adds a new driver _ocp2scp_. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. Signed-off-by: Kishon Vijay Abraham I --- drivers/misc/Kconfig |8 ++ drivers/misc

[RFC PATCH 2/5] arm: omap: remove ocp2scp_usb_phy_ick clock node

2012-05-30 Thread Kishon Vijay Abraham I
"ocp2scp_usb_phy_ick" clock node was a fake clock node created to control MODULEMODE of ocp2scp. Since the hwmod for ocp2scp is now added (which can be used to control MODULEMODE) this clock node is removed. Cc: Benoit Cousson Signed-off-by: Kishon Vijay Abraham I --- arch/arm/

[RFC PATCH 3/3] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-05-30 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_phy_internal.c | 138 --- arch/arm/mach-omap2/twl-common.c

[RFC PATCH 2/3] usb: musb: omap glue: use omap-usb2 as the phy driver

2012-05-30 Thread Kishon Vijay Abraham I
to use the export API from omap musb glue. Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/usb-musb.c |3 - drivers/usb/musb/musb_core.h |1 - drivers/usb/musb/omap2430.c| 150 +-- drivers/usb/otg/twl4030-usb.c | 40

[RFC PATCH 1/3] drivers: usb: otg: add a new driver for omap usb2 phy

2012-05-30 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/Kconfig | 17 ++- drivers/usb

[RFC PATCH 0/3] usb: musb: add new phy driver

2012-05-30 Thread Kishon Vijay Abraham I
tch series *[RFC PATCH 0/5] omap: add ocp2scp as a misc driver* patch series Compile tested only. Kishon Vijay Abraham I (3): drivers: usb: otg: add a new driver for omap usb2 phy usb: musb: omap glue: use omap-usb2 as the phy driver arm: omap: phy: remove unused functions from omap-phy-

[PATCH 0/5] usb: musb: cleanup

2012-06-05 Thread Kishon Vijay Abraham I
) * send usb2 phy driver * make musb omap glue make use of usb2 phy driver and make twl630 as a comparator driver. Patch series depends on [PATCH v4 0/3] usb: multi-phy support Performed device mode testing in omap4 panda and omap3 beagle Kishon Vijay Abraham I (5): usb: musb: move work_struct

[PATCH 1/5] usb: musb: move work_struct(otg_notifier_work) from core to omap glue

2012-06-05 Thread Kishon Vijay Abraham I
: Kishon Vijay Abraham I --- drivers/usb/musb/musb_core.h |2 -- drivers/usb/musb/omap2430.c | 24 +++- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index f4a40f0..dbcdeea 100644 --- a/drivers

[PATCH 5/5] drivers: usb: otg: twl: use devres API to allocate resources

2012-06-05 Thread Kishon Vijay Abraham I
used devres API while allocating memory resource in twl4030 and twl6030 so that these resources are released automatically on driver detach. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/twl4030-usb.c | 15 +++ drivers/usb/otg/twl6030-usb.c | 16 +++- 2

[PATCH 4/5] usb: musb: omap: use devres API to allocate resources

2012-06-05 Thread Kishon Vijay Abraham I
used devres API while allocating memory resource and while getting usb phy so that these resources are released automatically on driver detach. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/musb/omap2430.c | 19 +++ 1 files changed, 7 insertions(+), 12 deletions

[PATCH 3/5] drivers: usb: musb: move otg specific initializations from twl to glue

2012-06-05 Thread Kishon Vijay Abraham I
Vijay Abraham I --- drivers/usb/musb/omap2430.c |5 + drivers/usb/otg/twl4030-usb.c |8 drivers/usb/otg/twl6030-usb.c |6 -- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 7139e57

[PATCH 2/5] usb: musb: twl: use mailbox API to send VBUS or ID events

2012-06-05 Thread Kishon Vijay Abraham I
The atomic notifier from twl4030/twl6030 to notifiy VBUS and ID events, is replaced by a direct call to omap musb blue. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/musb/omap2430.c | 90 ++--- drivers/usb/otg/twl4030-usb.c | 42

[PATCH RESEND] usb: musb: omap: fix crash when musb glue (omap) gets initialized

2012-03-22 Thread Kishon Vijay Abraham I
access. It is fixed here. Cc: sta...@vger.kernel.org Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- Tested MUSB in 4430SDP. drivers/usb/musb/omap2430.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430

[PATCH] mfd: omap: cleanup: use macros to check for TLL mode

2011-09-14 Thread Kishon Vijay Abraham I
In one particular place the old form of checking for TLL mode is used. This patch fixes the same by using macros to check for TLL mode. Signed-off-by: Kishon Vijay Abraham I --- patch is created on top of runtime patches from keshava hsoted at git://gitorious.org/~kmg/mirrors/kmg-usbhs-pm.git

[RFC PATCH 0/6] usb: musb: charger detection

2011-09-15 Thread Kishon Vijay Abraham I
: add USB charger detection twl6030: set charger current to be used by battery charging module Kishon Vijay Abraham I (2): usb: musb: omap: Configure OTG_INTERFSEL for proper charger detection usb: musb: omap4430_phy_power to enable/disable clocks and power up/down phy Sergii Postulga (1

[RFC PATCH 1/6] usb: musb: omap: Configure OTG_INTERFSEL for proper charger detection

2011-09-15 Thread Kishon Vijay Abraham I
Setting OTG_INTERFSEL to UTMI interferes with charger detection resulting in incorrect detection of charger type. Hence OTG_INTERFSEL is configured to ULPI initially and changed to UTMI only after receiving USB_EVENT_ID or USB_EVENT_VBUS notification. Signed-off-by: Kishon Vijay Abraham I Signed

[RFC PATCH 2/6] usb: musb: omap4430_phy_power to enable/disable clocks and power up/down phy

2011-09-15 Thread Kishon Vijay Abraham I
omap4430_phy_power is modified to be self contained in that it enables clock and power up the phy in addition to modifying the USBOTGHS_CONTROL register during power on. Similarly while powering down, it disables clock and power down the phy. Signed-off-by: Kishon Vijay Abraham I Signed-off-by

[RFC PATCH 6/6] twl6030: set charger current to be used by battery charging module

2011-09-15 Thread Kishon Vijay Abraham I
: Kishon Vijay Abraham I --- drivers/usb/otg/twl6030-usb.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/usb/otg/twl6030-usb.c b/drivers/usb/otg/twl6030-usb.c index 6cb28ea..1f22c10 100644 --- a/drivers/usb/otg/twl6030-usb.c +++ b/drivers/usb/otg/twl6030

[RFC PATCH 5/6] OMAP4: PHY internal: Add msleep_interruptible to charger detection function

2011-09-15 Thread Kishon Vijay Abraham I
detecting flag. Signed-off-by: Sergii Postulga Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_phy_internal.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_phy_internal.c b/arch/arm/mach-omap2/omap_phy_internal.c index 55918ea

[RFC PATCH 4/6] MUSB Charger Type Detection: Fix DCP detect during boot.

2011-09-15 Thread Kishon Vijay Abraham I
. Signed-off-by: Viswanath Puttagunta Signed-off-by: Moiz Sonasath Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_phy_internal.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_phy_internal.c b/arch/arm/mach-omap2

[RFC PATCH 3/6] OMAP4: TWL6030: add USB charger detection

2011-09-15 Thread Kishon Vijay Abraham I
: Balaji T K Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Hema HK Signed-off-by: Partha Basak --- arch/arm/mach-omap2/omap_phy_internal.c | 50 ++ arch/arm/plat-omap/include/plat/usb.h |1 + drivers/usb/otg/twl6030-usb.c | 51

  1   2   3   4   5   6   7   8   9   10   >