Re: [PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-31 Thread Sergio Prado
On Fri, Mar 31, 2017 at 01:11:59PM +0200, Ulf Hansson wrote: > On 31 March 2017 at 09:25, Arnd Bergmann wrote: > > On Sat, Mar 18, 2017 at 2:13 AM, Sergio Prado > > wrote: > > > >> > >> +static const struct of_device_id s3cmci_dt_match[] = { > >> + { > >> + .compatible = "sams

Re: [PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-31 Thread Ulf Hansson
On 31 March 2017 at 09:25, Arnd Bergmann wrote: > On Sat, Mar 18, 2017 at 2:13 AM, Sergio Prado > wrote: > >> >> +static const struct of_device_id s3cmci_dt_match[] = { >> + { >> + .compatible = "samsung,s3c2410-sdi", >> + .data = (void *)0, >> + }, >> +

Re: [PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-31 Thread Arnd Bergmann
On Sat, Mar 18, 2017 at 2:13 AM, Sergio Prado wrote: > > +static const struct of_device_id s3cmci_dt_match[] = { > + { > + .compatible = "samsung,s3c2410-sdi", > + .data = (void *)0, > + }, > + { > + .compatible = "samsung,s3c2412-sdi",

[PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-17 Thread Sergio Prado
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device tree. Signed-off-by: Sergio Prado --- drivers/mmc/host/s3cmci.c | 257 +++--- 1 file changed, 126 insertions(+), 131 deletions(-) diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc