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 X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable 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 75133C4320E for ; Wed, 1 Sep 2021 09:30:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 55DFD610CF for ; Wed, 1 Sep 2021 09:30:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243610AbhIAJbX (ORCPT ); Wed, 1 Sep 2021 05:31:23 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:49210 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S242467AbhIAJbV (ORCPT ); Wed, 1 Sep 2021 05:31:21 -0400 X-UUID: 784632d0a4e74f0293e348cc97810f7a-20210901 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=3H7PGSjS1HZq3ytiXyBDn6JR2baQSPIgF5JrLTFj+do=; b=ecwU46dF94rgaDgWXB+ndRpDYLTqjs1Em1wlw3G5uoLMLrMuobui7qyMNocATePw+yacbogwgkk4JK5Qds5gyRhtCxte3y96M8av/IWXIhuDWj8SV0sdvGfLlfbzvQ12DjKOTPuAKztDrxg8BVv6wCLcKuu7WjcRkuycYW17RFw=; X-UUID: 784632d0a4e74f0293e348cc97810f7a-20210901 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 979383038; Wed, 01 Sep 2021 17:30:20 +0800 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; Wed, 1 Sep 2021 17:30:19 +0800 Received: from [10.17.3.153] (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 1 Sep 2021 17:30:18 +0800 Message-ID: <1630488618.11251.4.camel@mhfsdcap03> Subject: Re: [PATCH v6 2/7] i2c: mediatek: Reset the handshake signal between i2c and dma From: Qii Wang To: Kewei Xu CC: , , , , , , , , , , , , , Date: Wed, 1 Sep 2021 17:30:18 +0800 In-Reply-To: <1630147859-17031-3-git-send-email-kewei.xu@mediatek.com> References: <1630147859-17031-1-git-send-email-kewei.xu@mediatek.com> <1630147859-17031-3-git-send-email-kewei.xu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCAyMDIxLTA4LTI4IGF0IDE4OjUwICswODAwLCBLZXdlaSBYdSB3cm90ZToNCj4gRHVl IHRvIGNoYW5nZXMgaW4gdGhlIGhhcmR3YXJlIGRlc2lnbiBvZiB0aGUgaGFuZHNoYWtpbmcgc2ln bmFsDQo+IGJldHdlZW4gaTJjIGFuZCBkbWEsIGl0IGlzIG5lY2Vzc2FyeSB0byByZXNldCB0aGUg aGFuZHNoYWtpbmcNCj4gc2lnbmFsIGJlZm9yZSBlYWNoIHRyYW5zZmVyIHRvIGVuc3VyZSB0aGF0 IHRoZSBtdWx0aS1tc2dzIGNhbg0KPiBiZSB0cmFuc2ZlcnJlZCBjb3JyZWN0bHkuDQo+IA0KPiBT aWduZWQtb2ZmLWJ5OiBLZXdlaSBYdSA8a2V3ZWkueHVAbWVkaWF0ZWsuY29tPg0KPiAtLS0NCj4g IGRyaXZlcnMvaTJjL2J1c3Nlcy9pMmMtbXQ2NXh4LmMgfCAyNiArKysrKysrKysrKysrKysrKysr KysrKysrKw0KPiAgMSBmaWxlIGNoYW5nZWQsIDI2IGluc2VydGlvbnMoKykNCj4gDQoNClJldmll d2VkLWJ5OiBRaWkgV2FuZyA8cWlpLndhbmdAbWVkaWF0ZWsuY29tPg0KDQo= 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 X-Spam-Level: X-Spam-Status: No, score=-15.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_2 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 23D70C4320A for ; Wed, 1 Sep 2021 10:59:15 +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 E475661058 for ; Wed, 1 Sep 2021 10:59:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E475661058 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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: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=6pmtfdoZP9llgQqiMgjB0JPh5+r1+BnB+7cBbIN+sAA=; b=C0y+AK89P76bTd caegdlHoXq9rrFZfnxGanJg9ZBMktlSmwERc1VAAVNaVjY3JSRtxCcOgxaeuVutOuKa4YUniFPaMR YUVgquXrh7WutQ3X5tFtr9q/3owgt5Fxi9HN0HggdMDugeyU672Al5ZR1HBNEp74Bz1II30WktfdE fJcBSwy8EDh6iXoXq6+uxRvzMMS/Zvq4b+xUjCJb0JEmg8Bph58OgL+pt1k9opuNoU44SKESh19aU zSi0jMOeGHi4kojn7obPxbQDW6N8W+WQ69Ad8TFu4m9a/+pkzQIEmysFNxALKNoSmvzirLaIqgeIS xYYo4GgtCWzfCKbODKEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLNxM-005OJG-Oq; Wed, 01 Sep 2021 10:59:00 +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 1mLMZh-004tor-Hc; Wed, 01 Sep 2021 09:30:33 +0000 X-UUID: ca2c92a2030e4f15933a08979095c7fc-20210901 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=3H7PGSjS1HZq3ytiXyBDn6JR2baQSPIgF5JrLTFj+do=; b=ecwU46dF94rgaDgWXB+ndRpDYLTqjs1Em1wlw3G5uoLMLrMuobui7qyMNocATePw+yacbogwgkk4JK5Qds5gyRhtCxte3y96M8av/IWXIhuDWj8SV0sdvGfLlfbzvQ12DjKOTPuAKztDrxg8BVv6wCLcKuu7WjcRkuycYW17RFw=; X-UUID: ca2c92a2030e4f15933a08979095c7fc-20210901 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 67506468; Wed, 01 Sep 2021 02:30:22 -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, 1 Sep 2021 02:30:20 -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; Wed, 1 Sep 2021 17:30:19 +0800 Received: from [10.17.3.153] (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 1 Sep 2021 17:30:18 +0800 Message-ID: <1630488618.11251.4.camel@mhfsdcap03> Subject: Re: [PATCH v6 2/7] i2c: mediatek: Reset the handshake signal between i2c and dma From: Qii Wang To: Kewei Xu CC: , , , , , , , , , , , , , Date: Wed, 1 Sep 2021 17:30:18 +0800 In-Reply-To: <1630147859-17031-3-git-send-email-kewei.xu@mediatek.com> References: <1630147859-17031-1-git-send-email-kewei.xu@mediatek.com> <1630147859-17031-3-git-send-email-kewei.xu@mediatek.com> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210901_023029_656265_E7126B13 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Sat, 2021-08-28 at 18:50 +0800, Kewei Xu wrote: > Due to changes in the hardware design of the handshaking signal > between i2c and dma, it is necessary to reset the handshaking > signal before each transfer to ensure that the multi-msgs can > be transferred correctly. > > Signed-off-by: Kewei Xu > --- > drivers/i2c/busses/i2c-mt65xx.c | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > Reviewed-by: Qii Wang _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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 X-Spam-Level: X-Spam-Status: No, score=-15.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_2 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 5ADC1C432BE for ; Wed, 1 Sep 2021 11:02:28 +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 19BAE6056B for ; Wed, 1 Sep 2021 11:02:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 19BAE6056B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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: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=tqKNZ4+5TfjXVIxYngU6wHJL0nv+503ezXjpEis97Z0=; b=wLYKC1wKLSxLxS 1gkPhO3p/rW9y4WVj9Yo9ihYYnH7ruGaGcFDyFBeRCW7gHsagEf0X35KxSFoKVgG1xn2+JXD8+GEZ 1hPZebpvJmMhQDKHDuwSkCMVu5uTprbEPKf9cVCcLMoegn2osv1ooogJmrH5HahXgtVy5C74rKZ35 y1y8w/wPI1aqZK4WeDCt0r+84pyJhrU3ALu7x7j8y6eT8CH5AflQtUtidvkKKZ+dWK+jfiz16XA7R +9a/z9dn4EiPAHpZLrAxFqWkSuI2goYcQ8Va3d5mnSxf2U/EL+KRPi/6e4+2a7TbrYJZSj6kCJ5Sk Q4Kak99XG47YiyL+uejw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLNxW-005OKV-Uy; Wed, 01 Sep 2021 10:59:12 +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 1mLMZh-004tor-Hc; Wed, 01 Sep 2021 09:30:33 +0000 X-UUID: ca2c92a2030e4f15933a08979095c7fc-20210901 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=3H7PGSjS1HZq3ytiXyBDn6JR2baQSPIgF5JrLTFj+do=; b=ecwU46dF94rgaDgWXB+ndRpDYLTqjs1Em1wlw3G5uoLMLrMuobui7qyMNocATePw+yacbogwgkk4JK5Qds5gyRhtCxte3y96M8av/IWXIhuDWj8SV0sdvGfLlfbzvQ12DjKOTPuAKztDrxg8BVv6wCLcKuu7WjcRkuycYW17RFw=; X-UUID: ca2c92a2030e4f15933a08979095c7fc-20210901 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 67506468; Wed, 01 Sep 2021 02:30:22 -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, 1 Sep 2021 02:30:20 -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; Wed, 1 Sep 2021 17:30:19 +0800 Received: from [10.17.3.153] (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 1 Sep 2021 17:30:18 +0800 Message-ID: <1630488618.11251.4.camel@mhfsdcap03> Subject: Re: [PATCH v6 2/7] i2c: mediatek: Reset the handshake signal between i2c and dma From: Qii Wang To: Kewei Xu CC: , , , , , , , , , , , , , Date: Wed, 1 Sep 2021 17:30:18 +0800 In-Reply-To: <1630147859-17031-3-git-send-email-kewei.xu@mediatek.com> References: <1630147859-17031-1-git-send-email-kewei.xu@mediatek.com> <1630147859-17031-3-git-send-email-kewei.xu@mediatek.com> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210901_023029_656265_E7126B13 X-CRM114-Status: GOOD ( 11.39 ) 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, 2021-08-28 at 18:50 +0800, Kewei Xu wrote: > Due to changes in the hardware design of the handshaking signal > between i2c and dma, it is necessary to reset the handshaking > signal before each transfer to ensure that the multi-msgs can > be transferred correctly. > > Signed-off-by: Kewei Xu > --- > drivers/i2c/busses/i2c-mt65xx.c | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > Reviewed-by: Qii Wang _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel