Re: [PATCH v3 1/2] dt-bindings: i2c: add binding for i2c-hotplug-gpio

From: Wolfram Sang
Date: Tue Aug 15 2023 - 16:01:48 EST



> Not a driver but a group of devices (possibly discovered dynamically)
> behind a passive gate (like e.g. PCA9517A with EN tied to a connector pin).
> It's not much different to a I2C gate or mux with a single child bus
> (i2c-mux-gpio that has only a single child).

I agree. To prevent the the bus from spikes when connecting /
disconnecting something like PCA9517A should be in place. And this one
can be considered a 1:1 mux. Just with the exception that Linux cannot
control the gate, but can only react to changes to the enable pin.

Can't we have a driver for the PCA9517 which gets interrupts when the
enable pin changes and then adds / removes the child i2c adapter?

Attachment: signature.asc
Description: PGP signature