[PATCH v6 0/2] i2c: bus-reset-gpios

From: Chris Packham
Date: Tue Nov 14 2023 - 22:58:07 EST


This series adds the ability to associate a gpio with an I2C bus so that
downstream devices can be brought out of reset when the host controller is
probed.

v5: https://lore.kernel.org/lkml/20231027033104.1348921-1-chris.packham@xxxxxxxxxxxxxxxxxxx/

The conversation sparked from v5 was heading in the direction of this needing
to be more generic. So I've moved the changes up to the i2c core, which is
about as generic as I'm comfortable with.

Chris Packham (2):
dt-bindings: i2c: add bus-reset-gpios property
i2c: add an optional bus-reset-gpios property

Documentation/devicetree/bindings/i2c/i2c.txt | 8 ++++
drivers/i2c/i2c-core-base.c | 39 +++++++++++++++++++
include/linux/i2c.h | 3 ++
3 files changed, 50 insertions(+)

--
2.42.0