CHROMIUM: mfd: init/link earlier
authorVincent Palatin <vpalatin@chromium.org>
Tue, 5 Mar 2013 01:47:35 +0000 (17:47 -0800)
committerChromeBot <chrome-bot@google.com>
Tue, 5 Mar 2013 19:44:41 +0000 (11:44 -0800)
Move multi function devices earlier in the link sequence, in parity with
regulators.
The eDP bridge loaded by the DRM driver needs to be able to control the
screen regulators.

The regulators linking was moved earlier to have them available for
other subsystems :
https://lkml.org/lkml/2008/12/2/10

Now a lot of regulators are instantiated from MFD, so we need to move
the MFD to keep this benefit.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:18122
TEST=boot on Spring and see the traces from the virtual TPS65090
regulators earlier than the display port initialization.

Change-Id: I62223ea9fa79651a787754d45e05dd26edb7a029
Reviewed-on: https://gerrit.chromium.org/gerrit/44598
Reviewed-by: Todd Broch <tbroch@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
drivers/Makefile

index 95952c8..f2a9688 100644 (file)
@@ -27,7 +27,7 @@ obj-$(CONFIG_VIRTIO)          += virtio/
 obj-$(CONFIG_XEN)              += xen/
 
 # regulators early, since some subsystems rely on them to initialize
-obj-$(CONFIG_REGULATOR)                += regulator/
+obj-$(CONFIG_REGULATOR)                += regulator/ mfd/
 
 # tty/ comes before char/ so that the VT console is the boot-time
 # default.
@@ -44,7 +44,7 @@ obj-$(CONFIG_FB_I810)           += video/i810/
 obj-$(CONFIG_FB_INTEL)          += video/intelfb/
 
 obj-$(CONFIG_PARPORT)          += parport/
-obj-y                          += base/ block/ misc/ mfd/ nfc/
+obj-y                          += base/ block/ misc/ nfc/
 obj-$(CONFIG_NUBUS)            += nubus/
 obj-y                          += macintosh/
 obj-$(CONFIG_IDE)              += ide/