lkml.org 
[lkml]   [2021]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] dt-bindings: i2c: tegra: Add SMBus feature properties
Date
Tegra I2C can use a gpio as an smbus-alert. Document the usage of
the same.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
---
Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
index 3f2f990..71ee79b 100644
--- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
+++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
@@ -70,6 +70,10 @@ Required properties:
- rx
- tx

+optional properties:
+- smbalert-gpio: Must contain an entry for the gpio to be used as smbus alert.
+ It will be used only if optional smbus-alert property is present.
+
Example:

i2c@7000c000 {
--
2.7.4
\
 
 \ /
  Last update: 2021-12-09 16:06    [W:0.171 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site