]> Gentwo Git Trees - linux/.git/commit
pmdomain: bcm: bcm2835-power: Prepare to support BCM2712
authorStanimir Varbanov <svarbanov@suse.de>
Fri, 31 Oct 2025 18:33:06 +0000 (20:33 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 19 Nov 2025 17:06:50 +0000 (18:06 +0100)
commitd4aa5960025ab0946c96be050586cdd2346c6471
tree4d94b6c7a646127ad391bdb8d136aa2831c26620
parentb0671a5fd3201efc5dd38254f1917cbbd805936c
pmdomain: bcm: bcm2835-power: Prepare to support BCM2712

BCM2712 has a PM block but lacks asb and rpivid_asb register
spaces. To avoid unwanted results add a check for asb existence
during probe and also add a new register offset for bcm2712 to
control grafx_v3d power domain. The decision to use the new
register is implicit - if asb register base is null then the
driver is probed for bcm2712 (the other supported SoCs have
asb register space).

Signed-off-by: Stanimir Varbanov <svarbanov@suse.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/bcm/bcm2835-power.c