]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i2c: add binding to mark a bus as supporting SMBus-Alert
authorAlain Volmat <alain.volmat@foss.st.com>
Wed, 5 May 2021 13:14:38 +0000 (15:14 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 25 May 2021 19:48:08 +0000 (21:48 +0200)
Since SMBus-Alert is an optional feature of SMBUS which
requires an additional pin, the smbus binding cannot be
used to indicate its support.

Add an additional smbus-alert binding specific for it and
update the description text of smbus to avoid mentioning
SMBus-Alert

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/devicetree/bindings/i2c/i2c.txt

index df41f72afc8785802a99ed63994524f34d676d23..b864916e087f487003b44ce455e02e65f5581b70 100644 (file)
@@ -89,8 +89,11 @@ wants to support one of the below features, it should adapt these bindings.
 
 - smbus
        states that additional SMBus restrictions and features apply to this bus.
-       Examples of features are SMBusHostNotify and SMBusAlert. Examples of
-       restrictions are more reserved addresses and timeout definitions.
+       An example of feature is SMBusHostNotify. Examples of restrictions are
+       more reserved addresses and timeout definitions.
+
+- smbus-alert
+       states that the optional SMBus-Alert feature apply to this bus.
 
 Required properties (per child device)
 --------------------------------------