]> git.ipfire.org Git - thirdparty/linux.git/commit
misc: rtsx: Add support for RTS5264 Version B and optimize init flow
authorRicky Wu <ricky_wu@realtek.com>
Fri, 20 Jun 2025 07:13:25 +0000 (15:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jun 2025 15:45:55 +0000 (16:45 +0100)
commit587d1c3c2550abd5592e1f0dc0030538c9ed9216
treed475b102fff48587ecf1c5fe45e16034d93e895f
parent01c6d1df98cb4313e1a79ef5c064a485d3b271fd
misc: rtsx: Add support for RTS5264 Version B and optimize init flow

This patch adds support for the Realtek RTS5264 Version B
card reader controller.
To support this chip revision, the driver introduces specific
initialization logic to handle the hardware requirements of
Version B. The probe flow is updated to detect this version
and apply the necessary register configurations.
Additionally, the initialization sequence for Version B has
been optimized to improve robustness and ensure proper device
setup during power-on.
These changes ensure correct operation and compatibility with
systems using RTS5264 Version B.

Signed-off-by: Ricky Wu <ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/20250620071325.1887017-1-ricky_wu@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cardreader/rts5264.c
drivers/misc/cardreader/rts5264.h
drivers/misc/cardreader/rtsx_pcr.c