1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-19 17:13:58 +01:00
Files
u-boot-megous/drivers/clk
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
..
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2021-01-30 14:25:41 -07:00
2024-01-29 22:35:02 -05:00
2022-01-18 12:48:17 -05:00
2024-01-16 12:26:24 +00:00
2024-01-19 14:38:59 +01: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
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2024-01-16 12:26:23 +00:00
2024-01-16 12:26:23 +00:00