diff options
| author | Prathima <Prathima.Lk@amd.com> | 2026-07-10 16:46:38 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:50:48 +0200 |
| commit | ba27ea7abd35d260e3b489f985ec2b4113c0fd85 (patch) | |
| tree | 6ed29851df5f04659ce2b20d43eb505dfd62564d /drivers/misc/sram-exec.c | |
| parent | d4f8babf8e8ffb8cd75d12d1003d2a2c17a53420 (diff) | |
| download | linux-next-ba27ea7abd35d260e3b489f985ec2b4113c0fd85.tar.gz linux-next-ba27ea7abd35d260e3b489f985ec2b4113c0fd85.zip | |
misc: amd-sbi: Consolidate Common SBTSI Probe Path
Refactor shared probe procedures into sbtsi_probe_common() to ensure
that I2C and I3C probes focus solely on bus-specific allocation and
device configuration.
The utility function reads the configuration register via sbtsi_xfer(),
initializes ext_range_mode and read_order, assigns the driver data,
and registers the hwmon auxiliary device.
Routing register access through sbtsi_xfer() keeps the probe path
bus-agnostic, so no transfer logic has to be duplicated when SB-TSI over
I3C support is added in a later patch.
Reviewed-by: Akshay Gupta <Akshay.Gupta@amd.com>
Signed-off-by: Prathima <Prathima.Lk@amd.com>
Link: https://patch.msgid.link/20260710111642.850022-5-Akshay.Gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/sram-exec.c')
0 files changed, 0 insertions, 0 deletions
