public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] i2c: stm32f7: enhancements and support for stm32mp25
@ 2023-12-08 16:47 Alain Volmat
  2023-12-08 16:47 ` [PATCH v2 1/7] i2c: stm32f7: perform most of irq job in threaded handler Alain Volmat
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Alain Volmat @ 2023-12-08 16:47 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin, Alexandre Torgue, Pierre-Yves MORDRET,
	Alain Volmat
  Cc: Conor Dooley, Rob Herring, linux-i2c, devicetree, linux-stm32,
	linux-arm-kernel, linux-kernel

This series first perform enhancements in the way interrupt are handled
and cleanup in messages.
Then it adds support for the stm32mp25 which differs in that
it only has a single irq line for both event/error and has a
different handling of the FastModePlus.
Support is then enabled within the stm32mp25 related device-trees.

Changelog:
v2: - correct st,stm32-i2c.yaml.  Use if then else scheme to indicate
      number of interrupts / interrupt-names depending on the
      compatible while keeping the description within the common part

    - correct 2 maybe-uninitialized warnings
          * ret in stm32f7_i2c_write_fm_plus_bits
          * irq_error in stm32f7_i2c_probe, move the platform_get_irq
            within the same if block as devm_request_threaded_irq

Alain Volmat (7):
  i2c: stm32f7: perform most of irq job in threaded handler
  i2c: stm32f7: simplify status messages in case of errors
  dt-bindings: i2c: document st,stm32mp25-i2c compatible
  i2c: stm32f7: add support for stm32mp25 soc
  arm64: dts: st: add all 8 i2c nodes on stm32mp251
  arm64: dts: st: add i2c2/i2c8 pins for stm32mp25
  arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1

 .../devicetree/bindings/i2c/st,stm32-i2c.yaml |  28 ++
 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi |  36 ++
 arch/arm64/boot/dts/st/stm32mp251.dtsi        |  96 +++++
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts    |  20 ++
 drivers/i2c/busses/i2c-stm32f7.c              | 334 ++++++++++--------
 5 files changed, 357 insertions(+), 157 deletions(-)

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-12-15 12:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 16:47 [PATCH v2 0/7] i2c: stm32f7: enhancements and support for stm32mp25 Alain Volmat
2023-12-08 16:47 ` [PATCH v2 1/7] i2c: stm32f7: perform most of irq job in threaded handler Alain Volmat
2023-12-08 20:04   ` Andi Shyti
2023-12-08 16:47 ` [PATCH v2 2/7] i2c: stm32f7: simplify status messages in case of errors Alain Volmat
2023-12-08 20:06   ` Andi Shyti
2023-12-08 16:47 ` [PATCH v2 3/7] dt-bindings: i2c: document st,stm32mp25-i2c compatible Alain Volmat
2023-12-12 17:07   ` Conor Dooley
2023-12-08 16:47 ` [PATCH v2 4/7] i2c: stm32f7: add support for stm32mp25 soc Alain Volmat
2023-12-09  0:07   ` Andi Shyti
2023-12-15 12:12     ` Alain Volmat
2023-12-08 16:47 ` [PATCH v2 5/7] arm64: dts: st: add all 8 i2c nodes on stm32mp251 Alain Volmat
2023-12-08 16:47 ` [PATCH v2 6/7] arm64: dts: st: add i2c2/i2c8 pins for stm32mp25 Alain Volmat
2023-12-08 16:47 ` [PATCH v2 7/7] arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1 Alain Volmat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox