[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1412845410.6809.3.camel@pengutronix.de>
Date: Thu, 09 Oct 2014 11:03:30 +0200
From: Philipp Zabel <p.zabel@...gutronix.de>
To: dinguyen@...nsource.altera.com
Cc: dinh.linux@...il.com, s.trumtrar@...gutronix.de,
grant.likely@...aro.org, robh+dt@...nel.org,
atull@...nsource.altera.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] reset: socfpga: use arch_initcall for early
initialization
Am Mittwoch, den 08.10.2014, 21:44 -0500 schrieb
dinguyen@...nsource.altera.com:
> From: Dinh Nguyen <dinguyen@...nsource.altera.com>
>
> There are certain drivers that are required to get loaded very early using
> arch_initcall. An example of such a driver is the SOCFPGA's FPGA bridge driver.
> This driver has to get loaded early because it needs to enable FPGA components
> that are connected to the bridge.
>
> This FPGA bridge driver will using the reset controller API to toggle it's
> reset bits, thus, it needs the reset driver to be loaded as early as possible
> in order for it to get used properly.
Without knowing the details, this sounds like the wrong approach. Can't
the bridge driver return -EPROBE_DEFER until the reset controller is
available?
regards
Philipp
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists