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 <demonsingur@gmail.com> Reviewed-by:
Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by:
Romain Gantois <romain.gantois@bootlin.com> Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com>
Loading
Please sign in to comment