Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752939AbbLJO1j (ORCPT ); Thu, 10 Dec 2015 09:27:39 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:41190 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752611AbbLJO1h (ORCPT ); Thu, 10 Dec 2015 09:27:37 -0500 Date: Thu, 10 Dec 2015 14:27:12 +0000 From: Mark Brown To: Sebastian Reichel Cc: Tim Bird , Rob Herring , "pawel.moll@arm.com" , "mark.rutland@arm.com" , "ijc+devicetree@hellion.org.uk" , "dbaryshkov@gmail.com" , "dwmw2@infradead.org" , "agross@codeaurora.org" , =?iso-8859-1?Q?Andersson=2C_Bj=F6rn?= , "devicetree@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "tbird20d@gmail.com" , "Cavin, Courtney" Message-ID: <20151210142712.GM5727@sirena.org.uk> References: <1449621618-11900-1-git-send-email-tim.bird@sonymobile.com> <20151209041153.GA29549@rob-hp-laptop> <566824AD.4080003@sonymobile.com> <566867F1.7000906@sonymobile.com> <20151209222044.GB32712@earth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4mwMARuvUPcmqDvg" Content-Disposition: inline In-Reply-To: <20151209222044.GB32712@earth> X-Cookie: revolutionary, adj.: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v2 1/3] dt-binding: power: Add otg regulator binding 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: 1743 Lines: 44 --4mwMARuvUPcmqDvg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 09, 2015 at 11:20:45PM +0100, Sebastian Reichel wrote: > On Wed, Dec 09, 2015 at 09:42:09AM -0800, Tim Bird wrote: > > There are other switches in the charger block that are not > > exposed yet. This one handles the the OTG (vbus) charge pathway. > > Others handle other charge pathways (some of which are used on phones > > and some are not - they're used, e.g., on the dragonboard). I'd > > rather not give it a generic name, because eventually the driver > > should expose those other switches as something as well. > otg_regulator: regulator@0 { } > other_regulator: regulator@1 { } No, if this is a device with multiple regulators we have a standard way of exposing that - have a regulators subnode with a collection of named regulator subnodes in that. There's support for parsing this in the framework. --4mwMARuvUPcmqDvg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWaYu/AAoJECTWi3JdVIfQcJIH/3iyiwMi/QHF0jc342SF1UI0 1g+ug8yi76eysy7VGgmsHNnmi1xT7DnK3FhWkCTmZiZ9r4IE24/94KrUv8ksd/E7 e/fl78RGKOmfeCtwnbKV8XAJpW8UAQNB3byMK4dUjJhGixQ5BSArsuYKPSVOE+/1 07zO8hQ95qeIe8tYXAiY9KBvPn+xjqRuFfqESJrH6gNGkDFB+toM6e6RuSeIoBBp AUvE/nGcy6Sg30Kvb6pGNy2sgWhPuo+uTlrIitgIBTqZyA1P/IZ6FTjoWjai/3aA wU0kzoF6gc7jYpxvX8UfXnQj8cArLc25k4OWqSLqjVKeZk/A01QA6Yx/F2BEnQc= =VgqW -----END PGP SIGNATURE----- --4mwMARuvUPcmqDvg-- -- 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/