All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/35] ARM: OMAP2+: hwmod data module support
@ 2015-04-15 12:52 Tero Kristo
  2015-04-15 12:52 ` [RFC PATCH 01/35] clk: composite: add support for disable_unused clk operation Tero Kristo
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: Tero Kristo @ 2015-04-15 12:52 UTC (permalink / raw)
  To: tony, paul, linux-omap

Hi,

This RFC provides support for moving hwmod data into separate modules
which can be registered later during boot. Only system critical parts
of the hwmod data remain in omap_hwmod_*_early_data.c file, rest are
moved into omap_hwmod_*_late_data.c. The late data can alternatively
be built into a module, or built-in to kernel image, in which case
the system behaves pretty much the same way as it does currently. Use
kconfig option OMAP_HWMOD_DATA_MODULES to control the behavior. If
this approach is something that is seen feasible to follow, rest of
the SoCs can be converted in similar manner, and eventually all the
hwmod code should be moved under some driver (drivers/bus/ maybe?)

This RFC set only provides support for omap3 hwmod data split. Please
note that you probably must use ramdisk rootfs to load the hwmod data
module itself from, as most of the system devices are not initialized
in the early boot.

Testing done on omap3-beagle:
- boot, insmod, suspend-resume (ret/off), cpuidle (ret/off)

Boot log for omap3 here: http://pastebin.ubuntu.com/10826443/
- some spam generated by USB here, it seems to defer probe until i2c/twl
  is ready
- some additional debug prints enabled for testing purposes

Trial branch pushed here:
- tree: https://github.com/t-kristo/linux-pm.git
- branch: 4.0-hwmod-split-rfc

-Tero


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

end of thread, other threads:[~2015-05-05 15:59 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-15 12:52 [RFC PATCH 00/35] ARM: OMAP2+: hwmod data module support Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 01/35] clk: composite: add support for disable_unused clk operation Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 02/35] clk: ti: gate/interface: add support for clk_ops->disable_unused Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 03/35] ARM: OMAP2: n8x0: remove __initdata declarations from code Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 04/35] ARM: OMAP2+: hwmod: add support for specifying memalloc functionality Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 05/35] ARM: OMAP2+: hwmod: add support for rerouting hwmod links Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 06/35] of/platform: export a couple of platform device init APIs Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 07/35] wl12xx: remove __init declaration from platform data setup API Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 08/35] ARM: OMAP2+: hwmod: move APIs out of __init section Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 09/35] ARM: OMAP2+: hwmod: move omap_hwmod_init_postsetup to hwmod driver Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 10/35] ARM: OMAP2+: hwmod: export hwmod APIs for driver use Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 11/35] ARM: OMAP2+: pdata-quirks: move data out of __initdata section Tero Kristo
2015-04-15 12:52 ` [RFC PATCH 12/35] ARM: OMAP2+: dma: change DMA iomap to use hwmod pointers instead of pdata Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 13/35] ARM: OMAP2+: VP: remove code from __init section Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 14/35] ARM: OMAP2+: VC: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 15/35] ARM: OMAP2+: twl: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 16/35] ARM: OMAP2+: voltage: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 17/35] ARM: OMAP3: control: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 18/35] ARM: OMAP3+: cpuidle: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 19/35] ARM: OMAP3: PRM: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 20/35] ARM: OMAP2+: omap_device: remove omap_device_build " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 21/35] ARM: OMAP2+: SR: remove code " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 22/35] ARM: OMAP2+: PM: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 23/35] ARM: OMAP3: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 24/35] ARM: OMAP2+: display: " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 25/35] ARM: OMAP2+: DMA: remove omap2_system_dma_init " Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 26/35] ARM: OMAP2+: build: add support for hwmod data modules Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 27/35] ARM: OMAP2+: pdata-quirks: add support for early and late pdata_quirks init Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 28/35] ARM: OMAP2+: board-generic: add support for generic hwmod modular init Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 29/35] ARM: OMAP2+: io: remove common_pm_late_init if using hwmod data modules Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 30/35] ARM: OMAP3: io: remove early PM init when hwmod data is built as module Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 31/35] ARM: dts: omap3: split l3-smx node out of ocp bus node Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 32/35] ARM: OMAP3: hwmod_data: add support for hwmod early data Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 33/35] ARM: OMAP3: pdata-quirks: add hwmod module platform data Tero Kristo
2015-04-15 12:53 ` [RFC PATCH 35/35] HACK: remove omap3 hwmod external dependencies Tero Kristo
2015-05-05 15:59 ` [RFC PATCH 00/35] ARM: OMAP2+: hwmod data module support Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.