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

Message ID 20231115035753.925534-1-chris.packham@alliedtelesis.co.nz
Headers
Series i2c: bus-reset-gpios |

Message

Chris Packham Nov. 15, 2023, 3:57 a.m. UTC
  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@alliedtelesis.co.nz/

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(+)