[RFC 00/24] Move OMAP2+ over to use COMMON clock

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

 



Hi,

This RFC series is based of Mikes' latest clk-next. I will
rebase it once 3.5-rc1 is out and post with more testing thats
in progress. Meanwhile, the RFC is for me to get some early
feedback on the patches.

This series retains the static clock declarations and also
all data and code in mach-omap folders and does not move
it as yet to drivers/clk. I know its desierable that we move
away from static declaration of data and move over to drivers/clk
but thats not addressed by this series.
Also the series moves over only OMAP2+ (OMAP2/3/4)
to use COMMON clk and leaves OMAP1 still using OMAP
clock framework.

The series does not break git-bisect at any point and to
do so adds new data in completely different files and uses
some ifdefferry in code too, and switches over in one
patch to move from OMAP clock to COMMON clock. Then deletes
all old data files and all the ifdeferrey around.

All of the new data for OMAP2/3/4 in the new COMMON clock
format is autogenerated, OMAP4 by hacking the existing python
scripts, and OMAP2/3 by converting the existing C99 structs
to JSON format (Thanks to Paul Walmsley for this) and then having
python to read the JSON format and generate the C99 structs
back in the form COMMON clk expects.

The patches also depend on 2 of my patches posted here
http://comments.gmane.org/gmane.linux.kernel/1298747
I have not reposted them becasue one of them is already
picked up by Mike, and the other is already under discussion.

The series with all dependent patches can be found here
git://github.com/rrnayak/linux.git clk-next-omap

regards,
Rajendra

Mike Turquette (1):
  ARM: omap4: cm: add bitfield width values

