Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752149AbdHHIkC (ORCPT ); Tue, 8 Aug 2017 04:40:02 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:35278 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbdHHIj7 (ORCPT ); Tue, 8 Aug 2017 04:39:59 -0400 MIME-Version: 1.0 In-Reply-To: <20170806123555.5124-14-hdegoede@redhat.com> References: <20170806123555.5124-1-hdegoede@redhat.com> <20170806123555.5124-14-hdegoede@redhat.com> From: Liam Breck Date: Tue, 8 Aug 2017 01:39:58 -0700 X-Google-Sender-Auth: hRcwEpvWjWVETJp3MXhfmHiYLgc Message-ID: Subject: Re: [PATCH 13/18] power: supply: bq24190_charger: Export 5V boost converter as regulator To: Hans de Goede Cc: Darren Hart , Andy Shevchenko , Wolfram Sang , Sebastian Reichel , Greg Kroah-Hartman , Guenter Roeck , Heikki Krogerus , platform-driver-x86@vger.kernel.org, linux-kernel , linux-i2c@vger.kernel.org, Tony Lindgren , linux-pm@vger.kernel.org, devel@driverdev.osuosl.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 614 Lines: 17 Hi Hans, On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: > Register the 5V boost converter as a regulator named > "regulator-bq24190-usb-vbus". Note the name includes "bq24190" because > the bq24190 family is also used on ACPI devices where there are no > device-tree phandles, so regulator_get will fallback to the name and thus > it must be unique on the system. What we're enabling here is 5V boost for otg host mode, not vbus generally, so maybe the name should indicate that... regulator-bq24190-usb-5volt regulator-bq24190-usb-host regulator-bq24190-usb-otg-5v Tony, thoughts?