diff options
| author | Defa Li <[email protected]> | 2024-12-12 09:17:53 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2025-01-12 23:01:42 +0000 |
| commit | 5eb6d3561f6cb6d59887be6da764417e437f6afa (patch) | |
| tree | a43a551f0f833635d80a4ac513a51133f8f7cd41 /scripts/extract-fwblobs | |
| parent | i3c: master: Fix missing 'ret' assignment in set_speed() (diff) | |
| download | kernel-5eb6d3561f6cb6d59887be6da764417e437f6afa.tar.gz kernel-5eb6d3561f6cb6d59887be6da764417e437f6afa.zip | |
i3c: master: Improve initialization of numbered I2C adapters
Add logic to initialize I2C adapters with a specific ID if available,
improving device identification and configuration.
For mixed buses, in addition to the i3c alias, an i2c alias can be added to
assign a fixed bus number to the i2c adapter.
This allows an alias node such as:
aliases {
i2c2 = &mixed_bus_a,
i3c2 = &mixed_bus_a,
i3c4 = &mixed_bus_b,
};
/* assigned "i3c-2" and "i2c-2" */
mixed_bus_a: i3c-master {
};
If there is no i2c alias for a mixed bus, the i2c adapter numbers will
remain as is and will be assigned starting after the highest fixed bus
number.
/* assigned "i3c-4" and likely assigned "i2c-3" */
mixed_bus_b: i3c-master {
};
Signed-off-by: Defa Li <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions
