1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-19 11:39:52 +01:00
Files
u-boot-megous/drivers
Paul Barker aecd69879d clk: renesas: Confirm all clock & reset changes on RZ/G2L
When enabling/disabling a clock or reset signal, confirm that the change
has completed before returning from the function. A somewhat arbitrary
100ms timeout is defined to ensure that the system doesn't lock up in
the case of an error.

Since we need to dynamically determine if we're waiting for a 0 bit or a
1 bit, it's easier to use wait_for_bit_32() than readl_poll_timeout().

This change is needed for reliable initialization of the I2C driver
which is added in a following patch.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2024-02-28 18:42:27 +01:00
..
2023-11-20 09:19:50 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-05-02 14:23:58 -04:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2023-10-11 10:35:24 -04:00
2024-01-18 12:18:48 -05:00
2023-12-13 11:35:16 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2023-11-07 14:50:51 -05:00
2024-01-29 22:35:02 -05:00
2023-11-20 09:19:50 -05:00
2024-01-16 12:26:54 +00:00
2024-01-29 22:35:02 -05:00
2024-02-19 20:08:51 +01:00
2023-11-20 09:19:50 -05:00