]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: bcm2835-pm: Introduce SoC-specific type identifier
authorPhil Elwell <phil@raspberrypi.com>
Fri, 6 Mar 2026 23:41:21 +0000 (00:41 +0100)
committerLee Jones <lee@kernel.org>
Wed, 25 Mar 2026 12:45:45 +0000 (12:45 +0000)
commitfe0e422cbcf4b7ee35cacc463631092b310a6f6a
treeb4c47c606321d4a4c90e9173a1b8cbf93dc6e9f0
parentc7be85a3cd5c918b0fe8977b3f2ac410eb212a0f
mfd: bcm2835-pm: Introduce SoC-specific type identifier

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@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/c4bb218654e91f312a01b419d3d408e5131f7673.1772839224.git.andrea.porta@suse.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/bcm2835-pm.c
include/linux/mfd/bcm2835-pm.h