[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3917663.1nRrfqKY9D@wuerfel>
Date: Thu, 21 Jul 2016 20:34:12 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Scott Wood <oss@...error.net>
Cc: Michael Ellerman <mpe@...erman.id.au>, linux-mmc@...r.kernel.org,
devicetree@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, Yangbo Lu <yangbo.lu@....com>
Subject: Re: [PATCH v11 4/5] powerpc/fsl: move mpc85xx.h to include/linux/fsl
On Thursday, July 21, 2016 11:45:26 AM CEST Scott Wood wrote:
>
> For the MMC issue I suggest using ifdef CONFIG_PPC and mfspr(SPRN_SVR) like
> the clock driver does[1] and we can revisit the issue if/when we need to do
> something similar on an ARM chip.
That sounds ok to me. having an mfspr check isn't nice but does the
job to work around existing bindings. For future chips, we can hopefully
find a way to identify most quirks early enough that the DT binding
can describe them using distinct compatible strings or other properties,
if necessary with the help of the boot loader.
Some other folks on MIPS were interested in having the soc_device
matching infrastructure and contacted me off-list, but they can of
course take the patch I sent and work from that.
Arnd
Powered by blists - more mailing lists