diff options
| author | Cosmin Tanislav <[email protected]> | 2025-05-07 12:19:13 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2025-05-22 09:07:05 +0000 |
| commit | 18355307dc56c198365c6b6b359a4a24db013685 (patch) | |
| tree | 03ff08b9c47996b018a82b3d397fc3040fdd5a29 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | i2c: atr: allow replacing mappings in attach_addr() (diff) | |
| download | kernel-18355307dc56c198365c6b6b359a4a24db013685.tar.gz kernel-18355307dc56c198365c6b6b359a4a24db013685.zip | |
i2c: atr: add static flag
Some I2C ATRs do not support dynamic remapping, only static mapping
of direct children.
Mappings will only be added or removed as a result of devices being
added or removed from a child bus.
The ATR pool will have to be big enough to accommodate all devices
expected to be added to the child buses.
Add a new flag that prevents old mappings to be replaced or new mappings
to be created in the alias finding code paths. That mens adding a flags
parameter to i2c_atr_new() and an i2c_atr_flags enum.
Signed-off-by: Cosmin Tanislav <[email protected]>
Reviewed-by: Luca Ceresoli <[email protected]>
Reviewed-by: Romain Gantois <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
