[PATCH 03/10] ata: at91: use syscon to configure the smc
From: Alexandre Belloni <hidden>
Date: 2015-03-23 16:39:05
Also in:
linux-ide, lkml
From: Alexandre Belloni <hidden>
Date: 2015-03-23 16:39:05
Also in:
linux-ide, lkml
On 23/03/2015 at 11:11:35 +0100, Nicolas Ferre wrote :
Le 16/03/2015 23:44, Alexandre Belloni a ?crit :quoted
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