[PATCH v2 1/9] ata: at91: use syscon to configure the smc

Alexandre Belloni alexandre.belloni at free-electrons.com
Wed Apr 8 04:13:35 PDT 2015


Hi,

On 08/04/2015 at 13:04:19 +0200, Bartlomiej Zolnierkiewicz wrote :
> On Monday, March 23, 2015 08:29:07 PM Alexandre Belloni wrote:
> > Use syscon/regmap to configure the smc. This allows to avoid using
> > at91sam9_smc.h and to compile the driver in a multiplatform configuration.
> > 
> > The driver will still not probe until the proper DT bindings are added. That
> > binding will include an atmel,smc property that is a phandle to the SMC the CF
> > controller is connected to.
> 
> If the driver is currently working fine in !ARCH_MULTIPLATFORM
> configuration then this patch will make it non-functional until
> atmel,smc property is added to DT.  To prevent this and preserve
> bisectability the patchset should first add atmel,smc property
> and then convert pata_at91 driver to use it.
> 

Starting with 4.1, it will not be possible to use the driver anyway as
all the platforms using it have switched to multiplatform. This patch
makes it compilable again.

Anyway, it seems that there is little interest in that driver and nobody
I contacted has access to a board which can be used to test this.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list