Commit 32e6b31a authored by Aniket's avatar Aniket Committed by Alexandre Belloni

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: default avatarAniket <aniketmaurya@google.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230822051209.2837818-1-aniketmaurya@google.comSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 5496eac6
...@@ -135,9 +135,10 @@ patternProperties: ...@@ -135,9 +135,10 @@ patternProperties:
minimum: 0x1 minimum: 0x1
maximum: 0xff maximum: 0xff
description: | description: |
Dynamic address to be assigned to this device. This property is only Dynamic address to be assigned to this device. In case static address is
valid if the I3C device has a static address (first cell of the reg present (first cell of the reg property != 0), this address is assigned
property != 0). through SETDASA. If static address is not present, this address is assigned
through SETNEWDA after assigning a temporary address via ENTDAA.
required: required:
- reg - reg
...@@ -163,12 +164,18 @@ examples: ...@@ -163,12 +164,18 @@ examples:
pagesize = <0x8>; pagesize = <0x8>;
}; };
/* I3C device with a static I2C address. */ /* I3C device with a static I2C address and assigned address. */
thermal_sensor: sensor@68,39200144004 { thermal_sensor: sensor@68,39200144004 {
reg = <0x68 0x392 0x144004>; reg = <0x68 0x392 0x144004>;
assigned-address = <0xa>; assigned-address = <0xa>;
}; };
/* I3C device with only assigned address. */
pressure_sensor: sensor@0,39200124004 {
reg = <0x0 0x392 0x124000>;
assigned-address = <0xc>;
};
/* /*
* I3C device without a static I2C address but requiring * I3C device without a static I2C address but requiring
* resources described in the DT. * resources described in the DT.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment