Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2077614pxb; Sat, 28 Aug 2021 03:53:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEYek3qqbc7BG3QjMDzczhpj4AZeURNOnyV/pSrvCyHJ0JQkOc5fMIzxt1fKjKrW4GTuey X-Received: by 2002:a05:6402:2901:: with SMTP id ee1mr12068075edb.199.1630147989015; Sat, 28 Aug 2021 03:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630147989; cv=none; d=google.com; s=arc-20160816; b=Q+5PkYJUxLnTIUMnuMOSlw1mQQGkzIBHgFtW875e0BOQI2Xa4SQMHDYtM3QcWkaTFG r46neAA73XHiHcnMpkOEiTQmHtBQTnsFZWsR1Llb42Pb+iUig1CdMa8umI60WjzRl8YZ m/l8pfJzqgNzXm1lz7mw/AP0mi6V5hi7MbPKoAe/yA5VvDCzlg2RX9g2IuKJ1X0spzv/ ITWEb50m366ubHmRazyfcjXgAw/GzFjC+LauaatLItErPEWm/iTjD3lTgXJ3W4A2aKsX 98RvKo9oMu50qBp69O7XpLl22k5I2yNOyt8jxVDJQ5H5JQbNNyGn72/aUiCQetwzAzn4 x+fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=DafMFPGvJ/O8lLr4uU4sLt1yRDKjNKSl6f04D3pAHsQ=; b=sYKGSFtDDDWJK3SQAg0H7ovbRT+fQX0oDTJmjWCVQqEN+gG4my9bDEG+gvEqDv5qiU ZXBR3+mL/9+blAMInOxAP8SgOVxszWKlJ9vo75OEk5wKzNLF1UtDnDA5yHNpWp0BgVF7 7zUqi6uXRU1VVNr+h5DL1mR2MQelWWbvHchxTlte/gXDbDr8BIh8qO1ihWgqKZTuo/6k cx2gfUg+YB+eQ/14I1HBKk4piS3LgoRRbCf6ZhYL4iezxwZLGimb9+XvjKEhI+uVgbRU GUdNp/4neYX42LYSfzVuUPWQbqOv16TkR7ibXVTnOd7u6dNR5s/UA98XarTVnMbOHzVq ACaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nd15si8117333ejc.463.2021.08.28.03.52.45; Sat, 28 Aug 2021 03:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233870AbhH1KwM (ORCPT + 99 others); Sat, 28 Aug 2021 06:52:12 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:33164 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234005AbhH1KwD (ORCPT ); Sat, 28 Aug 2021 06:52:03 -0400 X-UUID: 347127cbbc55421bb26c313caeabaa0f-20210828 X-UUID: 347127cbbc55421bb26c313caeabaa0f-20210828 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 993094991; Sat, 28 Aug 2021 18:51:10 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 28 Aug 2021 18:51:08 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 28 Aug 2021 18:51:07 +0800 From: Kewei Xu To: CC: , , , , , , , , , , , , , , Subject: [PATCH v6 0/7] Introducing an attribute to select the time setting Date: Sat, 28 Aug 2021 18:50:52 +0800 Message-ID: <1630147859-17031-1-git-send-email-kewei.xu@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v6: 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 (7): i2c: mediatek: fixing the incorrect register offset 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: Add OFFSET_EXT_CONF setting back 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 | 207 ++++++++++++++++-- 2 files changed, 192 insertions(+), 17 deletions(-) -- 2.18.0