drivers: dma/spi: add rtl87x2j dma/spi driver#238
Merged
ZhiyuanTang17 merged 11 commits intoMay 22, 2026
Merged
Conversation
YuzhuoLiuRTK
force-pushed
the
downstream/rtl87x2j/drivers/dma/add-driver
branch
from
May 21, 2026 09:34
aad514b to
d747c16
Compare
YuzhuoLiuRTK
marked this pull request as draft
May 21, 2026 10:16
YuzhuoLiuRTK
force-pushed
the
downstream/rtl87x2j/drivers/dma/add-driver
branch
from
May 21, 2026 10:19
d747c16 to
651368b
Compare
Add UART asynchronous driver support for Realtek Bee series SoCs, including RTL87x2G, RTL8752H and RTL87X2J. This driver supports: - Asynchronous TX/RX transfers Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Convert cached flash addresses to non-cached flash addresses in Realtek Bee DMA driver. Without this conversion, DMA may access an invalid flash mapping and read back 0xdeadbeef. Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Enable the UART async API test for Realtek Bee series SoCs. Add configurations for the following boards: - rtl87x2g_evb_a_rtl8762gku - rtl8752h_evb_rtl8752hjl Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Add rtl87x2j series in bee dma driver. Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Enable the dma loop_transfer test for Realtek Bee series rtl87x2j_evb_rtl8762jth board. Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Enable the uart_async_api test for Realtek Bee series rtl87x2j_evb_rtl8762jth board. Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Add SPI driver support for Realtek Bee series SoCs, including RTL87x2G and RTL8752H. This driver supports: - Master and Slave operation modes - Polling, Interrupt, and DMA transfer modes - Transmit (TX) and Receive (RX) functionality Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
The original test used tx_data (a const char array) directly as the source buffer for SPI transmission. tx_data may be placed in the .rodata section which is not guaranteed to be aligned to the cache line or DMA requirements. This caused DMA transfer failures on platforms with strict alignment constraints. This commit changes the TX buffer from tx_data to buffer_tx. buffer_tx is explicitly declared with __BUF_ALIGN and __NOCACHE attributes, ensuring it satisfies the DMA alignment and cache coherency requirements. Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Enable spi_loopback and spi_controller_peripheral tests for Realtek Bee series SoCs. Add configurations for the following boards: - rtl87x2g_evb_a_rtl8762gku - rtl8752h_evb_rtl8752hjl Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Add rtl87x2j series in bee spi driver. Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
YuzhuoLiuRTK
force-pushed
the
downstream/rtl87x2j/drivers/dma/add-driver
branch
from
May 21, 2026 10:24
651368b to
57522a3
Compare
Enable the spi_loopback and spi_controller_peripheral tests for Realtek Bee series rtl87x2j_evb_rtl8762jth board. Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
YuzhuoLiuRTK
force-pushed
the
downstream/rtl87x2j/drivers/dma/add-driver
branch
from
May 22, 2026 06:06
57522a3 to
e933358
Compare
YuzhuoLiuRTK
marked this pull request as ready for review
May 22, 2026 06:13
ZhiyuanTang17
approved these changes
May 22, 2026
ZhiyuanTang17
merged commit May 22, 2026
5b95597
into
rtkconnectivity:realtek-main-v4.4
7 of 8 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.