linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH dt-schema] schemas: i2c: add optional GPIO binding for SMBALERT# line
@ 2024-09-09 10:58 Wolfram Sang
  2024-09-09 13:07 ` Rob Herring
  2024-10-01 23:05 ` Rob Herring
  0 siblings, 2 replies; 10+ messages in thread
From: Wolfram Sang @ 2024-09-09 10:58 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: linux-i2c, devicetree-spec, Wolfram Sang

Most I2C controllers do not have a dedicated pin for SMBus Alerts. Allow
them to define a GPIO as a side-channel.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 dtschema/schemas/i2c/i2c-controller.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dtschema/schemas/i2c/i2c-controller.yaml b/dtschema/schemas/i2c/i2c-controller.yaml
index 97d0aaa..487e669 100644
--- a/dtschema/schemas/i2c/i2c-controller.yaml
+++ b/dtschema/schemas/i2c/i2c-controller.yaml
@@ -135,6 +135,11 @@ properties:
       use this information to detect a stalled bus more reliably, for example.
       Can not be combined with 'multi-master'.
 
+  smbalert-gpios:
+    maxItems: 1
+    description:
+      Specifies the GPIO used for the SMBALERT# line. Optional.
+
   smbus:
     type: boolean
     description:
-- 
2.43.0


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

end of thread, other threads:[~2024-10-01 23:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 10:58 [PATCH dt-schema] schemas: i2c: add optional GPIO binding for SMBALERT# line Wolfram Sang
2024-09-09 13:07 ` Rob Herring
2024-09-09 13:30   ` Geert Uytterhoeven
2024-09-09 13:39     ` Rob Herring
2024-09-09 14:27       ` Geert Uytterhoeven
2024-09-09 18:24       ` Geert Uytterhoeven
2024-09-10  7:38       ` Wolfram Sang
2024-09-12  6:35         ` Wolfram Sang
2024-09-30 10:58           ` Wolfram Sang
2024-10-01 23:05 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).