linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup.
@ 2010-05-20 13:37 Govindraj.R
  2010-05-24 14:17 ` Kevin Hilman
  2010-05-27 21:05 ` Kevin Hilman
  0 siblings, 2 replies; 6+ messages in thread
From: Govindraj.R @ 2010-05-20 13:37 UTC (permalink / raw)
  To: linux-omap; +Cc: Kevin Hilman

Patch series is based on remotes/origin/pm-wip/govindraj
branch from Kevin's PM tree.

Patches are tested with 3430SDP.
Have updated 2420/2430 hwmod data files
it would be great if some one can test the same.

Govindraj.R (6):
  Serial: Clean up set_uart_globals.
  Serial: Add UART4 hwmod data.
  Serial: Modify OMAP3 hwmod data file with uart data.
  Serial: Add UART hwmod data for 2420.
  Serial: Add UART hwmod data for 2430.
  Serial: Update UART HWMOD layer.

 arch/arm/mach-omap2/omap_hwmod_2420_data.c |  184 ++++++++++++++++++++++++++++
 arch/arm/mach-omap2/omap_hwmod_2430_data.c |  184 ++++++++++++++++++++++++++++
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   66 +++++++++-
 arch/arm/mach-omap2/prcm-common.h          |    2 +
 arch/arm/mach-omap2/serial.c               |   38 +++----
 arch/arm/plat-omap/common.c                |   17 ---
 arch/arm/plat-omap/include/plat/common.h   |    1 -
 arch/arm/plat-omap/include/plat/dma.h      |    2 +
 arch/arm/plat-omap/include/plat/irqs.h     |    2 +
 9 files changed, 449 insertions(+), 47 deletions(-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup.
  2010-05-20 13:37 [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup Govindraj.R
@ 2010-05-24 14:17 ` Kevin Hilman
  2010-05-24 14:31   ` Govindraj.R
  2010-05-27 21:05 ` Kevin Hilman
  1 sibling, 1 reply; 6+ messages in thread
From: Kevin Hilman @ 2010-05-24 14:17 UTC (permalink / raw)
  To: Govindraj.R; +Cc: linux-omap

"Govindraj.R" <govindraj.raja@ti.com> writes:

> Patch series is based on remotes/origin/pm-wip/govindraj
> branch from Kevin's PM tree.
>
> Patches are tested with 3430SDP.
> Have updated 2420/2430 hwmod data files
> it would be great if some one can test the same.

Hi Govindraj,

This series looks great.  I've added it to pm-wip/uart for broader testing,
but there were a couple minor issues I pointed out.

Feel free to send fixes on top of pm-wip/uart and I will merge/fold them
in.

FYI, the way I am testing is taking pm-wip/uart and merging with
current PM branch and testing using omap3_defconfig.

Kevin

> Govindraj.R (6):
>   Serial: Clean up set_uart_globals.
>   Serial: Add UART4 hwmod data.
>   Serial: Modify OMAP3 hwmod data file with uart data.
>   Serial: Add UART hwmod data for 2420.
>   Serial: Add UART hwmod data for 2430.
>   Serial: Update UART HWMOD layer.
>
>  arch/arm/mach-omap2/omap_hwmod_2420_data.c |  184 ++++++++++++++++++++++++++++
>  arch/arm/mach-omap2/omap_hwmod_2430_data.c |  184 ++++++++++++++++++++++++++++
>  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   66 +++++++++-
>  arch/arm/mach-omap2/prcm-common.h          |    2 +
>  arch/arm/mach-omap2/serial.c               |   38 +++----
>  arch/arm/plat-omap/common.c                |   17 ---
>  arch/arm/plat-omap/include/plat/common.h   |    1 -
>  arch/arm/plat-omap/include/plat/dma.h      |    2 +
>  arch/arm/plat-omap/include/plat/irqs.h     |    2 +
>  9 files changed, 449 insertions(+), 47 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup.
  2010-05-24 14:17 ` Kevin Hilman
@ 2010-05-24 14:31   ` Govindraj.R
  0 siblings, 0 replies; 6+ messages in thread
From: Govindraj.R @ 2010-05-24 14:31 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap



> "Govindraj.R" <govindraj.raja@ti.com> writes:
>
>> Patch series is based on remotes/origin/pm-wip/govindraj
>> branch from Kevin's PM tree.
>>
>> Patches are tested with 3430SDP.
>> Have updated 2420/2430 hwmod data files
>> it would be great if some one can test the same.
>
> Hi Govindraj,
>
> This series looks great.  I've added it to pm-wip/uart for broader testing,
> but there were a couple minor issues I pointed out.

I think you are referring to uart4 crash on 3630,
addressed the same:

http://marc.info/?l=linux-omap&m=127470579930240&w=2


>
> Feel free to send fixes on top of pm-wip/uart and I will merge/fold them
> in.

Sure.

>
> FYI, the way I am testing is taking pm-wip/uart and merging with
> current PM branch and testing using omap3_defconfig.
>

Thanks, will try to do one around of testing in the same manner.


> Kevin
>
>> Govindraj.R (6):
>>   Serial: Clean up set_uart_globals.
>>   Serial: Add UART4 hwmod data.
>>   Serial: Modify OMAP3 hwmod data file with uart data.
>>   Serial: Add UART hwmod data for 2420.
>>   Serial: Add UART hwmod data for 2430.
>>   Serial: Update UART HWMOD layer.
>>
>>  arch/arm/mach-omap2/omap_hwmod_2420_data.c |  184 ++++++++++++++++++++++++++++
>>  arch/arm/mach-omap2/omap_hwmod_2430_data.c |  184 ++++++++++++++++++++++++++++
>>  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   66 +++++++++-
>>  arch/arm/mach-omap2/prcm-common.h          |    2 +
>>  arch/arm/mach-omap2/serial.c               |   38 +++----
>>  arch/arm/plat-omap/common.c                |   17 ---
>>  arch/arm/plat-omap/include/plat/common.h   |    1 -
>>  arch/arm/plat-omap/include/plat/dma.h      |    2 +
>>  arch/arm/plat-omap/include/plat/irqs.h     |    2 +
>>  9 files changed, 449 insertions(+), 47 deletions(-)
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup.
  2010-05-20 13:37 [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup Govindraj.R
  2010-05-24 14:17 ` Kevin Hilman
@ 2010-05-27 21:05 ` Kevin Hilman
  2010-05-28 12:11   ` Govindraj
  1 sibling, 1 reply; 6+ messages in thread
From: Kevin Hilman @ 2010-05-27 21:05 UTC (permalink / raw)
  To: Govindraj.R; +Cc: linux-omap

Hi Govindraj,

"Govindraj.R" <govindraj.raja@ti.com> writes:

> Patch series is based on remotes/origin/pm-wip/govindraj
> branch from Kevin's PM tree.
>
> Patches are tested with 3430SDP.
> Have updated 2420/2430 hwmod data files
> it would be great if some one can test the same.

OK, I've updated pm-wip/uart to include most of this series as well as
some of the other fixes I posted yesterday to get things working on
OMAP2.

> Govindraj.R (6):
>   Serial: Clean up set_uart_globals.
>   Serial: Add UART4 hwmod data.
>   Serial: Modify OMAP3 hwmod data file with uart data.
>   Serial: Add UART hwmod data for 2420.
>   Serial: Add UART hwmod data for 2430.
>   Serial: Update UART HWMOD layer.

I've kept patch 1 as is, but changed the subject slightly.

Patches 2, 4 and 5 I've folded into the patch that added hwmod data
for OMAP3.

Patch 6 I folded into the initial UART conversion patch and also
changed the authorship for that patch to you, since you've done most
of that work.

Patch 3, I've dropped as that shouldn't be needed after you switch
to platform_get_resource_byname().

Please update your omap-serial driver on top of the new pm-wip/uart
branch and then we'll be basically ready for upstream.

Kevin

>  arch/arm/mach-omap2/omap_hwmod_2420_data.c |  184 ++++++++++++++++++++++++++++
>  arch/arm/mach-omap2/omap_hwmod_2430_data.c |  184 ++++++++++++++++++++++++++++
>  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   66 +++++++++-
>  arch/arm/mach-omap2/prcm-common.h          |    2 +
>  arch/arm/mach-omap2/serial.c               |   38 +++----
>  arch/arm/plat-omap/common.c                |   17 ---
>  arch/arm/plat-omap/include/plat/common.h   |    1 -
>  arch/arm/plat-omap/include/plat/dma.h      |    2 +
>  arch/arm/plat-omap/include/plat/irqs.h     |    2 +
>  9 files changed, 449 insertions(+), 47 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup.
  2010-05-27 21:05 ` Kevin Hilman
@ 2010-05-28 12:11   ` Govindraj
  2010-05-28 14:43     ` Kevin Hilman
  0 siblings, 1 reply; 6+ messages in thread
From: Govindraj @ 2010-05-28 12:11 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: Govindraj.R, linux-omap

On Fri, May 28, 2010 at 2:35 AM, Kevin Hilman
<khilman@deeprootsystems.com> wrote:
> Hi Govindraj,
>
> "Govindraj.R" <govindraj.raja@ti.com> writes:
>
>> Patch series is based on remotes/origin/pm-wip/govindraj
>> branch from Kevin's PM tree.
>>
>> Patches are tested with 3430SDP.
>> Have updated 2420/2430 hwmod data files
>> it would be great if some one can test the same.
>
> OK, I've updated pm-wip/uart to include most of this series as well as
> some of the other fixes I posted yesterday to get things working on
> OMAP2.
>
>> Govindraj.R (6):
>>   Serial: Clean up set_uart_globals.
>>   Serial: Add UART4 hwmod data.
>>   Serial: Modify OMAP3 hwmod data file with uart data.
>>   Serial: Add UART hwmod data for 2420.
>>   Serial: Add UART hwmod data for 2430.
>>   Serial: Update UART HWMOD layer.
>
> I've kept patch 1 as is, but changed the subject slightly.
>
> Patches 2, 4 and 5 I've folded into the patch that added hwmod data
> for OMAP3.
>
> Patch 6 I folded into the initial UART conversion patch and also
> changed the authorship for that patch to you, since you've done most
> of that work.
>

Thanks. Looks great now.

> Patch 3, I've dropped as that shouldn't be needed after you switch
> to platform_get_resource_byname().
>

One comment here,
In that patch other than swapping rx and tx fields.
I had modified name field from uart*_hwmod to uart*

-	.name		= "uart[1-3]_hwmod",
+	.name		= "uart[1-3]",

I think this might be necessary.
To be in sync with auto generated data file.

I think it can be incorporated with,

OMAP2/3: UART: add omap_hwmod data for UARTs 1-4

> Please update your omap-serial driver on top of the new pm-wip/uart
> branch and then we'll be basically ready for upstream.
>

Sure and here is the update:

http://marc.info/?l=linux-serial&m=127504585628001&w=2

Meanwhile I took wip-uart patches to pm branch and tested
enabling sleep_while_idle and enable_off_mode
on 3430/3630SDP with omap3_pm_defconfig.
Things worked fine with ret/off count getting incremented.

---
Regards,
Govindraj.R


> Kevin
>
>>  arch/arm/mach-omap2/omap_hwmod_2420_data.c |  184 ++++++++++++++++++++++++++++
>>  arch/arm/mach-omap2/omap_hwmod_2430_data.c |  184 ++++++++++++++++++++++++++++
>>  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   66 +++++++++-
>>  arch/arm/mach-omap2/prcm-common.h          |    2 +
>>  arch/arm/mach-omap2/serial.c               |   38 +++----
>>  arch/arm/plat-omap/common.c                |   17 ---
>>  arch/arm/plat-omap/include/plat/common.h   |    1 -
>>  arch/arm/plat-omap/include/plat/dma.h      |    2 +
>>  arch/arm/plat-omap/include/plat/irqs.h     |    2 +
>>  9 files changed, 449 insertions(+), 47 deletions(-)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup.
  2010-05-28 12:11   ` Govindraj
@ 2010-05-28 14:43     ` Kevin Hilman
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Hilman @ 2010-05-28 14:43 UTC (permalink / raw)
  To: Govindraj; +Cc: Govindraj.R, linux-omap

Govindraj <govindraj.ti@gmail.com> writes:

> On Fri, May 28, 2010 at 2:35 AM, Kevin Hilman
> <khilman@deeprootsystems.com> wrote:
>> Hi Govindraj,
>>
>> "Govindraj.R" <govindraj.raja@ti.com> writes:
>>
>>> Patch series is based on remotes/origin/pm-wip/govindraj
>>> branch from Kevin's PM tree.
>>>
>>> Patches are tested with 3430SDP.
>>> Have updated 2420/2430 hwmod data files
>>> it would be great if some one can test the same.
>>
>> OK, I've updated pm-wip/uart to include most of this series as well as
>> some of the other fixes I posted yesterday to get things working on
>> OMAP2.
>>
>>> Govindraj.R (6):
>>>   Serial: Clean up set_uart_globals.
>>>   Serial: Add UART4 hwmod data.
>>>   Serial: Modify OMAP3 hwmod data file with uart data.
>>>   Serial: Add UART hwmod data for 2420.
>>>   Serial: Add UART hwmod data for 2430.
>>>   Serial: Update UART HWMOD layer.
>>
>> I've kept patch 1 as is, but changed the subject slightly.
>>
>> Patches 2, 4 and 5 I've folded into the patch that added hwmod data
>> for OMAP3.
>>
>> Patch 6 I folded into the initial UART conversion patch and also
>> changed the authorship for that patch to you, since you've done most
>> of that work.
>>
>
> Thanks. Looks great now.
>
>> Patch 3, I've dropped as that shouldn't be needed after you switch
>> to platform_get_resource_byname().
>>
>
> One comment here,
> In that patch other than swapping rx and tx fields.
> I had modified name field from uart*_hwmod to uart*
>
> -	.name		= "uart[1-3]_hwmod",
> +	.name		= "uart[1-3]",
>
> I think this might be necessary.
> To be in sync with auto generated data file.
>
> I think it can be incorporated with,
>
> OMAP2/3: UART: add omap_hwmod data for UARTs 1-4

OK, I will fold the "_hwmod" removal part of the patch into the hwmod
data patch.

>> Please update your omap-serial driver on top of the new pm-wip/uart
>> branch and then we'll be basically ready for upstream.
>>
>
> Sure and here is the update:
>
> http://marc.info/?l=linux-serial&m=127504585628001&w=2

Looks good to me.

> Meanwhile I took wip-uart patches to pm branch and tested
> enabling sleep_while_idle and enable_off_mode
> on 3430/3630SDP with omap3_pm_defconfig.
> Things worked fine with ret/off count getting incremented.

Great, so this series + omap-serial is now working OMAP2420, 3430 and
3630.  Nice.

One other missing piece is that I need a refresh of this patch:

  [pm-wip/uart][PATCH] Serial: Avoid using hwmod lookup using name string

against the current pm-wip/uart branch, and I will fold that into the
UART hwmod conversion patch.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-28 14:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 13:37 [pm-wip/uart][PATCH 0/6]: Serial HWMOD updation and cleanup Govindraj.R
2010-05-24 14:17 ` Kevin Hilman
2010-05-24 14:31   ` Govindraj.R
2010-05-27 21:05 ` Kevin Hilman
2010-05-28 12:11   ` Govindraj
2010-05-28 14:43     ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).