[PATCH 03/10] ata: at91: use syscon to configure the smc

Alexandre Belloni alexandre.belloni at free-electrons.com
Mon Mar 23 09:38:57 PDT 2015


On 23/03/2015 at 11:11:35 +0100, Nicolas Ferre wrote :
> Le 16/03/2015 23:44, Alexandre Belloni a écrit :
> > 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.
> 
> Alexandre, just for the record, can you describe the DT node that will
> match this?
> Is it one that will be added to
> Documentation/devicetree/bindings/mfd/atmel-smc.txt?
> 

I believe it should be documented when the full binding will be defined.
This binding will include a mandatory property:
 atmel,smc: phandle to the smc

and will look like:
 atmel,smc = <&smc>;


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



More information about the linux-arm-kernel mailing list