Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp232515pxb; Sat, 21 Aug 2021 00:47:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFfEe4S/phzMdSjoNJOBuIVA/bBwpcwpiMcwBok4sh0UVZmtsi/Lw6tc5e5S/5zI0/R3y1 X-Received: by 2002:a17:907:a078:: with SMTP id ia24mr25288968ejc.207.1629532050586; Sat, 21 Aug 2021 00:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629532050; cv=none; d=google.com; s=arc-20160816; b=oR3wBc+9ihwdXAKdmjRS9V5BhB+0SEb19qjjAB9a26GOWCLGc1/R2bA+Fo6n7iw4fQ 24nHqs2D9y16s8rcx+xVvWXOsGiFIGMv4mksz5Sb2ibw1m0Frb0hgOgV+7BD1aU10p/Z k9uuPi+Iba6QCrs3j+g3YLzmjRBu5BUcwjhV8nLecy9NH7fhW0/JqHfivpO6NQ7dNCIk E0F1Q/wVz2UiIvRZ/onijOQtRMUwnhpamc66hIIpHdhl22C0+I3J8U4anwnQ8MDBSifY zItvMUULsMc3X4aJt+MfS4vsO1s1bu16KLwyRnNgbdil2eodSwyZktl4v92HZObD75SX TpzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=BZuld3Pemgzl736JSP8kztfRG7SFrLKgqimIWjvahso=; b=zsKiSsOoRcqq9SpLMaHjteyPpfnH273zMGAo6C9aGHdShE7f1LJu53od9TvG9K7MB4 TAXFLaytGBJsM/GvJ6l95t7sINjCAXPtiVzIkxxabAdSqEEZuK9aohgmh3gAD348Exn3 1RFPiXxkxAkznf/rBlDYoGRT63qEsUUTHEySWZxvo6LXCvhkjkkab6LgGXw9UaqIEOKC hAWvgMPpbdgWkZSnYaCxcybQ3c0o2veTmNepm2GTytmj82PvxrUTY/er4t4ZP9xByWz9 eWGjX5V//Flkuh7cosQ2QR8QGhKBJGBluMNo9jzFhBzLeE77F/63HNIW3+LrngITg6AE z69A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="KMemjg/J"; 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=pass (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 o4si9104047edi.284.2021.08.21.00.47.06; Sat, 21 Aug 2021 00:47:30 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b="KMemjg/J"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232992AbhHUHl3 (ORCPT + 99 others); Sat, 21 Aug 2021 03:41:29 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:58224 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232195AbhHUHl3 (ORCPT ); Sat, 21 Aug 2021 03:41:29 -0400 X-UUID: 2a75eff14ac5463ab90bb4ff072b6551-20210821 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=BZuld3Pemgzl736JSP8kztfRG7SFrLKgqimIWjvahso=; b=KMemjg/JbriLuYuBRYBhKoqnFZ7P/YW1HOHG0XKDEbZyayIVNDLW3l5iTHrWJJBfPj1XEmEmUge6bV3jXm86CLbo3kbeP72Qycq0NBWKZIz+iehg03/oqlMDH158hMJNZZQLVkJQZuexW2Egui0/poYaNWUj8bEM13WG1vSA+n4=; X-UUID: 2a75eff14ac5463ab90bb4ff072b6551-20210821 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 786966555; Sat, 21 Aug 2021 15:40:46 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 21 Aug 2021 15:40:45 +0800 Received: from mhfsdcap04 (10.17.3.154) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 21 Aug 2021 15:40:44 +0800 Message-ID: Subject: Re: [PATCH v4 3/8] i2c: mediatek: Reset the handshake signal between i2c and dma From: Kewei Xu To: Chen-Yu Tsai CC: , Matthias Brugger , "Rob Herring" , , Devicetree List , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , LKML , "moderated list:ARM/Mediatek SoC support" , srv_heupstream , , , , , Date: Sat, 21 Aug 2021 15:40:45 +0800 In-Reply-To: References: <1626517079-9057-1-git-send-email-kewei.xu@mediatek.com> <1626517079-9057-4-git-send-email-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 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIxLTA4LTExIGF0IDE2OjQxICswODAwLCBDaGVuLVl1IFRzYWkgd3JvdGU6DQo+ IEhpLA0KPiANCj4gT24gU2F0LCBKdWwgMTcsIDIwMjEgYXQgNjoyOSBQTSBLZXdlaSBYdSA8a2V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gPiBAQCAtNDcsNiArNDcsOSBAQA0K PiA+ICAjZGVmaW5lIEkyQ19SRF9UUkFOQUNfVkFMVUUgICAgICAgICAgICAweDAwMDENCj4gPiAg I2RlZmluZSBJMkNfU0NMX01JU19DT01QX1ZBTFVFICAgICAgICAgMHgwMDAwDQo+ID4gICNkZWZp bmUgSTJDX0NITl9DTFJfRkxBRyAgICAgICAgICAgICAgIDB4MDAwMA0KPiA+ICsjZGVmaW5lIEky Q19DTFJfREVCVUdDVFIgICAgICAgICAgICAgICAweDAwMDANCj4gPiArI2RlZmluZSBJMkNfUkVM SUFCSUxJVFkgICAgICAgICAgICAgICAgICAgICAgICAweDAwMTANCj4gPiArI2RlZmluZSBJMkNf RE1BQUNLX0VOQUJMRSAgICAgICAgICAgICAgMHgwMDA4DQo+ID4gDQo+ID4gICNkZWZpbmUgSTJD X0RNQV9DT05fVFggICAgICAgICAgICAgICAgIDB4MDAwMA0KPiA+ICAjZGVmaW5lIEkyQ19ETUFf Q09OX1JYICAgICAgICAgICAgICAgICAweDAwMDENCj4gPiBAQCAtODUwLDYgKzg1MywxNyBAQCBz dGF0aWMgaW50IG10a19pMmNfZG9fdHJhbnNmZXIoc3RydWN0IG10a19pMmMNCj4gPiAqaTJjLCBz dHJ1Y3QgaTJjX21zZyAqbXNncywNCj4gPiANCj4gPiAgICAgICAgIHJlaW5pdF9jb21wbGV0aW9u KCZpMmMtPm1zZ19jb21wbGV0ZSk7DQo+ID4gDQo+ID4gKyAgICAgICBpZiAoaTJjLT5kZXZfY29t cC0+YXBkbWFfc3luYykgew0KPiA+ICsgICAgICAgICAgICAgICBtdGtfaTJjX3dyaXRldyhpMmMs IEkyQ19DTFJfREVCVUdDVFIsDQo+ID4gT0ZGU0VUX0RFQlVHQ1RSTCk7DQo+ID4gKyAgICAgICAg ICAgICAgIHdyaXRlbChJMkNfRE1BX0hBTkRTSEFLRV9SU1QgfCBJMkNfRE1BX1dBUk1fUlNULA0K PiA+ICsgICAgICAgICAgICAgICA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