From patchwork Wed Feb 9 09:54:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kewei Xu X-Patchwork-Id: 12740037 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9FC3CC433EF for ; Wed, 9 Feb 2022 10:09:52 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9LFGQfLZq4yj6RKhOTrjbAyOgUCjsZaijZ0dZqP9kGo=; b=2KsAhXqhjg0pfH GTc1QK+O85BIxW9tJUiy1TrwclGB/6LzE16r0r8WIquBYKHqh5aznVFLBDq64xEpOaS0fn0wdBbtn w2dfClJaIF0K9dRxnH+8PjHxR1O/QN0PvTaZGSXe69swZjtkuw6349oJ7itJVjmk96QeIb4EWCHgC WTKlfJfwkC/ek5I7w3Q/AN3hetIfODRbtNYpcLt5QPdNCiCHMOnRFzGzIS+0gTh7aPJx37FpX3C1B KJVoQ6xcRU/I5IiP2ilHIAG1ugtWF6srh98dQrH6rDqXQEPYkICb4deSzFPD221Hxm+YGqVFebAzR aDhIQV+F66uU1H9NoXCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjtY-00H7Rt-Pd; Wed, 09 Feb 2022 10:08:19 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjg4-00H05U-Kj; Wed, 09 Feb 2022 09:54:22 +0000 X-UUID: dcda18827ea14c2ba271a5d9a119227e-20220209 X-UUID: dcda18827ea14c2ba271a5d9a119227e-20220209 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1481238026; Wed, 09 Feb 2022 02:54:15 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Feb 2022 01:54:13 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Wed, 9 Feb 2022 17:54:12 +0800 Received: from localhost.localdomain (10.17.3.14) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 9 Feb 2022 17:54:11 +0800 From: Kewei Xu To: CC: , , , , , , , , , , , , , , , , Subject: [PATCH v9 0/1] Introducing an attribute to select the time setting Date: Wed, 9 Feb 2022 17:54:06 +0800 Message-ID: <1644400447-6215-1-git-send-email-kewei.xu@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_015420_712808_C0155BC2 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org v9: 1. Base on for-next remove received patch 2. Update ac-timing calculation algorithm to make i2c ac-timing meet specification and function normal. v8: Remove received patch v7: Resubmit the patch based on version 5.15-rc1 v6: 1. Add the judgment condition, clear the handshake signal between dma and i2c when multiple msgs are transmitted. v5: 1. Replace the previous variable name "default_timing_adjust" with "use-default-timing" 2. Added waiting for dma reset mechanism 3. Remove received patch(dt-bindings: i2c: update bindings for MT8195 SOC) v4: 1. Remove the repeated assignment of the inter_clk_div parameter 2. Modify the wrong assignment of OFFSET_MULTI_DMA 3. Unify the log print format of the i2c_dump_register() and drop the extra outer parentheses 4. Place the fixes at the very least 5. Add fixed tags commit 25708278f810 ("i2c: mediatek: Add i2c support for MediaTek MT8183") 6. Add "i2c: mediatek: modify bus speed calculation formula" 7. Fix single line characters exceeding 80 characters 8. Combine two different series of patches. v3: 1. Fix code errors caused by v2 modification v2: 1. Add "dt-bindings: i2c: add attribute default-timing-adjust" 2. Split the fix into sepatate patch. Kewei Xu (1): i2c: mediatek: modify bus speed calculation formula drivers/i2c/busses/i2c-mt65xx.c | 51 ++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 10 deletions(-) --- 2.18.0