Linux-i3c Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: i3c: Fix description for assigned-address
@ 2023-08-22  5:12 Aniket
  2023-08-23 13:20 ` Rob Herring
  2023-08-27 22:45 ` Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Aniket @ 2023-08-22  5:12 UTC (permalink / raw)
  To: Alexandre Belloni, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-i3c, devicetree, linux-kernel, joychakr, manugautam, Aniket

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>
---
 Documentation/devicetree/bindings/i3c/i3c.yaml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/i3c/i3c.yaml b/Documentation/devicetree/bindings/i3c/i3c.yaml
index fdb4212149e7..ab69f4115de4 100644
--- a/Documentation/devicetree/bindings/i3c/i3c.yaml
+++ b/Documentation/devicetree/bindings/i3c/i3c.yaml
@@ -135,9 +135,10 @@ patternProperties:
         minimum: 0x1
         maximum: 0xff
         description: |
-          Dynamic address to be assigned to this device. This property is only
-          valid if the I3C device has a static address (first cell of the reg
-          property != 0).
+          Dynamic address to be assigned to this device. In case static address is
+          present (first cell of the reg property != 0), this address is assigned
+          through SETDASA. If static address is not present, this address is assigned
+          through SETNEWDA after assigning a temporary address via ENTDAA.
 
     required:
       - reg
@@ -163,12 +164,18 @@ examples:
             pagesize = <0x8>;
         };
 
-        /* I3C device with a static I2C address. */
+        /* I3C device with a static I2C address and assigned address. */
         thermal_sensor: sensor@68,39200144004 {
             reg = <0x68 0x392 0x144004>;
             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
          * resources described in the DT.
-- 
2.42.0.rc1.204.g551eb34607-goog


-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i3c: Fix description for assigned-address
  2023-08-22  5:12 [PATCH] dt-bindings: i3c: Fix description for assigned-address Aniket
@ 2023-08-23 13:20 ` Rob Herring
  2023-08-27 22:45 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-08-23 13:20 UTC (permalink / raw)
  To: Aniket
  Cc: manugautam, linux-i3c, Conor Dooley, Rob Herring, linux-kernel,
	joychakr, Krzysztof Kozlowski, Alexandre Belloni, devicetree


On Tue, 22 Aug 2023 05:12:09 +0000, Aniket wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/i3c/i3c.yaml | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>


-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i3c: Fix description for assigned-address
  2023-08-22  5:12 [PATCH] dt-bindings: i3c: Fix description for assigned-address Aniket
  2023-08-23 13:20 ` Rob Herring
@ 2023-08-27 22:45 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2023-08-27 22:45 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aniket
  Cc: linux-i3c, devicetree, linux-kernel, joychakr, manugautam


On Tue, 22 Aug 2023 05:12:09 +0000, Aniket wrote:
> assigned-address is a valid property for I3C device with or without
> static address. Fix the description and an example for the same.
> 
> 

Applied, thanks!

[1/1] dt-bindings: i3c: Fix description for assigned-address
      commit: 32e6b31a6a80ba9493fad802d68d41f4d63230cc

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-27 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22  5:12 [PATCH] dt-bindings: i3c: Fix description for assigned-address Aniket
2023-08-23 13:20 ` Rob Herring
2023-08-27 22:45 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox