Skip to contentSkip to conversation

Introduce clock support for AM35xx IPSS modules

PATCH In review Ranjith Lohithakshan 2 participants 2 messages Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

cover Introduce clock support for AM35xx IPSS modules

The patch series add support for the new modules on AM35xx IP Sub-System (IPSS) and incorporates all the earlier review comments.

Since AM35xx follows a completely different scheme for indicating clock idle status, the find_idlest() function in clkops is extended to pass back the idle status indicator for that clock.

This patch series depends on the following patches
http://marc.info/?l=linux-omap&m=126325725822266&w=2
http://marc.info/?l=linux-omap&m=126325725822263&w=2
http://marc.info/?l=linux-omap&m=126325725722251&w=2

Tested on OMAP3 and AM3517 EVM's.

Ranjith Lohithakshan (2):
OMAP2/3 clock: Extend find_idlest() to pass back idle state value
AM35xx: Add clock support for new modules on AM35xx

 arch/arm/mach-omap2/clock.c             |   22 +++++-
 arch/arm/mach-omap2/clock.h             |    2 +-
 arch/arm/mach-omap2/clock2xxx.c         |    7 ++-
 arch/arm/mach-omap2/clock34xx.c         |  108 +++++++++++++++++++++++++++-
 arch/arm/mach-omap2/clock34xx.h         |    4 +
 arch/arm/mach-omap2/clock34xx_data.c    |  117 +++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/cm-regbits-34xx.h   |   10 +++
 arch/arm/mach-omap2/cm.h                |    3 +
 arch/arm/mach-omap2/prcm.c              |   14 ++---
 arch/arm/plat-omap/include/plat/clock.h |    2 +-
 arch/arm/plat-omap/include/plat/prcm.h  |    2 +-
 11 files changed, 270 insertions(+), 21 deletions(-)
#1 lore raw

Hi Ranjith,

Quoted 12 lines · Ranjith Lohithakshan

The patch series add support for the new modules on AM35xx IP Sub-System (IPSS) and incorporates all the earlier review comments.

Since AM35xx follows a completely different scheme for indicating clock idle status, the find_idlest() function in clkops is extended to pass back the idle status indicator for that clock.

This patch series depends on the following patches
http://marc.info/?l=linux-omap&m=126325725822266&w=2
http://marc.info/?l=linux-omap&m=126325725822263&w=2
http://marc.info/?l=linux-omap&m=126325725722251&w=2

Quoted 5 lines

Tested on OMAP3 and AM3517 EVM's.

Ranjith Lohithakshan (2):
OMAP2/3 clock: Extend find_idlest() to pass back idle state value
AM35xx: Add clock support for new modules on AM35xx

Thanks, this series looks almost perfect except for a few minor issues, will comment on those on the patches themselves.

Some of the things that you did in this series which I really appreciate:

1. You posted the list of patches which your series depends on (in the above E-mail)

2. You posted the platforms that you tested your patch on (also in the above E-mail)

3. You put kerneldoc documentation into your code

4. You fixed a problem with the existing documentation

5. During the patch comment process, you helped me understand what is going on with the chip

Now there are three general areas that could use some improvement:

1. One of the patches has a problem that would be caught by checkpatch.pl (comments following). Please run this on all your patches prior to submission.

2. There are some whitespace problems with some of your struct definitions (comments following). I'm not sure what editor you use, but consider using an editor that colors tabs differently than spaces. For example, emacs' show-wspace.el script

3. One of the patches introduces a sparse warning. Please run 'make C=2 objectfilename.o' on all files that your patches touch and make sure you don't add any new sparse warnings. Bonus points for removing existing sparse warnings :-) (comments following)

- Paul