Skip to content

Commit

Permalink
i2c: add 'single-master' property to generic bindings
Browse files Browse the repository at this point in the history
It is useful to know if we are the only master on a given bus. Because
this is a HW description of the bus, add it to the generic bindings.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
  • Loading branch information
Wolfram Sang authored and Wolfram Sang committed May 30, 2020
1 parent fcb82a9 commit fad5972
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Documentation/devicetree/bindings/i2c/i2c.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ wants to support one of the below features, it should adapt these bindings.
- multi-master
states that there is another master active on this bus. The OS can use
this information to adapt power management to keep the arbitration awake
all the time, for example.
all the time, for example. Can not be combined with 'single-master'.

- single-master
states that there is no other master active on this bus. The OS can use
this information to detect a stalled bus more reliably, for example.
Can not be combined with 'multi-master'.

Required properties (per child device)
--------------------------------------
Expand Down

0 comments on commit fad5972

Please sign in to comment.