linux/drivers/soc
Geert Uytterhoeven a00d47f764 soc: renesas: rmobile-sysc: Convert to readl_poll_timeout_atomic()
Use readl_poll_timeout_atomic() instead of open-coding the same
operation.

  1. rmobile_pd_power_down(): as typically less than 20 retries are
     needed, PSTR_RETRIES (100) µs is a suitable timeout value.

  2. __rmobile_pd_power_up(): the old method of first polling some
     cycles with a 1 µs delay, followed by more polling cycles without
     any delay didn't make much sense, as the latter was insignificant
     compared to the former.  Furthermore, typically no retries are
     needed.  Hence just retain the polling with delay.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/ae4bf03ab8fd5a557c683086958d6764babc0723.1685692810.git.geert+renesas@glider.be
2023-06-05 15:43:27 +02:00
..
actions
amlogic Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
apple modules-6.4-rc1 2023-04-27 16:36:55 -07:00
aspeed soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-08 09:52:59 +01:00
atmel ARM: at91: add support in soc driver for new SAMA7G54 SiPs 2023-01-09 13:58:02 +02:00
bcm soc: bcm: brcmstb: biuctrl: fix of_iomap leak 2023-04-03 13:37:24 -07:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove
fsl sound updates for 6.4-rc1 2023-04-27 10:58:37 -07:00
fujitsu soc: fujitsu: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
gemini
imx soc: imx: imx8m-blk-ctrl: reordering the fields 2023-03-27 09:52:41 +08:00
ixp4xx ARM: ixp4xx: Replace 0-length arrays with flexible arrays 2023-01-19 15:18:19 -08:00
lantiq
litex
loongson soc: loongson: add GUTS driver for loongson-2 platforms 2022-11-14 16:01:32 +01:00
mediatek Devicetree updates for v6.4, part 2: 2023-04-27 10:09:05 -07:00
microchip soc: microchip: mpfs: add a prefix to rx_callback() 2023-04-03 20:32:43 +01:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa pxa: Remove dev_err() after platform_get_irq() 2022-12-04 13:10:57 +01:00
qcom Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
renesas soc: renesas: rmobile-sysc: Convert to readl_poll_timeout_atomic() 2023-06-05 15:43:27 +02:00
rockchip soc: rockchip: power-domain: add power domain support for rk3588 2022-09-09 19:06:41 +02:00
samsung soc: s3c: remove pm-debug hack 2023-01-16 09:26:06 +01:00
sifive soc: sifive: ccache: Add StarFive JH7110 support 2022-12-26 22:50:15 +00:00
starfive soc: starfive: Add StarFive JH71XX pmu driver 2023-01-20 21:55:59 +00:00
sunxi kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules 2023-03-14 21:39:11 +01:00
tegra soc/tegra: cbb: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
ti soc: ti: smartreflex: Simplify getting the opam_sr pointer 2023-04-14 18:03:06 +02:00
ux500 ARM: ux500: do not directly dereference __iomem 2022-11-08 21:13:56 +01:00
versatile
xilinx firmware: xilinx: Remove kernel-doc marking in the code 2023-01-05 10:18:07 +01:00
Kconfig soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
Makefile soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00