u-boot/drivers/watchdog
Johan Jonker a12a73b664 drivers: use dev_read_addr_ptr when cast to pointer
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU
can expect 64-bit data from the device tree parser, so use
dev_read_addr_ptr instead of the dev_read_addr function in the
various files in the drivers directory that cast to a pointer.
As we are there also streamline the error response to -EINVAL on return.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-05-06 17:28:18 +08:00
..
apple_wdt.c watchdog: Add a driver for the Apple watchdog 2022-01-13 06:55:46 +01:00
arm_smc_wdt.c watchdog: arm_smc_wdt: add watchdog support 2023-04-18 08:42:43 +02:00
armada-37xx-wdt.c treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
ast2600_wdt.c wdt: aspeed: Add AST2600 watchdog support 2021-01-18 15:23:05 -05:00
ast_wdt.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
at91sam9_wdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bcm2835_wdt.c watchdog: Add a watchdog driver for Raspberry Pi boards 2023-04-18 08:42:43 +02:00
bcm6345_wdt.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
booke_wdt.c watchdog: Add booke watchdog driver 2021-04-15 14:22:17 +05:30
cdns_wdt.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
cortina_wdt.c watchdog: cortina_wdt: add support for HW WDT on CAxxxx SoCs 2020-02-07 16:15:57 -05:00
designware_wdt.c global: Migrate CONFIG_DW_WDT_CLOCK_KHZ to CFG 2022-12-23 10:07:03 -05:00
ftwdt010_wdt.c watchdog: ftwdt010: return a previously deleted driver now ported to DM 2023-04-18 08:42:43 +02:00
gpio_wdt.c watchdog: gpio_wdt: use __udelay() to avoid recursion 2022-09-27 12:25:40 +02:00
imx_watchdog.c watchdog: Clean up defaults for imx_watchdog / ulp_wdog 2023-01-20 12:27:23 -05:00
Kconfig Merge branch 'for-2023.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2023-04-29 09:29:41 -04:00
Makefile Merge branch 'for-2023.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2023-04-29 09:29:41 -04:00
max6370_wdt.c watchdog: max6370: use __udelay() to avoid recursion 2022-09-27 12:25:51 +02:00
meson_gxbb_wdt.c watchdog: add amlogic watchdog support 2022-07-21 08:09:06 +02:00
mpc8xxx_wdt.c watchdog: mpc8xxx: Add support for mpc83xx 2023-04-06 14:50:03 +02:00
mt7620_wdt.c watchdog: add watchdog driver for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7621_wdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mtk_wdt.c watchdog: mediatek: add support for MediaTek MT7986 SoC 2022-09-23 15:09:15 -04:00
npcm_wdt.c wdt: nuvoton: add expire function for generic reset 2022-10-24 11:06:24 +02:00
octeontx_wdt.c watchdog: octeontx_wdt: Add MIPS Octeon support 2022-07-21 08:09:06 +02:00
omap_wdt.c watchdog: omap_wdt: Switch required include for watchdog defines 2022-10-18 13:40:40 -04:00
orion_wdt.c treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
rti_wdt.c watchdog: rti_wdt: Add 10% safety margin to clock frequency 2022-03-08 09:08:09 +01:00
s5p_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_alarm-wdt.c sandbox: add SIGALRM-based watchdog device 2022-10-24 11:10:21 +02:00
sandbox_wdt.c sandbox: fix sandbox_wdt_expire_now() 2021-11-13 08:16:52 -07:00
sbsa_gwdt.c drivers: use dev_read_addr_index_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
sl28cpld-wdt.c watchdog: add sl28cpld watchdog driver 2022-02-28 11:59:35 +05:30
sp805_wdt.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
stm32mp_wdt.c watchdog: stm32mp: migrate trace to dev macro 2021-01-13 09:52:58 +01:00
sunxi_wdt.c watchdog: Add a driver for the sunxi watchdog 2021-10-25 14:54:26 +01:00
tangier_wdt.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
ulp_wdog.c watchdog: Clean up defaults for imx_watchdog / ulp_wdog 2023-01-20 12:27:23 -05:00
wdt-uclass.c watchdog: Drop GD_FLG_WDT_READY as it's not used any more 2022-11-22 08:56:26 +01:00
xilinx_tb_wdt.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
xilinx_wwdt.c watchdog: versal: Add support for expire now 2021-09-30 12:30:38 +02:00