public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] i2c: spacemit: add reset support
@ 2025-12-19  7:42 Encrow Thorne
  2025-12-19  7:42 ` [PATCH v2 1/3] dt-bindings: i2c: spacemit: add optional resets Encrow Thorne
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Encrow Thorne @ 2025-12-19  7:42 UTC (permalink / raw)
  To: Troy Mitchell, Andi Shyti, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Yixun Lan, Philipp Zabel, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti
  Cc: Troy Mitchell, Guodong Xu, linux-i2c, devicetree, linux-riscv,
	spacemit, linux-kernel, Encrow Thorne

Add reset support for the K1 I2C driver. A reset ensures that the
controller starts in a clean and known state.

Reset ensures that the I2C hardware is in a clean state. We cannot assume
that no program used I2C before the kernel booted.

Signed-off-by: Encrow Thorne <jyc0019@gmail.com>
---
Changes in v2:
- Replace reset property in dt-bindings.
- Use devm_reset_control_get_optional_exclusive_deasserted() instead.
- Rebase to v6.19-rc1.
- Link to v1: https://lore.kernel.org/r/20251119-i2c-k1_reset-support-v1-0-0e9e82bf9b65@gmail.com

---
Encrow Thorne (3):
      dt-bindings: i2c: spacemit: add optional resets
      i2c: k1: add reset support
      riscv: dts: spacemit: add reset property

 Documentation/devicetree/bindings/i2c/spacemit,k1-i2c.yaml | 3 +++
 arch/riscv/boot/dts/spacemit/k1.dtsi                       | 8 ++++++++
 drivers/i2c/busses/i2c-k1.c                                | 7 +++++++
 3 files changed, 18 insertions(+)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251218-i2c-reset-a7be139213de

Best regards,
-- 
Encrow Thorne <jyc0019@gmail.com>


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

end of thread, other threads:[~2025-12-30 14:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19  7:42 [PATCH v2 0/3] i2c: spacemit: add reset support Encrow Thorne
2025-12-19  7:42 ` [PATCH v2 1/3] dt-bindings: i2c: spacemit: add optional resets Encrow Thorne
2025-12-19  8:03   ` Krzysztof Kozlowski
2025-12-26  3:25     ` Troy Mitchell
2025-12-19  7:42 ` [PATCH v2 2/3] i2c: k1: add reset support Encrow Thorne
2025-12-25 21:01   ` Andi Shyti
2025-12-25 23:38     ` Guodong Xu
2025-12-27 19:26       ` Andi Shyti
2025-12-28  0:42         ` Guodong Xu
2025-12-30 14:11           ` Troy Mitchell
2025-12-30 14:14             ` Troy Mitchell
2025-12-26  3:24   ` Troy Mitchell
2025-12-19  7:42 ` [PATCH v2 3/3] riscv: dts: spacemit: add reset property Encrow Thorne
2025-12-19  8:03 ` [PATCH v2 0/3] i2c: spacemit: add reset support Krzysztof Kozlowski
2025-12-27 23:53   ` Guodong Xu
2025-12-30 13:56     ` Encrow Thorne

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