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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1A10C25B0C for ; Mon, 8 Aug 2022 02:06:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241912AbiHHCGd (ORCPT ); Sun, 7 Aug 2022 22:06:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244186AbiHHCF7 (ORCPT ); Sun, 7 Aug 2022 22:05:59 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 024FB23BEE; Sun, 7 Aug 2022 18:44:58 -0700 (PDT) X-UUID: bae7f31d648c4ee5b78a8c5d3a6cbacf-20220808 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=vLXRd+5n/C4jd/IFfhxdX0ToHitHv8rhm+XFVzvPlao=; b=MnzB011Tt83VgoeBwOmDn86m/g1T9GZsCf5Kde4QW2ieJm0CIiTKCfD1tHm0S1IgXUdxYtSVRn0afn/KlEfJV7GBZ5Olm1pU/oALDrhsiCgrNs/eEqc9lvziomxRJ2NQMZjs9Iih9Satuy4pb4YpupI9GIGWdDxsfAETA7HjQiA=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.8,REQID:93888e7b-8df3-45d1-b952-2be5b409b5fb,OB:0,LO B:0,IP:0,URL:5,TC:0,Content:12,EDM:0,RT:0,SF:45,FILE:0,RULE:Release_Ham,AC TION:release,TS:62 X-CID-INFO: VERSION:1.1.8,REQID:93888e7b-8df3-45d1-b952-2be5b409b5fb,OB:0,LOB: 0,IP:0,URL:5,TC:0,Content:12,EDM:0,RT:0,SF:45,FILE:0,RULE:Spam_GS981B3D,AC TION:quarantine,TS:62 X-CID-META: VersionHash:0f94e32,CLOUDID:7c65029c-da39-4e3b-a854-56c7d2111b46,C OID:42f2a629ea52,Recheck:0,SF:28|17|19|48,TC:nil,Content:3,EDM:-3,IP:nil,U RL:1,File:nil,QS:nil,BEC:nil,COL:0 X-UUID: bae7f31d648c4ee5b78a8c5d3a6cbacf-20220808 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 947598297; Mon, 08 Aug 2022 09:44:27 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Mon, 8 Aug 2022 09:44:26 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 8 Aug 2022 09:44:25 +0800 Message-ID: <1063819a7cf61e8654cf0f7f54dba115ec714209.camel@mediatek.com> Subject: Re: [PATCH v5 2/2] i2c: mediatek: add i2c compatible for MT8188 From: Qii Wang To: , CC: , , , , , , , , , , , , , , Date: Mon, 8 Aug 2022 09:44:24 +0800 In-Reply-To: <20220806100249.12375-2-kewei.xu@mediatek.com> References: <20220806100249.12375-1-kewei.xu@mediatek.com> <20220806100249.12375-2-kewei.xu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org On Sat, 2022-08-06 at 18:02 +0800, kewei.xu@mediatek.com wrote: > From: Kewei Xu > > Add i2c compatible for MT8188 and added mt_i2c_regs_v3[], since > MT8188 i2c OFFSET_SLAVE_ADDR register changed from 0x04 to 0x94. > > Signed-off-by: Kewei Xu > Reviewed-by: AngeloGioacchino Del Regno < > angelogioacchino.delregno@collabora.com> Reviewed-by: Qii Wang > --- > v5: modify the order of mt_i2c_regs_v3[] members and add Reviewed-by > owner. > v4: no changes > V3: no changes > V2: added mt_i2c_regs_v3[] to replace slave_addr_version. > --- > drivers/i2c/busses/i2c-mt65xx.c | 43 > +++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > diff --git a/drivers/i2c/busses/i2c-mt65xx.c > b/drivers/i2c/busses/i2c-mt65xx.c > index 8e6985354fd5..bd8abba3d1c9 100644 > --- a/drivers/i2c/busses/i2c-mt65xx.c > +++ b/drivers/i2c/busses/i2c-mt65xx.c > @@ -229,6 +229,35 @@ static const u16 mt_i2c_regs_v2[] = { > [OFFSET_DCM_EN] = 0xf88, > }; > 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 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 4B9F6C19F2A for ; Mon, 8 Aug 2022 02:58:03 +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:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YcWve/C7ZHc4MhL1X9tUmgnSgOEfmsfQulQ+gO9EZMA=; b=dvMxtXf7hFDcgP pNSNUuL1EBVIvQ1PzHQ1o9fJGv/6IJjHS1vam3tpDaxNTPPSyAAp+gybaYT34983+RCT3nYcJwVL9 kwp71h3rQN/Ko6ltN16c+YMGcbg0dhtEcxvpDB3aGOG45XgG6U+u6rGdSLA0QRz0X6nGgT2vUzLRw eWg2fdkqwOAGOFlr/p2Dq/iJhaToDkoILMoWYPfuZdwvqOmY9gXZTsGfG3+IgockSFbsBXbauIrJd WSn0JrFjgOaBiWdOfJe21jW8c1tGuydWw+edq8rQOA+qsx1FaAtgKPs1GPxWQYes/rLqowKqIWO1G 82y13OSgASYQx7kULytQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oKswr-008HPh-Gr; Mon, 08 Aug 2022 02:56:57 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oKrp4-007hde-18; Mon, 08 Aug 2022 01:44:51 +0000 X-UUID: e6298e07c42544a9bccfaaf8eb36c51a-20220807 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.8,REQID:01f70402-1d8c-4dd9-a489-1999618b5157,OB:0,LO B:0,IP:0,URL:5,TC:0,Content:12,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACT ION:release,TS:17 X-CID-META: VersionHash:0f94e32,CLOUDID:2767029c-da39-4e3b-a854-56c7d2111b46,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:3,EDM:-3,IP:nil,URL:1,File:nil ,QS:nil,BEC:nil,COL:0 X-UUID: e6298e07c42544a9bccfaaf8eb36c51a-20220807 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1422669834; Sun, 07 Aug 2022 18:44:44 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Mon, 8 Aug 2022 09:44:26 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 8 Aug 2022 09:44:25 +0800 Message-ID: <1063819a7cf61e8654cf0f7f54dba115ec714209.camel@mediatek.com> Subject: Re: [PATCH v5 2/2] i2c: mediatek: add i2c compatible for MT8188 From: Qii Wang To: , CC: , , , , , , , , , , , , , , Date: Mon, 8 Aug 2022 09:44:24 +0800 In-Reply-To: <20220806100249.12375-2-kewei.xu@mediatek.com> References: <20220806100249.12375-1-kewei.xu@mediatek.com> <20220806100249.12375-2-kewei.xu@mediatek.com> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220807_184450_127960_437C8F0F X-CRM114-Status: GOOD ( 14.43 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, 2022-08-06 at 18:02 +0800, kewei.xu@mediatek.com wrote: > From: Kewei Xu > > Add i2c compatible for MT8188 and added mt_i2c_regs_v3[], since > MT8188 i2c OFFSET_SLAVE_ADDR register changed from 0x04 to 0x94. > > Signed-off-by: Kewei Xu > Reviewed-by: AngeloGioacchino Del Regno < > angelogioacchino.delregno@collabora.com> Reviewed-by: Qii Wang > --- > v5: modify the order of mt_i2c_regs_v3[] members and add Reviewed-by > owner. > v4: no changes > V3: no changes > V2: added mt_i2c_regs_v3[] to replace slave_addr_version. > --- > drivers/i2c/busses/i2c-mt65xx.c | 43 > +++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > diff --git a/drivers/i2c/busses/i2c-mt65xx.c > b/drivers/i2c/busses/i2c-mt65xx.c > index 8e6985354fd5..bd8abba3d1c9 100644 > --- a/drivers/i2c/busses/i2c-mt65xx.c > +++ b/drivers/i2c/busses/i2c-mt65xx.c > @@ -229,6 +229,35 @@ static const u16 mt_i2c_regs_v2[] = { > [OFFSET_DCM_EN] = 0xf88, > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel