[PATCH-V2 0/4] ARM: OMAP2+: am33xx: Add clocktree and hwmod data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This patch adds complete clockctree and hwmod data for the
AM33XX family of devices.

This patch-series is cleaned up further from Paul's cleanup
activity on AM33xx clocktree, where all leaf nodes have been
removed and now modules enable/disable is controlled only
using hwmod framework interface.

There are certain modules, like clkdiv32k, debugss, etc..., for
which we still doesn't have hwmod_data present, so in order to
disable these modules during boot time, we still have to maintain
clk node for them. Comment has been added to highlight this, and
in the future we will cleanup this.
As far as, CLKDIV32K module, in reality is not module but still
we have MODULEMODE to control it, so we may have to keep this node
alone in the clocktree.

This patch is created on top of recently submitted patches
(accepted on the list) for am33xx voltage/powerdomain/clockcomain
patch-series -

All the patches are also available at
https://github.com/hvaibhav/am335x-linux   am335x-upstream-staging

This patch has been boot tested on BeagleBone platform.

ClockTree: http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg67095.html
Hwmod: http://www.spinics.net/lists/linux-omap/msg69189.html

Changes from V1:
	- Removed all leaf nodes from clocktree, and migrated
	  hwmod data to use parent clock of module's funtional clock
	  as main_clk.
	- Rebased patches against Kevin's omap_hwmod cleanup patch-series,
	  where, cpu_is_xxx is no longer needed and platform specific
	  api's will be registered during init call itself.

Paul Walmsley (1):
  ARM: OMAP3+: clock: Move common clksel_rate & clock data to common

Vaibhav Hiremath (3):
  ARM: OMAP2+: hwmod: Hook-up am33xx support in omap_hwmod framework
  ARM: OMAP3+: clock33xx: Add AM33XX clock tree data
  ARM: OMAP3+: hwmod: Add AM33XX HWMOD data

 arch/arm/mach-omap2/Makefile                  |    2 +
 arch/arm/mach-omap2/clock.h                   |   14 +
 arch/arm/mach-omap2/clock33xx_data.c          | 1105 ++++++++
 arch/arm/mach-omap2/clock3xxx_data.c          |   20 +-
 arch/arm/mach-omap2/clock44xx_data.c          |   72 -
 arch/arm/mach-omap2/clock_common_data.c       |   77 +
 arch/arm/mach-omap2/io.c                      |    4 +
 arch/arm/mach-omap2/omap_hwmod.c              |  180 ++
 arch/arm/mach-omap2/omap_hwmod_33xx_data.c    | 3368 +++++++++++++++++++++++++
 arch/arm/plat-omap/include/plat/clkdev_omap.h |    1 +
 arch/arm/plat-omap/include/plat/omap_hwmod.h  |    1 +
 11 files changed, 4756 insertions(+), 88 deletions(-)
 create mode 100644 arch/arm/mach-omap2/clock33xx_data.c
 create mode 100644 arch/arm/mach-omap2/omap_hwmod_33xx_data.c

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

[Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux