From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4052026C399 for ; Tue, 2 Dec 2025 15:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764689901; cv=none; b=etR5RpxRrevZeMwBgNG5qLNSrqB8oA3YN6+U02knf8o1XciGx3rYj0eSvc4gdYwG0GsfZdnDkHrpPljORAFYR/J+6QxQNFuWK/cdzerDcMyhS3/6PMD0Zsw8kC7YRNgcadDGVkfw+NrQlKssLwhyYwTnmloV4SQvxNjHMjY8FJc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764689901; c=relaxed/simple; bh=p4AAQjjIYOk2rZ7mKCKJFFb4Vrxucplq9H15GdaS2vI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TBf0yUfrqoPa78KD5rZ9PFe8XALQ8xwf1gefRMXEv3KykPDi2OB3wa6Uzj4rDl+Yk9TJIeXq4fvXd4Wm9kLxwfca/nUGOE8LuNBcyWILY2WpKIbzGd0Xg5D7Bni3HLWQT7FkqjNXyqfZog4pMW8uNlcdGu5gWrgNUHv8fCxDAaM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=XVXRSgvc; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="XVXRSgvc" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 7DEAE1A1ED8; Tue, 2 Dec 2025 15:38:16 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 55482606D6; Tue, 2 Dec 2025 15:38:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0AF1D102F08E5; Tue, 2 Dec 2025 16:38:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1764689895; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=VUDe5XVoUYzmn1Ml/QBYqYiy04e9d+UQcI+zQWAxNzA=; b=XVXRSgvcLiPoaUZU8uLxbaig//foPvOU6umpRrCymMj/QGSgcdUr0jLfdADdbEk0DhvDmu odDKlwOC6yI+u2DGXbdU1a48z3Lsmtk0sQqIdBKHeNDJmah7opOHu1A9m/0qGgb0fUFQdG EUjYbAsMkkRH5BqlpJ8+9xD57JmkpuyNZrdKPwM9zSeq2WjeUnwi/v5vHFHHYJu5XuNXo+ 15Iao1ztgm2elmtihZ3vMZ/UiadtuDtWnlzfj9WPQuBaArQISyYOlLaMrdYwKrgfLHOLi+ sogzXRKjGxwgKyGloh/1u60NYMY6uK1JIfAgy1sd07d9D8qrBv8VE1PYWgK/kg== From: alexandre.belloni@bootlin.com To: Alexandre Belloni , Frank Li Cc: Stephen Rothwell , linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] i3c: document i3c_xfers Date: Tue, 2 Dec 2025 16:38:03 +0100 Message-ID: <20251202153804.2640623-2-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251202153804.2640623-1-alexandre.belloni@bootlin.com> References: <20251202153804.2640623-1-alexandre.belloni@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 From: Alexandre Belloni i3c_xfers was left undocumented, document it. Reported-by: Stephen Rothwell Signed-off-by: Alexandre Belloni --- 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