From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752406AbcGUSec (ORCPT ); Thu, 21 Jul 2016 14:34:32 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:60649 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752231AbcGUSe2 (ORCPT ); Thu, 21 Jul 2016 14:34:28 -0400 From: Arnd Bergmann To: Scott Wood Cc: Michael Ellerman , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Yangbo Lu Subject: Re: [PATCH v11 4/5] powerpc/fsl: move mpc85xx.h to include/linux/fsl Date: Thu, 21 Jul 2016 20:34:12 +0200 Message-ID: <3917663.1nRrfqKY9D@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-28-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <1469119526.25630.42.camel@buserror.net> References: <1468723822-30457-1-git-send-email-oss@buserror.net> <146909676646.16700.8383344640490662952@concordia> <1469119526.25630.42.camel@buserror.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:o3M8RpVfvyWcWHpuHxIh1dG8Vy5xHp0LXl3B/jefWBmAOldZCls t3ESbssAkOIXxWnoSIT9Yf+o9pcahaP2z3e64u/usUBqJ8ieUAdazeOoNoegt4FXxkjuKpc iLLhI3N27NDsVN6VtMutov6Qf/cJcYuatubeJwbif2H2NP1KMb+R4WgqH/4roT1f35vsXbr dm6d0qp9izUMF50JEcEiA== X-UI-Out-Filterresults: notjunk:1;V01:K0:C232BkND6DE=:YV/m85nGyKcZw0JQhWF5Kf WJHkl1lrSdoxLAopdzH/oIGvdvH6Jmv0vzYFgGz7DXNDjrjUMi7OeaN0p3PQapJc+TkfK2QKS QXzJE6Bmn6Fsfo29WR7czCzXhGItyMKzs1fYOCaq4YXRDGnRQlk/8e1zqZ14fFQKWh2ujGfc4 K5zOKDqFo5IhEY+ujofoWLdY1uMFvvOqS3mRTrYsqHoDxrR7b9Q34AtR9BYMfS9MPX8Jipyjt pSRAMOnGMeEkYOl/gqdlc4GKNMHtFvh2whihbj5fLGAAIWv+JN9zzFvRdvYJXRQk1+PD9oQkT 1f45Qh2X5SN7BBryxKt2gxZo/EwkTs6I8RWbSW7h2qgV6bGwq9LxZPkoMDkZn95eVJy3TqVHj vCCv/wZeC21/6HClHO1Zrkv4guRmyvh1RVV20JA9Q/UOHvkcH9gxcplEAZVPP+mE4z/pqpsV2 5Q0nIpB3D72+MtVKHDvKOJObfsp7Xp3JTMcpwYi2wYiksoYkmZt8vg0nlErDGQpsS7KWyl4wz 8azfkalE/SK+SDFJ2DlQH+m5L1zlmIJTDF/xWklGcF1mav9f72FOtx5u6OoSdBkvaSpKySttO 3ZgquX2FxBEL+/8exd2As0aTWHwzbvWmH76ojzbQWQOnBAByy5VIOYm8hkuDnabcJ24xQNb1b PfwPScUeq+MluFjHEHMYuT3be8KgS6J6F571ps3AyipF3F3fe19jJKvn5UJydeQlhrRai4XsS q6NwZk8WqUO029a1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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