Re: [PATCH 1/2] mfd: bcm2835-pm: Introduce SoC-specific type identifier

From: Florian Fainelli

Date: Fri Mar 06 2026 - 18:44:46 EST


On 3/6/26 15:41, Andrea della Porta wrote:
From: Phil Elwell <phil@xxxxxxxxxxxxxxx>

Power management blocks across the BCM2835 family share a common
base but require variant-specific handling. For instance, the
BCM2712 lacks ASB register space, yet it manages the power domain
for the V3D graphics block.

Add a hardware type identifier to the driver's private data. This
allows the driver to distinguish between SoC models and implement
custom quirks or features as needed.

Signed-off-by: Phil Elwell <phil@xxxxxxxxxxxxxxx>
Co-developed-by: Stanimir Varbanov <svarbanov@xxxxxxx>
Signed-off-by: Stanimir Varbanov <svarbanov@xxxxxxx>
Signed-off-by: Andrea della Porta <andrea.porta@xxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian