public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: i2c: cadence: Document reset property
@ 2023-03-30 18:04 Lars-Peter Clausen
  2023-03-30 18:04 ` [PATCH 2/2] i2c: cadence: Add reset controller support Lars-Peter Clausen
  2023-03-31  9:42 ` [PATCH 1/2] dt-bindings: i2c: cadence: Document reset property Krzysztof Kozlowski
  0 siblings, 2 replies; 7+ messages in thread
From: Lars-Peter Clausen @ 2023-03-30 18:04 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Michal Simek, Shubhrajyoti Datta, Rob Herring,
	Krzysztof Kozlowski, linux-i2c, devicetree, Lars-Peter Clausen

The Cadence I2C controller has an external reset that needs to be
de-asserted before the I2C controller can be accessed.

Document the `resets` devicetree property that can be used to describe how
the reset signal is connected.

While the reset signal will always be present in hardware the devicetree
property is kept optional for backwards compatibility with existing systems
that do not specify the reset property and where the reset signal might not
be controlled by operating system.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
index 9187015d9702..76e2b9a10de8 100644
--- a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
+++ b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml
@@ -24,6 +24,9 @@ properties:
   clocks:
     minItems: 1
 
+  resets:
+    maxItems: 1
+
   interrupts:
     maxItems: 1
 
-- 
2.30.2


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

end of thread, other threads:[~2023-03-31 20:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-30 18:04 [PATCH 1/2] dt-bindings: i2c: cadence: Document reset property Lars-Peter Clausen
2023-03-30 18:04 ` [PATCH 2/2] i2c: cadence: Add reset controller support Lars-Peter Clausen
2023-03-31  6:49   ` Michal Simek
2023-03-31 16:42     ` Lars-Peter Clausen
2023-03-31  9:42 ` [PATCH 1/2] dt-bindings: i2c: cadence: Document reset property Krzysztof Kozlowski
2023-03-31 17:11   ` Lars-Peter Clausen
2023-03-31 20:21     ` Krzysztof Kozlowski

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