From patchwork Thu Jul 15 02:29:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kewei Xu X-Patchwork-Id: 12378327 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48199C12002 for ; Thu, 15 Jul 2021 02:39:18 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0B689613CA for ; Thu, 15 Jul 2021 02:39:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B689613CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=qXJmhOfdsI2TG1YCtrCL7gSKRL8Eam8t/S6RCFqJO6I=; b=GFyZYGF5Bt+VJ8 su7l8kp31gaWsCWGOC0z5MYVjNsJwVmT3A9RlsViYobIm2/iRy0UYJuVXrucMfVQ1ZLaMPZ2OINjB yS+0Byce833K69VmQEcLMVFZfjV9N6QhogW73FK7puN5SLhNdP9wVxsXgaWpoiKEs9KcyORB3Bizp SrmipN4oF394KCLKoUvVE/HycWHeGZ82y/hIseIMoy/SksGx+LfBO4y+H30x8CsBX0+XINdakJue0 KHcOP2+5ORvTpTwmi1O9o5ZoBqB4vjqe82b+mlLojvpwjs/iONDlMxOyP3B5SFmw7XVKMpiBdBCN+ zP+c7hDuGsV/WXGUl8uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3rFl-00GuvJ-TT; Thu, 15 Jul 2021 02:37:34 +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 1m3rFi-00GusR-7H; Thu, 15 Jul 2021 02:37:31 +0000 X-UUID: ccae12b03fc141d9928a1a6fdf5426ee-20210714 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=omQLAI+f8bCAeWFIz+lZ7azuWVtJP4AJX0kLursor5g=; b=jM1FPL3E+AxoYTbjI3ABZuKPNqsvMMSAYT/GgXNZR2HEGvGW5VfiXiSMn05aIEXWoq4a62gkCOntlTHC1QAZ9QoKDlzxg3BbAr+ssfDW2qJ538m/l195fryhy/y/mov/Fv7Kg611lfYhmWIzcGq8oKAi+351o9xJmaoawWwFTXw=; X-UUID: ccae12b03fc141d9928a1a6fdf5426ee-20210714 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 1226801001; Wed, 14 Jul 2021 19:37:28 -0700 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 14 Jul 2021 19:30:10 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 15 Jul 2021 10:30:08 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 15 Jul 2021 10:30:08 +0800 From: Kewei Xu To: CC: , , , , , , , , , , , , Subject: [PATCH 0/8] Due to changes in hardware design, add patch to Date: Thu, 15 Jul 2021 10:29:09 +0800 Message-ID: <1626316157-24935-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-20210714_193730_323493_EB1AE94D X-CRM114-Status: UNSURE ( 7.53 ) 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 1. In order to facilitate the review, the two series of patches submitted before have been integrated together. 2. Resubmit a patch to fixing the incorrect register value. 3. Add modify bus speed calculation formula patch Kewei Xu (8): dt-bindings: i2c: update bindings for MT8195 SoC i2c: mediatek: Dump i2c/dma register when a timeout occurs i2c: mediatek: fixing the incorrect register offset i2c: mediatek: Reset the handshake signal between i2c and dma i2c: mediatek: Add OFFSET_EXT_CONF setting back dt-bindings: i2c: add attribute default-timing-adjust i2c: mediatek: Isolate speed setting via dts for special devices i2c: mediatek: modify bus speed calculation formula .../devicetree/bindings/i2c/i2c-mt65xx.txt | 3 + drivers/i2c/busses/i2c-mt65xx.c | 229 +++++++++++++++++++-- 2 files changed, 217 insertions(+), 15 deletions(-) --- 1.9.1