Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752869AbbDFQwT (ORCPT ); Mon, 6 Apr 2015 12:52:19 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:52231 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbbDFQwQ (ORCPT ); Mon, 6 Apr 2015 12:52:16 -0400 Date: Mon, 6 Apr 2015 17:51:54 +0100 From: Mark Brown To: Stephen Boyd Cc: Bjorn Andersson , Andy Gross , Ian Campbell , Kumar Gala , Lee Jones , Liam Girdwood , Mark Rutland , Pawel Moll , Rob Herring , Srinivas Kandagatla , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20150406165154.GP6023@sirena.org.uk> References: <1427928946-31291-1-git-send-email-bjorn.andersson@sonymobile.com> <551DBC05.2090301@codeaurora.org> <20150402222630.GV6023@sirena.org.uk> <551DC94C.3060001@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rKOZBEg9ux5nbisz" Content-Disposition: inline In-Reply-To: <551DC94C.3060001@codeaurora.org> X-Cookie: I've been there. 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 v2 0/5] Refactor Qualcomm RPM regulator 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 Content-Length: 1781 Lines: 49 --rKOZBEg9ux5nbisz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 02, 2015 at 03:57:16PM -0700, Stephen Boyd wrote: > On 04/02/15 15:26, Mark Brown wrote: > > Guenther sent a patch fixing that a while back. > This one? Yes. > regulator: Ensure unique regulator debugfs directory names > Ok. Seems to be only in next. I'm not sure it will work though because > in this case the parent device is the same for both regulators on > different PMICs that the RPM is controlling. I could be wrong though > because I haven't tested it. I'd say that if the driver is doing this then the driver is buggy - the user should be able to distinguish between two regulators appearing for the same device. Either the RPM should create dummy devices for the two PMICs or something should insert the PMIC name into the regulator name somewhere along the line (perhaps in the static data). --rKOZBEg9ux5nbisz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVIrmpAAoJECTWi3JdVIfQ+9gH/042qrB334HjHkiGibwMsh4J djcpk3ZmsrhPuEXswXRHNjU4EQsaIsYfmqU88Gv8IpjCLiMErhUVe9OViI+kLi9d TfKln46+iw8s9LAvn3Vh3LKzoiogUHK0gkVgo3ERh/SrDNwiQoAmj+EfZa/vvGxT Ga9CkdNofAYrQlo3dBLW8wC/wPVDyrU7G1xNel2aVmQC3p8Qy3VklmoVpWZkUbcF oywKJoS3Sfl0pKJ9sAXZ8W5WTy+YdY7a5poyPt0ZHG9K+cRSsT6EWDu4/C0D3LC9 8b7o3Kz4zQ/PhuqT56K9vtvYKdVpUs0Lhh4dF4anAcMBZQ0C5YvEj2b2oy5zV0g= =/rbk -----END PGP SIGNATURE----- --rKOZBEg9ux5nbisz-- -- 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/