zephyr/soc
Manuel Argüelles b3f950c648 drivers: mdio: nxp_s32_netc: use instance-based DT macros
At present, many of the NXP S32 shim drivers do not make use of
devicetree instance-based macros because the NXP S32 HAL relies on an
index-based approach, requiring knowledge of the peripheral instance
index during both compilation and runtime, and this index might not
align with the devicetree instance index.

The proposed solution in this patch eliminates this limitation by
determining the peripheral instance index during compilation
through macrobatics and defining the driver's ISR within the shim
driver itself.

Note that for some peripheral instances is needed to redefine the
HAL macros of the peripheral base address, since the naming is not
uniform for all instances.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-11-13 09:49:26 +01:00
..
arc cmake: arc: update arc SoC to use SOC_LINKER_SCRIPT variable 2023-11-03 11:01:23 +01:00
arm drivers: mdio: nxp_s32_netc: use instance-based DT macros 2023-11-13 09:49:26 +01:00
arm64 boards: arm64: provide support for ROC-RK3568-PC 2023-11-06 10:14:20 +01:00
mips cmake: mips: update mips SoC to use SOC_LINKER_SCRIPT variable 2023-11-03 11:01:23 +01:00
nios2 cmake: cleanup and simplify the standard include logic in Zephyr 2023-11-06 18:57:30 -05:00
posix cmake: posix: update posix SoC to use SOC_LINKER_SCRIPT variable 2023-11-03 11:01:23 +01:00
riscv drivers: plic: support multiple instances for multi-level 2023-11-09 18:20:43 +01:00
sparc cmake: sparc: update sparc SoC to use SOC_LINKER_SCRIPT variable 2023-11-03 11:01:23 +01:00
x86 cmake: x86: update x86 SoC to use SOC_LINKER_SCRIPT variable 2023-11-03 11:01:23 +01:00
xtensa soc: xtensa: imx8: Add pinctrl support 2023-11-09 18:21:05 +01:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig nrf5x_bsim: Add helper kconfig symbols for simulated nrf5340 2023-09-20 08:56:49 +02:00