Skip to content

Commit

Permalink
schemas: i2c: add optional GPIO binding for SMBALERT# line
Browse files Browse the repository at this point in the history
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>
Link: https://lore.kernel.org/r/20240909105835.28531-1-wsa+renesas@sang-engineering.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
  • Loading branch information
Wolfram Sang authored and robherring committed Oct 3, 2024
1 parent 577c1ab commit 0934678
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dtschema/schemas/i2c/i2c-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0934678

Please sign in to comment.