Re: [PATCH V2 0/2] Broadcom's PMB (Power Management Bus) support

From: Florian Fainelli
Date: Tue Jan 12 2021 - 23:47:36 EST




On 12/14/2020 10:07 AM, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@xxxxxxxxxx>
>
> PMB is a hardware block used for powering SoC devices like PCIe, USB,
> SATA. Initially I planned to treat it as a reset controller and Philipp
> pointed out in review that PMB driver should use a power subsystem.
>
> This is my refactored support.
>
> ***
>
> Please note one difference when compared to the initial reset attempt.
>
> As I store info about SoC devices in the driver now, I had to put
> support for multiple buses there. That's required to avoid things like:
>
> compatible = "brcm,bcm4908-pmb-no-1";
> compatible = "brcm,bcm4908-pmb-no-2";
>
> So now a single "reg" covers bigger buses (e.g. 0x40) in size, see:
>
> reg = <0x802800e0 0x40>;
>
> Other SoCs my use something like:
>
> reg = <0x802800e0 0x20>;
> reg = <0x802800e0 0x60>;
>
> ***
>
> AFAIU this should go through Florian's tree. I based in on top of the
> soc-arm64/next.
>
> V2: Use drivers/soc/bcm/bcm63xx/ and add Kconfig help message

Series applied to drivers/next, thanks!
--
Florian