Re: [PATCH v5 8/9] i2c: atr: add static flag

Luca Ceresoli
2025-05-21T15:56:36Z

On Wed, 7 May 2025 15:19:14 +0300
Cosmin Tanislav <demonsingur@gmail.com> wrote:

> 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 accomodate 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.
>
> Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>

Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering