Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756197AbbBGI27 (ORCPT ); Sat, 7 Feb 2015 03:28:59 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:54324 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755956AbbBGI2z (ORCPT ); Sat, 7 Feb 2015 03:28:55 -0500 Date: Fri, 6 Feb 2015 14:52:26 +0100 From: Mark Brown To: Yingjoe Chen Cc: Sascha Hauer , eddie.huang@mediatek.com, Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Message-ID: <20150206135226.GA29018@finisterre.sirena.org.uk> References: <20150206101006.GK12209@pengutronix.de> <20150206115418.GV21293@sirena.org.uk> <1423227312.31210.286.camel@mtksdaap41> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <1423227312.31210.286.camel@mtksdaap41> X-Cookie: Oatmeal raisin. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 113.28.134.59 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: Recommendations for a new MFD device driver? X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1713 Lines: 44 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 06, 2015 at 08:55:12PM +0800, Yingjoe Chen wrote: > I think we should create a dtsi file, say mt6397.dtsi, the regulator > device nodes are already too much to duplicate into every board using > mt6397. Please bear in mind that the regulator bindings are all about what is being done to connect the PMIC to the rest of the system on a given board; this means that it is almost always a bad idea to have a generic include file for the PMIC since while many boards may be similar other boards may differ and it's potentially unsafe to try to handle things generally. =20 It can be a good idea to have a .dsti file for the common elements of a widely used reference design but that's a different thing. --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU1McVAAoJECTWi3JdVIfQLBsH/iqZY3znCWHZS4YfefpuUh+Q oGPtMIqPU+akPbKSEsc1N7/CSj44uEFFOdwHKQM9ncE6YDuENULhrKykKu9CXe4V aUO3mnBX02HiucgCF88r8ktGdLByGZCbEO2n83a77kycGVfb/2T0SMY2lej8Ks/F 3IGYkcjDqGylSk/mMTsLaxsA4ULuLUz5v/MInBP3BZX4EwU7Shu0YrOptlW9Zmrw cD/LMdPLFr0fWM79KopRXV9ZBeNA5JjxZEtLqEKRYqN1reHzdwM2Y3FTdjh1cJp3 3i7POs6BgyIlCU/5tuPf12c8AVdTsqP1iEhfG9fi+zGpkKQVhFYDtQSE+C48FqE= =Hv/S -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/