Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752277AbbDBW5V (ORCPT ); Thu, 2 Apr 2015 18:57:21 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41165 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbbDBW5T (ORCPT ); Thu, 2 Apr 2015 18:57:19 -0400 Message-ID: <551DC94C.3060001@codeaurora.org> Date: Thu, 02 Apr 2015 15:57:16 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Mark Brown 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 Subject: Re: [PATCH v2 0/5] Refactor Qualcomm RPM regulator to single platform_device References: <1427928946-31291-1-git-send-email-bjorn.andersson@sonymobile.com> <551DBC05.2090301@codeaurora.org> <20150402222630.GV6023@sirena.org.uk> In-Reply-To: <20150402222630.GV6023@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1291 Lines: 33 On 04/02/15 15:26, Mark Brown wrote: > On Thu, Apr 02, 2015 at 03:00:37PM -0700, Stephen Boyd wrote: > >> What happens with debugfs when you have multiple pmics with the same >> named regulator? I thought that in this case we needed to make the names >> unique somehow or we would end up with the same directory for two >> different regulators. > Guenther sent a patch fixing that a while back. This one? commit a9eaa8130707d4013fb109b80323489c0d0111ac Author: Guenter Roeck AuthorDate: Fri Oct 17 08:17:03 2014 -0700 Commit: Mark Brown CommitDate: Fri Mar 27 16:14:18 2015 -0700 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. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- 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/