lkml.org 
[lkml]   [2021]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] i2c: mux: pca954x: Support multiple devices on a single reset line
Date
Some systems connect several PCA954x devices to a single reset GPIO. For
these devices to get out of reset and probe successfully, each device must
defer the probe until the GPIO has been hogged. Accomplish this by
attempting to grab a new "reset-shared-hogged" devicetree property, but
expect it to fail with EPROBE_DEFER or EBUSY.

Changes since v1:
- Rework the patch to use a new devicetree property that we don't expect to
successfully obtain

Eddie James (2):
dt-bindings: i2c: i2c-mux-pca954x: Define the reset-shared-hogged gpio
i2c: mux: pca954x: Support multiple devices on a single reset line

.../bindings/i2c/i2c-mux-pca954x.yaml | 5 ++
drivers/i2c/muxes/i2c-mux-pca954x.c | 46 +++++++++++++++----
2 files changed, 42 insertions(+), 9 deletions(-)

--
2.27.0

\
 
 \ /
  Last update: 2021-07-27 18:05    [W:0.220 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site