[RFC linus/master 0/4] rpi: support regulator and usbphy

Stephen Warren swarren at wwwdotorg.org
Sat Oct 24 20:40:52 PDT 2015


On 10/24/2015 06:20 AM, Alexander Aring wrote:
> Hi,
> 
> this patch series supports regulator and a "dummy?" usb phy for the raspberry
> pi. My use-case is to have a mainline solution for power the usb without
> booting via u-boot at first. This patch series should support this use-case.

You should make sure to run ./scripts/get_maintainer.pl on all these
patches and send the emails to the correct lists and maintainers. None
of the relevant maintainers or lists were CC'd on any of these emails,
so if any of them notice that you sent these emails, it will be by chance.

> I tested it with the bootloader "barebox" [0].
> 
> There was already some solution for doing this via PM domains directly inside
> the firmware driver of raspberrypi. This patches are still not mainline and
> there was some issues why not.
>
> I hope this patch series by doing it via a regulator driver (which can also
> used for other driver to power them) and adding a usb phy (which is used by
> the dwc2 driver to power the usb) is a more acceptable solution or I did it
> even more complex than it is.

Nevertheless, I believe the HW feature you're trying to enable is power
domains. Regulators are generally for off-chip power sources or control.
I don't think using regulators instead of power domains is appropriate.
I don't recall the issue that prevented the previous power domains
patches from being accepted, but your best bet is to pick up those
patches, fix the issue, and resend them. I'd suggest co-ordinating with
their author in case he/she happens to be working on them.

Note that the email subject should start with "[RFC PATCH]"; it's
assumed that your patches should be based on Linus's kernel (or some
maintainer branch thereof).



More information about the linux-rpi-kernel mailing list