From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
To: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>,
linux-arm-kernel@lists.infradead.org,
Boris Brezillon <boris.brezillon@free-electrons.com>,
linux-pcmcia@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-ide@vger.kernel.org, Tejun Heo <tj@kernel.org>,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Subject: Re: [PATCH v2 1/9] ata: at91: use syscon to configure the smc
Date: Wed, 08 Apr 2015 15:08:55 +0200 [thread overview]
Message-ID: <1581911.ATyU5YCajb@amdc1032> (raw)
In-Reply-To: <552519B7.2090206@atmel.com>
Hi,
On Wednesday, April 08, 2015 02:06:15 PM Nicolas Ferre wrote:
> Le 08/04/2015 14:00, Bartlomiej Zolnierkiewicz a écrit :
> > On Wednesday, April 08, 2015 01:13:35 PM Alexandre Belloni wrote:
> >> 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.
> >
> > Hmm. It seems that it was your commit which did the switch without
> > converting all at91 specific code to be multiplatform ready first:
> >
> > From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> > Date: Fri, 13 Mar 2015 22:57:18 +0100
> > Subject: ARM: at91: switch to multiplatform
> >
> > Switch AT91 to multiplatform as all SoCs are properly handled.
> >
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> > Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> >
> > ?
> >
> >> 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.
> >
> > If there are no users then probably the driver can be removed but this
> > something that platform Maintainers should decide on.
>
> This is why there are loose constrains on this driver and that we
> decided to move on.
>
> So I think that modifying it and introducing the DT property afterwards
> can be done.
OK, thank you for clarifying this.
For pata_at91 changes:
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
next prev parent reply other threads:[~2015-04-08 13:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 19:29 [PATCH v2 0/9] ARM: at91 cleanups for 4.1 #2 Alexandre Belloni
2015-03-23 19:29 ` [PATCH v2 1/9] ata: at91: use syscon to configure the smc Alexandre Belloni
2015-04-08 11:04 ` Bartlomiej Zolnierkiewicz
2015-04-08 11:13 ` Alexandre Belloni
2015-04-08 12:00 ` Bartlomiej Zolnierkiewicz
2015-04-08 12:06 ` Nicolas Ferre
2015-04-08 13:08 ` Bartlomiej Zolnierkiewicz [this message]
2015-03-23 19:29 ` [PATCH v2 2/9] ARM: at91: drop sam9_smc.c Alexandre Belloni
2015-03-23 19:29 ` [PATCH v2 3/9] mfd: syscon: Add Atmel MC (Memory Controller) registers definition Alexandre Belloni
2015-04-28 12:30 ` Lee Jones
2015-04-28 12:55 ` Alexandre Belloni
2015-04-28 17:59 ` Lee Jones
2015-03-23 19:29 ` [PATCH v2 4/9] ARM: at91: declare the at91rm9200 memory controller as a syscon Alexandre Belloni
2015-03-23 19:29 ` [PATCH v2 5/9] pcmcia: at91_cf: Use syscon to configure the MC/smc Alexandre Belloni
2015-03-23 19:29 ` [PATCH v2 6/9] ARM: at91/pm: use the atmel-mc syscon defines Alexandre Belloni
2015-03-23 19:29 ` [PATCH v2 7/9] ARM: at91: remove mach/at91_ramc.h and mach/at91rm9200_mc.h Alexandre Belloni
2015-03-23 19:29 ` [PATCH v2 8/9] ARM: at91: remove at91rm9200_sdramc.h Alexandre Belloni
2015-03-23 19:29 ` [PATCH v2 9/9] ARM: at91: remove useless Makefile.boot Alexandre Belloni
2015-05-19 14:46 ` [PATCH v2 0/9] ARM: at91 cleanups for 4.1 #2 Nicolas Ferre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1581911.ATyU5YCajb@amdc1032 \
--to=b.zolnierkie@samsung.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=boris.brezillon@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pcmcia@lists.infradead.org \
--cc=nicolas.ferre@atmel.com \
--cc=plagnioj@jcrosoft.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).