1
1
openwrt/target/linux/realtek
Rustam Adilov d93c6d9a49 realtek: clk: change to __raw reads and writes
The clk driver uses the ioread32 and iowrite32 for register access to
switchcore and SoC bases. This works but if at some point the target
wants to enable CONFIG_SWAP_IO_SPACE, the register access breaks as
ioread32/iowrite32 would be operating in little endian as opposed
to the intended native endian.

Fix it by replacing the ioread32/iowrite32 used in register access macros
to a __raw variant which aligns with what upstream use for native endian
access to registers.

Signed-off-by: Rustam Adilov <adilov@tutamail.com>
Link: https://github.com/openwrt/openwrt/pull/23206
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2026-06-01 19:17:58 +02:00
..
base-files realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
dts realtek: dts: convert to upstream switch notation 2026-06-01 19:15:51 +02:00
files-6.18 realtek: clk: change to __raw reads and writes 2026-06-01 19:17:58 +02:00
image realtek: rtl930x: add support for Hasivo F1100W-4SX-4XGT and variants 2026-05-28 22:10:00 +02:00
patches-6.18 realtek: migrate PCS to fwnode_pcs provider/consumer API 2026-05-31 12:52:41 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl839x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl930x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl930x_nand realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl931x realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
rtl931x_nand realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00
Makefile realtek: switch to 6.18 2026-04-11 20:59:10 +02:00
modules.mk realtek: add Hasivo MCU watchdog driver 2026-05-31 10:57:26 +02:00