diff mbox series

i3c: Document I3C_ADDR_SLOT_EXT_STATUS_MASK

Message ID 20241102132841.2446176-1-alexandre.belloni@bootlin.com (mailing list archive)
State Accepted
Commit f6ca73063754950bf3fbad753e3a9557e3aa85e3
Headers show
Series i3c: Document I3C_ADDR_SLOT_EXT_STATUS_MASK | expand

Commit Message

Alexandre Belloni Nov. 2, 2024, 1:28 p.m. UTC
From: Alexandre Belloni <alexandre.belloni@bootlin.com>

As the mask is part of the enum, document it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 include/linux/i3c/master.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Frank Li Nov. 4, 2024, 8:42 p.m. UTC | #1
On Sat, Nov 02, 2024 at 02:28:41PM +0100, alexandre.belloni@bootlin.com wrote:
> From: Alexandre Belloni <alexandre.belloni@bootlin.com>
>
> As the mask is part of the enum, document it.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> ---

Reviewed-by: Frank Li <Frank.Li@nxp.com>

>  include/linux/i3c/master.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
> index 6e5328c6c6af..12d532b012c5 100644
> --- a/include/linux/i3c/master.h
> +++ b/include/linux/i3c/master.h
> @@ -298,6 +298,7 @@ enum i3c_open_drain_speed {
>   * @I3C_ADDR_SLOT_I2C_DEV: address is assigned to an I2C device
>   * @I3C_ADDR_SLOT_I3C_DEV: address is assigned to an I3C device
>   * @I3C_ADDR_SLOT_STATUS_MASK: address slot mask
> + * @I3C_ADDR_SLOT_EXT_STATUS_MASK: address slot mask with extended information
>   * @I3C_ADDR_SLOT_EXT_DESIRED: the bitmask represents addresses that are preferred by some devices,
>   *			       such as the "assigned-address" property in a device tree source.
>   * On an I3C bus, addresses are assigned dynamically, and we need to know which
> --
> 2.47.0
>
>
> --
> linux-i3c mailing list
> linux-i3c@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-i3c
diff mbox series

Patch

diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
index 6e5328c6c6af..12d532b012c5 100644
--- a/include/linux/i3c/master.h
+++ b/include/linux/i3c/master.h
@@ -298,6 +298,7 @@  enum i3c_open_drain_speed {
  * @I3C_ADDR_SLOT_I2C_DEV: address is assigned to an I2C device
  * @I3C_ADDR_SLOT_I3C_DEV: address is assigned to an I3C device
  * @I3C_ADDR_SLOT_STATUS_MASK: address slot mask
+ * @I3C_ADDR_SLOT_EXT_STATUS_MASK: address slot mask with extended information
  * @I3C_ADDR_SLOT_EXT_DESIRED: the bitmask represents addresses that are preferred by some devices,
  *			       such as the "assigned-address" property in a device tree source.
  * On an I3C bus, addresses are assigned dynamically, and we need to know which