All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] i2c bus recovery for Microchip SoCs
@ 2020-01-03  9:49 ` Codrin.Ciubotariu
  0 siblings, 0 replies; 50+ messages in thread
From: Codrin.Ciubotariu @ 2020-01-03  9:49 UTC (permalink / raw)
  To: linux-i2c, devicetree, linux-arm-kernel, linux-kernel
  Cc: kamel.bouhara, wsa, Nicolas.Ferre, alexandre.belloni,
	Ludovic.Desroches, robh, Codrin.Ciubotariu

This patch series introduce the i2c bus recovery mechanism
for the Microchip SoCs. Some SoCs have hardware support for
recovery, while for those who don't the i2c-gpio bus recovery
mechanism is used. Updated the corresponding dts to add i2c
gpio pinctrl. The bus recovery is configured for the sama5d2/3/4
xplained and sama5d27 som1 EK boards in dts.

Changes in v2:
 - integrated the HW CLEAR command patch;
 - call i2c_recover_bus() after an error occurs, if SDA is down;
 - added i2c gpio pinctrl in sama5d2 xplained and sama5d27 som1 EK
   boards;


Codrin Ciubotariu (1):
  i2c: at91: Send bus clear command if SCL is down

Kamel Bouhara (5):
  dt-bindings: i2c: at91: document optional bus recovery properties
  i2c: at91: implement i2c bus recovery
  ARM: at91/dt: sama5d3: add i2c gpio pinctrl
  ARM: at91/dt: sama5d4: add i2c gpio pinctrl
  ARM: at91/dt: sama5d2: add i2c gpio pinctrl

 .../devicetree/bindings/i2c/i2c-at91.txt      |  10 ++
 arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts     |  33 +++++-
 arch/arm/boot/dts/at91-sama5d2_xplained.dts   |  33 +++++-
 arch/arm/boot/dts/sama5d3.dtsi                |  33 +++++-
 arch/arm/boot/dts/sama5d4.dtsi                |  33 +++++-
 drivers/i2c/busses/i2c-at91-core.c            |   9 ++
 drivers/i2c/busses/i2c-at91-master.c          | 101 ++++++++++++++++++
 drivers/i2c/busses/i2c-at91.h                 |  15 ++-
 8 files changed, 254 insertions(+), 13 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2020-01-09 13:29 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03  9:49 [PATCH v2 0/6] i2c bus recovery for Microchip SoCs Codrin.Ciubotariu
2020-01-03  9:49 ` Codrin.Ciubotariu
2020-01-03  9:49 ` Codrin.Ciubotariu
2020-01-03  9:49 ` [PATCH v2 1/6] dt-bindings: i2c: at91: document optional bus recovery properties Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03 22:29   ` Rob Herring
2020-01-03 22:29     ` Rob Herring
2020-01-03 22:29     ` Rob Herring
2020-01-06 16:34     ` Codrin.Ciubotariu
2020-01-06 16:34       ` Codrin.Ciubotariu
2020-01-06 16:34       ` Codrin.Ciubotariu
2020-01-03  9:49 ` [PATCH v2 2/6] i2c: at91: implement i2c bus recovery Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-09  7:48   ` Ludovic Desroches
2020-01-09  7:48     ` Ludovic Desroches
2020-01-09  7:48     ` Ludovic Desroches
2020-01-09 10:54     ` Codrin.Ciubotariu
2020-01-09 10:54       ` Codrin.Ciubotariu
2020-01-09 10:54       ` Codrin.Ciubotariu-UWL1GkI3JZL3oGB3hsPCZA
2020-01-03  9:49 ` [PATCH v2 3/6] i2c: at91: Send bus clear command if SCL is down Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-09  7:47   ` Ludovic Desroches
2020-01-09  7:47     ` Ludovic Desroches
2020-01-09  7:47     ` Ludovic Desroches
2020-01-09 10:58     ` Codrin.Ciubotariu
2020-01-09 10:58       ` Codrin.Ciubotariu
2020-01-09 10:58       ` Codrin.Ciubotariu
2020-01-09 11:05   ` Russell King - ARM Linux admin
2020-01-09 11:05     ` Russell King - ARM Linux admin
2020-01-09 13:29     ` Codrin.Ciubotariu
2020-01-09 13:29       ` Codrin.Ciubotariu
2020-01-09 13:29       ` Codrin.Ciubotariu-UWL1GkI3JZL3oGB3hsPCZA
2020-01-03  9:49 ` [PATCH v2 5/6] ARM: at91/dt: sama5d4: add i2c gpio pinctrl Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03  9:49 ` [PATCH v2 4/6] ARM: at91/dt: sama5d3: " Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-04 22:39   ` Peter Rosin
2020-01-04 22:39     ` Peter Rosin
2020-01-04 22:39     ` Peter Rosin
2020-01-06 16:58     ` Codrin.Ciubotariu
2020-01-06 16:58       ` Codrin.Ciubotariu
2020-01-06 16:58       ` Codrin.Ciubotariu
2020-01-03  9:49 ` [PATCH v2 6/6] ARM: at91/dt: sama5d2: " Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu
2020-01-03  9:49   ` Codrin.Ciubotariu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.