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
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
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
.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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 |
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
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
-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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
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
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
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
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
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
"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/
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
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
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
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-
)
* 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
: 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
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
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
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
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
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
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
: 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
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
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
: 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
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
.
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
: 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 - 100 of 1347 matches
Mail list logo