mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: alexandre.belloni@bootlin.com
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] i3c: document i3c_xfers
Date: Tue, 2 Dec 2025 11:48:23 -0500	[thread overview]
Message-ID: <aS8YVyiKZOSZq7+g@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20251202153804.2640623-2-alexandre.belloni@bootlin.com>

On Tue, Dec 02, 2025 at 04:38:03PM +0100, alexandre.belloni@bootlin.com wrote:
> From: Alexandre Belloni <alexandre.belloni@bootlin.com>
>
> i3c_xfers was left undocumented, document it.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> ---

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

>  include/linux/i3c/master.h | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
> index d0d5b3a9049f..2fd850f4678b 100644
> --- a/include/linux/i3c/master.h
> +++ b/include/linux/i3c/master.h
> @@ -418,7 +418,11 @@ struct i3c_bus {
>   * @send_ccc_cmd: send a CCC command
>   *		  This method is mandatory.
>   * @priv_xfers: do one or several private I3C SDR transfers
> - *		This method is mandatory.
> + *		This method is mandatory when i3c_xfers is not implemented. It
> + *		is deprecated.
> + * @i3c_xfers: do one or several I3C SDR or HDR transfers
> + *	       This method is mandatory when priv_xfers is not implemented but
> + *	       should be implemented instead of priv_xfers.
>   * @attach_i2c_dev: called every time an I2C device is attached to the bus.
>   *		    This is a good place to attach master controller specific
>   *		    data to I2C devices.
> --
> 2.52.0
>

  reply	other threads:[~2025-12-02 16:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-02 15:38 [PATCH 1/2] i3c: fix I3C_SDR bit number alexandre.belloni
2025-12-02 15:38 ` [PATCH 2/2] i3c: document i3c_xfers alexandre.belloni
2025-12-02 16:48   ` Frank Li [this message]
2025-12-02 16:47 ` [PATCH 1/2] i3c: fix I3C_SDR bit number Frank Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aS8YVyiKZOSZq7+g@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=linux-i3c@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®