Re: [PATCH 13/18] power: supply: bq24190_charger: Export 5V boost converter as regulator

From: Tony Lindgren
Date: Tue Aug 08 2017 - 00:15:51 EST


* Hans de Goede <hdegoede@xxxxxxxxxx> [170806 05:37]:
> 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.

Nice, this makes VBUS easy to use for USB PHY drivers :)

Tony