Skip to content

Commit 32e6b31

Browse files
Aniketalexandrebelloni
authored andcommitted
dt-bindings: i3c: Fix description for assigned-address
assigned-address is a valid property for I3C device with or without static address. Fix the description and an example for the same. Signed-off-by: Aniket <aniketmaurya@google.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230822051209.2837818-1-aniketmaurya@google.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 5496eac commit 32e6b31

File tree

1 file changed

+11
-4
lines changed
  • Documentation/devicetree/bindings/i3c

1 file changed

+11
-4
lines changed

Documentation/devicetree/bindings/i3c/i3c.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,10 @@ patternProperties:
135135
minimum: 0x1
136136
maximum: 0xff
137137
description: |
138-
Dynamic address to be assigned to this device. This property is only
139-
valid if the I3C device has a static address (first cell of the reg
140-
property != 0).
138+
Dynamic address to be assigned to this device. In case static address is
139+
present (first cell of the reg property != 0), this address is assigned
140+
through SETDASA. If static address is not present, this address is assigned
141+
through SETNEWDA after assigning a temporary address via ENTDAA.
141142
142143
required:
143144
- reg
@@ -163,12 +164,18 @@ examples:
163164
pagesize = <0x8>;
164165
};
165166
166-
/* I3C device with a static I2C address. */
167+
/* I3C device with a static I2C address and assigned address. */
167168
thermal_sensor: sensor@68,39200144004 {
168169
reg = <0x68 0x392 0x144004>;
169170
assigned-address = <0xa>;
170171
};
171172
173+
/* I3C device with only assigned address. */
174+
pressure_sensor: sensor@0,39200124004 {
175+
reg = <0x0 0x392 0x124000>;
176+
assigned-address = <0xc>;
177+
};
178+
172179
/*
173180
* I3C device without a static I2C address but requiring
174181
* resources described in the DT.

0 commit comments

Comments
 (0)