diff options
| author | Abdurrahman Hussain <abdurrahman@nexthop.ai> | 2026-02-23 15:59:21 +0000 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-04-02 01:27:56 +0200 |
| commit | 91430a8ea9cebbe47c1723871492d5c135faf999 (patch) | |
| tree | e1bb00f82fd5311cafc745ab4ca68e6566bd79a3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f715b059d442d524d45f8ec91ebe63c4c0d0ad00 (diff) | |
i2c: xiic: use numbered adapter registration
Switch from i2c_add_adapter() to i2c_add_numbered_adapter() to enable
platforms to specify fixed I2C bus numbers via the platform device ID.
This allows systems to maintain consistent bus numbering across reboots.
On platforms where the device ID is PLATFORM_DEVID_NONE (the default),
the adapter falls back to dynamic allocation, preserving backward
compatibility.
Signed-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260223-i2c-xiic-v12-6-b6c9ce4e4f3c@nexthop.ai
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
