Skip to content

Conversation

@mausys
Copy link
Contributor

@mausys mausys commented Nov 10, 2025

Switch the Xilinx AXI I2C device driver to use the DEVICE_MMIO_... macros instead of directly using the physical base address from the device tree. This allows the driver to work on SoCs with an MMU, such as the Zynq-7000.

Switch the Xilinx AXI I2C device driver to use the DEVICE_MMIO_...
macros instead of directly using the physical base address from the
device tree. This allows the driver to work on SoCs with an MMU,
such as the Zynq-7000.

Signed-off-by: Simon Maurer <mail@maurer.systems>
@mausys mausys force-pushed the i2c_xilinx_axi_mmu branch from d9a0c29 to e225bac Compare November 10, 2025 14:51
@sonarqubecloud
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@neeliajay
Copy link

I validated the MMIO macros change on actual hardware (Kintex KCU105 and ZynqMP).
I ran EEPROM tests over the board's AXI-I2C interface and observed the expected behavior.
The driver now derives the I2C base address using MMIO macros rather than using a raw address taken directly from the device tree.

@nashif nashif merged commit c7fc608 into zephyrproject-rtos:main Nov 18, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants