arm-trusted-firmware/plat/allwinner
Andre Przywara 658b3154d5 fix(allwinner): check RSB availability in DT on H6
At the moment we access the RSB bus on all Allwinner H6 boards
unconditionally, even though some boards do not have any PMIC at all,
while others have some I2C devices connected to the same pins.
The latter case is just fragile, but the first case leads to a hang on
at least one board, as reported by Jernej.

Scan the devicetree, to check for the availability of the RSB bus node.
Proceed only if the RSB DT node is actually enabled.

Change-Id: Iea7dcfe3e085e173334d098ec4ddcb6c4b085771
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reported-by: Jernej Skrabec <jernej.skrabec@gmail.com>
2023-02-03 13:31:28 +00:00
..
common feat(allwinner): add SMCCC SOCID support 2022-05-04 02:30:08 +02:00
sun50i_a64 feat(allwinner): provide CPU idle states to the rich OS 2022-04-26 17:52:43 +02:00
sun50i_h6 fix(allwinner): check RSB availability in DT on H6 2023-02-03 13:31:28 +00:00
sun50i_h616 feat(allwinner): provide CPU idle states to the rich OS 2022-04-26 17:52:43 +02:00
sun50i_r329 feat(allwinner): provide CPU idle states to the rich OS 2022-04-26 17:52:43 +02:00