Rajendra Nayak (23):
  clk: Add CLK_IS_BASIC flag to identify basic clocks
  ARM: omap: clk: convert all clk_enable to clk_prepare_enable
  ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage
  ARM: omap: clk: Nuke plat clock.c & clock.h if CONFIG_COMMON_CLK
  ARM: omap: clk: Remove all direct dereferncing of struct clk
  ARM: omap: hwmod: Fix up hwmod based clkdm accesses
  ARM: omap4: clk: Convert to common clk
  ARM: omap3: clk: Convert to common clk
  ARM: omap2: clk: Convert to common clk
  ARM: omap: clk: list all clk_hw_omap clks to enable/disable autoidle
  ARM: omap: clk: Define a function to enable clocks at init
  ARM: omap4: clk: Add 44xx data using common struct clk
  ARM: omap3: clk: Add 3xxx data using common struct clk
  ARM: omap2: clk: Add 24xx data using common struct clk
  ARM: omap: clk: Switch to COMMON clk
  ARM: omap: clk: Use plat clock.c & clock.h only for OMAP1
  ARM: omap: hwmod: Cleanup !CONFIG_COMMON_CLK parts
  ARM: omap4: clk: Cleanup !CONFIG_COMMON_CLK parts
  ARM: omap3: clk: Cleanup !CONFIG_COMMON_CLK parts
  ARM: omap2: clk: Cleanup !CONFIG_COMMON_CLK parts
  ARM: omap4: clk: Delete old OMAP clock data
  ARM: omap3: clk: Delete old OMAP clock data
  ARM: omap2: clk: Delete old OMAP clock data

 arch/arm/mach-omap2/Kconfig                  |    1 +
 arch/arm/mach-omap2/Makefile                 |    8 +-
 arch/arm/mach-omap2/board-apollon.c          |    4 +-
 arch/arm/mach-omap2/board-h4.c               |    6 +-
 arch/arm/mach-omap2/board-omap4panda.c       |    2 +-
 arch/arm/mach-omap2/cclock2420_data.c        | 2284 +++++++++++++++
 arch/arm/mach-omap2/cclock2430_data.c        | 2408 ++++++++++++++++
 arch/arm/mach-omap2/cclock3xxx_data.c        | 3953 ++++++++++++++++++++++++++
 arch/arm/mach-omap2/cclock44xx_data.c        | 2602 +++++++++++++++++
 arch/arm/mach-omap2/clkt2xxx_apll.c          |   36 +-
 arch/arm/mach-omap2/clkt2xxx_dpll.c          |   10 +-
 arch/arm/mach-omap2/clkt2xxx_dpllcore.c      |   12 +-
 arch/arm/mach-omap2/clkt2xxx_osc.c           |   14 +-
 arch/arm/mach-omap2/clkt2xxx_sys.c           |    8 +-
 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c |   15 +-
 arch/arm/mach-omap2/clkt34xx_dpll3m2.c       |   25 +-
 arch/arm/mach-omap2/clkt_clksel.c            |  200 +-
 arch/arm/mach-omap2/clkt_dpll.c              |   49 +-
 arch/arm/mach-omap2/clkt_iclk.c              |   36 +-
 arch/arm/mach-omap2/clock.c                  |  328 +--
 arch/arm/mach-omap2/clock.h                  |  334 ++-
 arch/arm/mach-omap2/clock2420_data.c         | 2009 -------------
 arch/arm/mach-omap2/clock2430.c              |    9 +-
 arch/arm/mach-omap2/clock2430_data.c         | 2108 --------------
 arch/arm/mach-omap2/clock2xxx.c              |    2 +-
 arch/arm/mach-omap2/clock2xxx.h              |   37 +-
 arch/arm/mach-omap2/clock34xx.c              |   53 +-
 arch/arm/mach-omap2/clock3517.c              |   23 +-
 arch/arm/mach-omap2/clock36xx.c              |   24 +-
 arch/arm/mach-omap2/clock36xx.h              |    2 +-
 arch/arm/mach-omap2/clock3xxx.c              |   15 +-
 arch/arm/mach-omap2/clock3xxx.h              |    8 +-
 arch/arm/mach-omap2/clock3xxx_data.c         | 3632 -----------------------
 arch/arm/mach-omap2/clock44xx_data.c         | 3466 ----------------------
 arch/arm/mach-omap2/clock_common_data.c      |    9 +
 arch/arm/mach-omap2/clockdomain.c            |    1 -
 arch/arm/mach-omap2/clockdomain.h            |    1 -
 arch/arm/mach-omap2/cm-regbits-24xx.h        |    5 +
 arch/arm/mach-omap2/cm-regbits-34xx.h        |   31 +
 arch/arm/mach-omap2/cm-regbits-44xx.h        |  411 +++-
 arch/arm/mach-omap2/cm2xxx_3xxx.h            |    1 +
 arch/arm/mach-omap2/common.c                 |    1 -
 arch/arm/mach-omap2/display.c                |    4 +-
 arch/arm/mach-omap2/dpll3xxx.c               |  156 +-
 arch/arm/mach-omap2/dpll44xx.c               |   21 +-
 arch/arm/mach-omap2/gpmc.c                   |    2 +-
 arch/arm/mach-omap2/omap_hwmod.c             |   87 +-
 arch/arm/mach-omap2/omap_phy_internal.c      |   12 +-
 arch/arm/mach-omap2/pm-debug.c               |    2 +-
 arch/arm/mach-omap2/pm.c                     |    2 +-
 arch/arm/mach-omap2/pm24xx.c                 |    9 +-
 arch/arm/mach-omap2/prm-regbits-24xx.h       |    2 +
 arch/arm/mach-omap2/prm-regbits-34xx.h       |    1 +
 arch/arm/mach-omap2/prm2xxx_3xxx.h           |    1 +
 arch/arm/mach-omap2/scrm44xx.h               |    2 +
 arch/arm/mach-omap2/sdram-nokia.c            |    1 -
 arch/arm/mach-omap2/sdrc.c                   |    1 -
 arch/arm/mach-omap2/sdrc2xxx.c               |    1 -
 arch/arm/mach-omap2/usb-fs.c                 |    4 +-
 arch/arm/plat-omap/Makefile                  |    3 +-
 arch/arm/plat-omap/counter_32k.c             |    4 +-
 arch/arm/plat-omap/include/plat/clock.h      |  134 -
 arch/arm/plat-omap/omap_device.c             |    6 +-
 drivers/clk/clk-divider.c                    |    2 +-
 drivers/clk/clk-fixed-factor.c               |    2 +-
 drivers/clk/clk-fixed-rate.c                 |    2 +-
 drivers/clk/clk-gate.c                       |    2 +-
 drivers/clk/clk-mux.c                        |    2 +-
 drivers/spi/spi-omap2-mcspi.c                |    1 -
 include/linux/clk-private.h                  |    2 +-
 include/linux/clk-provider.h                 |    1 +
 71 files changed, 12481 insertions(+), 12171 deletions(-)
 create mode 100644 arch/arm/mach-omap2/cclock2420_data.c
 create mode 100644 arch/arm/mach-omap2/cclock2430_data.c
 create mode 100644 arch/arm/mach-omap2/cclock3xxx_data.c
 create mode 100644 arch/arm/mach-omap2/cclock44xx_data.c
 delete mode 100644 arch/arm/mach-omap2/clock2420_data.c
 delete mode 100644 arch/arm/mach-omap2/clock2430_data.c
 delete mode 100644 arch/arm/mach-omap2/clock3xxx_data.c
 delete mode 100644 arch/arm/mach-omap2/clock44xx_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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux