[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqKOwshLWyXr3moMXo8GeDwHgoNRU6gWm3D9WBivoqskEg@mail.gmail.com>
Date: Sat, 30 Apr 2016 08:23:17 -0500
From: Rob Herring <robh+dt@...nel.org>
To: Doug Anderson <dianders@...omium.org>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
Ulf Hansson <ulf.hansson@...aro.org>,
Jaehoon Chung <jh80.chung@...sung.com>,
Shawn Lin <shawn.lin@...k-chips.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Stefan Agner <stefan@...er.ch>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
Brian Norris <computersforpeace@...il.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Heiko Stuebner <heiko@...ech.de>,
Jisheng Zhang <jszhang@...vell.com>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
"devicetree-spec@...r.kernel.org" <devicetree-spec@...r.kernel.org>,
Mark Rutland <mark.rutland@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Venu Byravarasu <vbyravarasu@...dia.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Jon Hunter <jonathanh@...dia.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Pawel Moll <pawel.moll@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Grant Grundler <grundler@...omium.org>,
Kumar Gala <galak@...eaurora.org>,
"Luca Porzio (lporzio)" <lporzio@...ron.com>,
Chaotian Jing <chaotian.jing@...iatek.com>,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Sudeep Holla <sudeep.holla@....com>,
zhonghui.fu@...ux.intel.com, kirill.shutemov@...ux.intel.com
Subject: Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering
w/ device tree
On Fri, Apr 29, 2016 at 6:01 PM, Doug Anderson <dianders@...omium.org> wrote:
> Hi,
>
> On Fri, Apr 29, 2016 at 3:44 PM, Russell King - ARM Linux
> <linux@....linux.org.uk> wrote:
>> My reply would be... why should MMC have special handling that no
>> other subsystem has?
>
> No other subsystem?
>
> * i2c allows numbering devices by alias
> * rtc allows numbering devices by alias.
> * serial allows numbering devices by alias.
> * spi allows numbering devices by alias.
> * watchdog allows numbering devices by alias.
>
> ...at least that's my impression doing a grep for of_alias_get_id(),
> which I suggested earlier in this thread but apparently wasn't done.
IMO, we should remove most or all of these not add more. We shoud move
to identifying devices by other OS independent means. Peter already
pointed out why serial is a problem.
Rob
Powered by blists - more mailing lists