u-boot/drivers/phy/rockchip
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
..
Kconfig drivers: phy: add Innosilicon DSI-DPHY driver 2023-04-21 15:16:01 +08:00
Makefile drivers: phy: add Innosilicon DSI-DPHY driver 2023-04-21 15:16:01 +08:00
phy-rockchip-inno-dsidphy.c drivers: phy: add Innosilicon DSI-DPHY driver 2023-04-21 15:16:01 +08:00
phy-rockchip-inno-usb2.c phy: rockchip-inno-usb2: Add USB2 PHY for rk3568 2023-02-28 18:07:27 +08:00
phy-rockchip-naneng-combphy.c drivers: phy: add naneng combphy for rk3568 2023-02-28 18:07:27 +08:00
phy-rockchip-pcie.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
phy-rockchip-snps-pcie3.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
phy-rockchip-typec.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00