From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B6BE60A261B for ; Mon, 2 Nov 2026 07:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=j/LiVGqK; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=lqyqxqea DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id :Date:Subject:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=+xZx6qIw37vhSxAY/WeHD5pV1zX+DArFOQ1jqjwZfIQ=; b=j/LiVGqKURmFQ1GuEJ4GYc209s sYy8xkUI7PszkkjopSXaeFXK/dCM5UxpVEmoHI5aTNzLwDC+7hsoehgrRlop9IHHT7K8IMblFPZHk uk/9GQ6RSZkeLoqo4snTSjOCBQaMfEniar26yo+C5gbDcNedCaPUISPg1BvEtSLEqiZCq1G2TzZoo ayDGbvO3d9XfsOGrtR2TPUWxeeAxBfqxelvmbGWkGiNeJvp1DbM8tlvafaTTzZCFhVjxQlcg2nwD+ 3eJ6gnQ859OVBSM6koCseFIs8xC/Dfzg4zDJ2GdQv6iKkLoYU8uOZdJXeLHBb4Q/MRNQke7W36idC GFs8fuVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xNmm9-0000000Fmv2-0k0K; Mon, 02 Nov 2026 07:48:17 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xNmm6-0000000FmuF-15NG for linux-amlogic@lists.infradead.org; Mon, 02 Nov 2026 07:48:14 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 75AD860DC0; Mon, 2 Nov 2026 07:48:13 +0000 (UTC) Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1793605693; b=dkHaFGadM+u2VKAqC5nmhpCRPlkk0oH2HAgdpzGT/Qz4dM83peUdCCzL1YTHypAvlNhX ciC5ayp0bufhu3OA4GwO2JDfgVI0dgWZIrNH2Moy8L9ubxrr4geu/aQzy4ysjhDMlSegF F3eviX4UTBEMF9xxPLDR/FftMtd2i4r5kp2YNi0tIR77iwGm/pDdU70C5eTiWZ3JDY+6d UjRc4ucuFe3pIKR8cu1/Zt8gLoa0aVpeAgKksE0lqtQuSTD3YiXcpY2Kk1EbPIgWF6P2w VMoCEcZ+XSLZifn7YGIlewwjrg+EDgzHrMKheQ+KCANtoOhJ1thonmQ2kj9fewwD/1w== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1793605693; h=DKIM-Signature:Received:From:Subject:Date:Message-Id:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To; bh=C38BuGd0bfYisxrxsIaUK6a3tH1ZGJCB/km1kK1SgKU=; b=xkLSqG2by6xjg19fWSvfU2QbcNCW/utnUBWVx7DLqG6AVGSCcoGDaBRjC2h5dboxh5vv bosWOUTK8Zw0J7KM/wh05gMPJ8T+NbWF84AjOx6My5OYtCHoOKrniKLD+X+C3QQIwmUuB BiSGJm//ijeAxJhhrDqJYhqS6efm+dLmucYJCt/98AiB+KjpUjhq26eZyfGbHkP3P0nmv cf0y1NjRFswiAmhsk2kGclwEZD7aMIUG9k/Lwq1bsDQEWtKoCvM9zAKHL33EhryNCMigX TostTfIGhCIVRn6p7QRawyuFgCDT+Su6/VM/ZZfHSLpTwX9LAnZLWLQW/xWOKpQ2H8w== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 7CD911F00A16; Mon, 2 Nov 2026 07:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793605693; bh=C38BuGd0bfYisxrxsIaUK6a3tH1ZGJCB/km1kK1SgKU=; h=From:Subject:Date:To:Cc:Reply-To; b=lqyqxqeatC2Gy9pLsSPNQXYiGlKuNG4aRQqnNYy5KEGOOKTPsy8c6LYyamc+ea9Vx lyaUjCyAyFlazVV35MQnXO6UwitDs9+2zfvriYqrfPoIO9dafxUfYbf1EirlsokNoo h/F8FjLzsDb8MqqhnbvNI0IDB4XVqkDRuYSwxIE8CX2ov374ztEzhZiCCgIlRjobtv oCuEkMpIFn+vW+cm68pqafTl2RBgB1WVn0mIYrCCF8qK1KUXTBmUNgyd2ha1wae9kJ fSJehkbqNJ4PWdv2bXvMwaSsMZFou2atRzZnbfsghah3eyb2jy+PxUxxb+VdQk0Gbe Tcwz1HeFFbTAQ== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id CC5F2463F4; Mon, 2 Nov 2026 07:48:11 +0000 (UTC) From: Xianwei Zhao via B4 Relay Subject: [PATCH v4 0/2] i2c: Add driver support Amlogic A9 I2C Date: Mon, 02 Nov 2026 07:48:04 +0000 Message-Id: <20261102-a9-i2c-v4-0-5a169215b8e9@amlogic.com> X-Archived-By: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADRA6GoC/2WNzQ7CIBAGX6XhLAoL/fPkexgPsG4tiW0NNE2N6 bsLRhuNx2+ZYR4skHcU2D57ME+TC27o49CbjGFr+gtxd46bgYBC1FJyU3MHyEHrsiIAKirFImx NIG696bFNeER2CetpHtPzzVPj5lfneIq7dWEc/P2VnWS6vgugP4VJcsFtZc611UWjTXUw3XW4O Nzi0LH0yQSrKAXAKkIUdU4KqZFlbpt/UX2L9SqqKJZWCUQUIlfqV1yW5QkIAJg9LwEAAA== X-Change-ID: 20260911-a9-i2c-24478e22e683 To: Junyi Zhao , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Xianwei Zhao Cc: Junyi Zhao , linux-i2c@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Xianwei Zhao , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1793605689; l=1910; i=xianwei.zhao@amlogic.com; s=20251216; h=from:subject:message-id; bh=9OQOd2rrl9WlOLjkuFw/sxdkDaySWYrLQRhEJmJuB6s=; b=J0LHiuTQFweKm5XAIdH5d58CBCOophPTriobO2pHaW+S2/jX9DKMXBcO3uotTgSOZHrrGM+KC f2yTpYhjnkRCXXUXuYQy0NOgCImKNM/Py62w3WGsMQuZMp3V2Vwexdp X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=dWwxtWCxC6FHRurOmxEtr34SuBYU+WJowV/ZmRJ7H+k= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20251216 with auth_id=578 X-Original-From: Xianwei Zhao X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: xianwei.zhao@amlogic.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Add a Device Tree binding and driver for the I2C controller found on the Amlogic A9 SoC. Signed-off-by: Xianwei Zhao --- Changes in v4: - Repocess xfer len equal 0 use I2C_AQ_NO_ZERO_LEN, and Optimized the function. - Disable A9_RX_THRESH_READ/A9_TX_THRESH_WRITE enables of irq when xfer timeout. - Use guard(spinlock_irqsave) instead for direct call spinlock in xfer timeout process. - Link to v3: https://lore.kernel.org/r/20261029-a9-i2c-v3-0-7b30ccc00533@amlogic.com Changes in v3: - Based on the questions raised by the robot, the data flow was reorganized. - Some processing was optimized according to Andi's and Markus's suggestions. - Link to v2: https://lore.kernel.org/r/20261022-a9-i2c-v2-0-45e3cef175bf@amlogic.com Changes in v2: - dtbinding: make some minor modifications, suggestted by Conor and robot. - driver: Make some adjustments, including macro definitions, format adjustments, adding quirks, process optimization, and so on. According to Andi and robot's suggestion - Give up MAINTAINERS file the separate submission, make it together with the driver. - Link to v1: https://lore.kernel.org/r/20260924-a9-i2c-v1-0-b8ad9b46f4a8@amlogic.com --- Junyi Zhao (1): i2c: amlogic: Add Amlogic A9 I2C controller driver Xianwei Zhao (1): dt-bindings: i2c: add Amlogic A9 I2C controller .../devicetree/bindings/i2c/amlogic,a9-i2c.yaml | 56 +++ MAINTAINERS | 9 + drivers/i2c/busses/Kconfig | 8 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-amlogic-a9.c | 431 +++++++++++++++++++++ 5 files changed, 505 insertions(+) --- base-commit: 4ec2365c08de306f52650d8736aef5862baedb8d change-id: 20260911-a9-i2c-24478e22e683 Best regards, -- Xianwei Zhao _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic