From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757642AbbCCXwg (ORCPT ); Tue, 3 Mar 2015 18:52:36 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:48587 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757098AbbCCXwe (ORCPT ); Tue, 3 Mar 2015 18:52:34 -0500 Date: Tue, 3 Mar 2015 23:52:09 +0000 From: Mark Brown To: Bjorn Andersson Cc: Stephen Boyd , Ian Campbell , Kumar Gala , Lee Jones , Liam Girdwood , Mark Rutland , Pawel Moll , Rob Herring , Andy Gross , Chanwoo Choi , Krzysztof Kozlowski , Srinivas Kandagatla , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" Message-ID: <20150303235209.GG21293@sirena.org.uk> References: <1425356740-26285-1-git-send-email-bjorn.andersson@sonymobile.com> <1425356740-26285-5-git-send-email-bjorn.andersson@sonymobile.com> <54F630FF.60109@codeaurora.org> <20150303223235.GK26334@sonymobile.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pTVG0ADt/DSJwUUQ" Content-Disposition: inline In-Reply-To: <20150303223235.GK26334@sonymobile.com> X-Cookie: My LESLIE GORE record is BROKEN ... User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 4/4] regulator: qcom: Rework to single platform device 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 --pTVG0ADt/DSJwUUQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 03, 2015 at 02:32:35PM -0800, Bjorn Andersson wrote: > On Tue 03 Mar 14:09 PST 2015, Stephen Boyd wrote: > > How does this work for the case where we may not want to add all the > > regulators that a PMIC supports. I'm mostly thinking about the case > > where we want to use the pm8xxx-regulator driver for a few regulators > > and so we omit them from the DT for the RPM regulators. > An empty or non-existing regulator of_node will still be registered, but > without REGULATOR_CHANGE_STATUS nor REGULATOR_CHANGE_VOLTAGE; so any > operation on this regulator will fail with an -EPERM. ...but of course we'd never try any operations on it anyway as there would be no consumers. --pTVG0ADt/DSJwUUQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU9kkoAAoJECTWi3JdVIfQ7wwH/1IRiUtLJlf0y5aK+8Y8w5Js pfmRRzeOxVXecMYUHfJpAthB7dOW8NPItcgsLyl/B61X0Pj59RXzYgdfbxJVpukL yU/d5uJEWR8MHSFOQ7UaKkzg7K83PAVPLgp75VFxFadPSfqmlqP9PldMIOZyoaF5 VWQMdcWlKEIv/8VZk+t0e08mts5fd7LXY2+ziKWGCsk/Jn86hk/A+s60BhECif9s bKLzt9JVs4Pv5BuWHIzjXLeokNtfxrx06ZB3hDOKyG0wPnFYb2inIVCoDsLRfrRG z8JeB/hMETBIoQ9S040Da/Vy5AgMfkvH3Q08fEJPFiCEcQXQbyTwkQUWxweOTGo= =WQjl -----END PGP SIGNATURE----- --pTVG0ADt/DSJwUUQ--