]> git.ipfire.org Git - thirdparty/linux.git/commit
misc: amd-sbi: Add helper function to prepare I3C support
authorAkshay Gupta <akshay.gupta@amd.com>
Mon, 15 Sep 2025 10:36:44 +0000 (10:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Oct 2025 05:59:57 +0000 (07:59 +0200)
commitb9a7c9599120185ae65424cb93ab8af7b9024cf9
treeb4f317da38b889898d8e45fb31e1339ef35d220c
parent8c00944301fdbb2cc7ee805843934ce0f882ee29
misc: amd-sbi: Add helper function to prepare I3C support

New AMD processors support APML connection over I3C.
Move the code, common for both I2C and I3C to new helper
function, "sbrmi_common_probe()"
While at it, renaming the static structure regmap_config "sbrmi_i2c_regmap_config"
to "sbrmi_regmap_config" to avoid confusion.

Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
Link: https://patch.msgid.link/20250915103649.1705078-1-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/amd-sbi/rmi-i2c.c