diff options
author | Akshay Gupta <akshay.gupta@amd.com> | 2025-04-28 06:30:28 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-21 14:44:40 +0200 |
commit | 013f7e7131bd84a83ed3b70855b2667a89bb3c98 (patch) | |
tree | a111ea1876494c87ba06e5e07959097ada7ac150 /tools/perf/scripts/python/task-analyzer.py | |
parent | f4dc6406631ec46f608be7078f50777990c87b47 (diff) |
misc: amd-sbi: Use regmap subsystem
- regmap subsystem provides multiple benefits over direct smbus APIs
- subsystem adds another abstraction layer on top of struct i2c_client to
make it easy to read or write registers.
- The subsystem can be helpful in following cases
- Different types of bus (i2c/i3c), we have plans to support i3c.
- Different Register address size (1byte/2byte)
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-5-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions