[PATCH v11 4/5] powerpc/fsl: move mpc85xx.h to include/linux/fsl
arnd at arndb.de
Fri Jul 22 04:34:12 AEST 2016
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 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.
More information about the Linuxppc-dev