Skip to content

drivers/rf/xlnx_rfdc: add xilinx rfsoc adda driver #88688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions drivers/rf/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-License-Identifier: MIT
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/rf.h)

zephyr_library()
add_subdirectory_ifdef(CONFIG_BEAMFORMER beamformer)
add_subdirectory_ifdef(CONFIG_BASEBAND baseband)
add_subdirectory_ifdef(CONFIG_CLOCK_SOURCE clk_source)

zephyr_library_sources_ifdef(CONFIG_XLNX_RFDC xlnx_rfdc.c)
zephyr_library_sources_ifdef(CONFIG_XLNX_RFDC murata_att_pe43712.c)



if (CONFIG_XLNX_RFDC)
# # Add this section to find and include libmetal in your project
# set(LIBMETAL_DIR "$(CMAKE_CURRENT_SOURCE_DIR)/libmetal")

# include_directories(${LIBMETAL_DIR}/lib/system)
# include_directories(${LIBMETAL_DIR}/lib/include)

# add_library(libmetal STATIC IMPORTED)
# set_target_properties(libmetal PROPERTIES
# IMPORTED_LOCATION ${LIBMETAL_DIR}/lib/libmetal.a
# )

# target_link_libraries(app PRIVATE libmetal)

endif()
16 changes: 16 additions & 0 deletions drivers/rf/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: MIT
# Copyright (c) 2020 Xilinx, Inc.
# Copyright (c) 2025 YWL, Tron Future Tech.

menuconfig RF
bool "RF driver"
help
Drivers related to RF devices such like baseband, beamformer


if RF

module = RF
module-str = rf
source "drivers/rf/Kconfig.rfdc"
endif # RF
13 changes: 13 additions & 0 deletions drivers/rf/Kconfig.rfdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: MIT
# Copyright (c) 2020 Xilinx, Inc.
# Copyright (c) 2025 YWL, Tron Future Tech.


config XLNX_RFDC
bool "Xilinx RF Data Converter driver enable"

if XLNX_RFDC
config RFDC_INIT_PRIORITY
int "RF ADC/DAC init priority"
default 80
endif # XLNX_RFDC
Loading