From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/9] ata: at91: use syscon to configure the smc
Date: Wed, 8 Apr 2015 14:06:15 +0200 [thread overview]
Message-ID: <552519B7.2090206@atmel.com> (raw)
In-Reply-To: <3156869.zFaIKVVpHK@amdc1032>
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.
Bye,
--
Nicolas Ferre
next prev parent reply other threads:[~2015-04-08 12:06 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 [this message]
2015-04-08 13:08 ` Bartlomiej Zolnierkiewicz
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=552519B7.2090206@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=linux-arm-kernel@lists.infradead.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).