]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
misc: amd-sbi: Add support for register xfer
authorAkshay Gupta <akshay.gupta@amd.com>
Mon, 28 Apr 2025 06:30:33 +0000 (06:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 12:44:41 +0000 (14:44 +0200)
commitcf141287b77485ed7624ac1756b85cc801748c7c
tree945fcdcadf8fb395b6938721d343a70aad6c57a4
parent69b1ba83d21c4a89f6fcfbca1d515a60df65cf9e
misc: amd-sbi: Add support for register xfer

- Provide user register access over IOCTL.
  Both register read and write are supported.
- APML interface does not provide a synchronization method. By defining,
  a register access path, we use APML modules and library for
  all APML transactions. Without having to use external tools such as
  i2c-tools, which may cause race conditions.

Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
Link: https://lore.kernel.org/r/20250428063034.2145566-10-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/amd-sbi/rmi-core.c
include/uapi/misc/amd-apml.h