soc: bcm: bcm2835-power: Add support for BCM2711's RPiVid ASB
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 25 Jun 2022 11:36:18 +0000 (13:36 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Jul 2022 10:59:43 +0000 (11:59 +0100)
commita7120238c2086d95172abb8507c8819e11e195f1
treec5720e13f5375ef5748ee4fcd572291df7579273
parenta6a1747a5ca90051e49f8a394dd0464cef8d755d
soc: bcm: bcm2835-power: Add support for BCM2711's RPiVid ASB

In BCM2711 the new RPiVid ASB took over V3D. The old ASB is still present
with the ISP and H264 bits, and V3D is in the same place in the new ASB
as the old one.

Use the fact that 'pm->rpivid_asb' is populated as a hint that we're on
BCM2711.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220625113619.15944-11-stefan.wahren@i2se.com
drivers/soc/bcm/bcm2835-power.c