From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53839C433FE for ; Sun, 10 Oct 2021 07:05:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3CDCD60F9D for ; Sun, 10 Oct 2021 07:05:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230465AbhJJHHV (ORCPT ); Sun, 10 Oct 2021 03:07:21 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:55514 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230366AbhJJHHS (ORCPT ); Sun, 10 Oct 2021 03:07:18 -0400 X-UUID: 2fd26136496b4228af05345114233bf5-20211010 X-UUID: 2fd26136496b4228af05345114233bf5-20211010 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 696301497; Sun, 10 Oct 2021 15:05:17 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Sun, 10 Oct 2021 15:05:15 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 10 Oct 2021 15:05:14 +0800 From: Kewei Xu To: CC: , , , , , , , , , , , , , , Subject: [PATCH v8 0/5] Introducing an attribute to select the time setting Date: Sun, 10 Oct 2021 15:05:11 +0800 Message-ID: <20211010070516.26763-1-kewei.xu@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org 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 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 (5): i2c: mediatek: Reset the handshake signal between i2c and dma i2c: mediatek: Dump i2c/dma register when a timeout occurs dt-bindings: i2c: add attribute use-default-timing i2c: mediatek: Isolate speed setting via dts for special devices i2c: mediatek: modify bus speed calculation formula .../devicetree/bindings/i2c/i2c-mt65xx.txt | 2 + drivers/i2c/busses/i2c-mt65xx.c | 192 ++++++++++++++++-- 2 files changed, 180 insertions(+), 14 deletions(-) -- 2.18.0