All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Tero Kristo <t-kristo@ti.com>
Cc: paul@pwsan.com, linux-omap@vger.kernel.org
Subject: Re: [RFC PATCH 00/35] ARM: OMAP2+: hwmod data module support
Date: Tue, 5 May 2015 08:59:05 -0700	[thread overview]
Message-ID: <20150505155905.GE21061@atomide.com> (raw)
In-Reply-To: <1429102402-5276-1-git-send-email-t-kristo@ti.com>

* Tero Kristo <t-kristo@ti.com> [150415 05:53]:
> 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?)

Interesting to see what it would take to move some of this into
loadable modules or /lib/firmware. I think we should queue the fixes
and anything that makes it easier to initialized hwmods in stages.
Then we should wait on the __init changes until there's a clear use
case.

Meanwhile, to me it seems we can make 81xx/am33x/am437x at least
device tree only for the hwmod with the following two changes:

1. Add parsing for the sysc syss properties along the lines of
   the RFC patches posted by Felipe few months back.

2. Set up the .clkctrl register as a gate clock that gets parsed
   from the dts files.

And then we can also start moving to generic power domains and
simple-pm-bus.

> 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.

The problem with this is and firmware related approaches is
not having the complete set of boot devices like we all know :)

Regards,

Tony

      parent reply	other threads:[~2015-05-05 15:59 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150505155905.GE21061@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=t-kristo@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.