Skip to content

Commit 44fb5d7

Browse files
pelwelllag-linaro
authored andcommitted
mfd: bcm2835-pm: Add BCM2712 PM device support
The BCM2712 SoC includes a power management block that serves as the power domain for the V3D graphics block. Unlike other PM blocks in the BCM2835 family, it does not feature an ASB register space. Conditionally register the PM device depending on the SoC variant. Signed-off-by: Phil Elwell <phil@raspberrypi.com> Co-developed-by: Stanimir Varbanov <svarbanov@suse.de> Signed-off-by: Stanimir Varbanov <svarbanov@suse.de> Signed-off-by: Andrea della Porta <andrea.porta@suse.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://patch.msgid.link/c0b5793868f138bf5c928a12b2763d3e183e2e59.1772839224.git.andrea.porta@suse.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent fe0e422 commit 44fb5d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mfd/bcm2835-pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static int bcm2835_pm_probe(struct platform_device *pdev)
9898
* bcm2835-pm binding as the key for whether we can reference
9999
* the full PM register range and support power domains.
100100
*/
101-
if (pm->asb)
101+
if (pm->asb || pm->soc == BCM2835_PM_SOC_BCM2712)
102102
return devm_mfd_add_devices(dev, -1, bcm2835_power_devs,
103103
ARRAY_SIZE(bcm2835_power_devs),
104104
NULL, 0, NULL);

0 commit comments

Comments
 (0)