From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 2/8] mfd: axp20x: Add a cell for the usb power_supply part of the axp20x PMICs Date: Sat, 13 Jun 2015 15:50:55 +0200 Message-ID: <20150613135055.GQ19653@lukather> References: <1433885881-19809-1-git-send-email-hdegoede@redhat.com> <1433885881-19809-3-git-send-email-hdegoede@redhat.com> <5577EDD9.8020900@redhat.com> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="o/5eNASeIIpuMggS" Return-path: Content-Disposition: inline In-Reply-To: <5577EDD9.8020900-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Hans de Goede Cc: wens-jdAy2FN1RRM@public.gmane.org, Lee Jones , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Kishon Vijay Abraham I , Felipe Balbi , Bruno =?iso-8859-1?Q?Pr=E9mont?= , linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel , devicetree , linux-sunxi List-Id: devicetree@vger.kernel.org --o/5eNASeIIpuMggS Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Wed, Jun 10, 2015 at 09:57:13AM +0200, Hans de Goede wrote: > >>@@ -368,6 +392,12 @@ static struct mfd_cell axp20x_cells[] = { > >> .resources = axp20x_pek_resources, > >> }, { > >> .name = "axp20x-regulator", > >>+ }, { > >>+ .name = "axp20x-usb-power-supply", > > > >Could we use either "vbus-power-supply" to match the AXP datasheets, > >or "otg-power-supply" which is slightly more obvious to board owners? > > I do not like the vbus name, since it does not indicate which bus > it is, OTOH you are right that is what it is called in the datasheet. > > As for using otg, I think that usb is better then. > > All in all I believe that the current usb name is best, but if others > disagree I'm open to renaming this. > > So anyone else have an opinion on what would be a good name for the > cell and the compatible ? I usually prefer to use the name mentionned in the datasheet, but if that doesn't make sense, feel free to use an alternative like this one. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --o/5eNASeIIpuMggS--