Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1342641ybt; Sun, 14 Jun 2020 19:46:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypEs9UuHWDqXUptTtdrNnnMds/Thqg2cc5aaMT7lO3fLUKtRerRbEPK5dAjyhF89G/hHKC X-Received: by 2002:a50:c013:: with SMTP id r19mr3552582edb.340.1592189207986; Sun, 14 Jun 2020 19:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592189207; cv=none; d=google.com; s=arc-20160816; b=LIwADkGgcytfv9FtCIURJQ00Y3B2T51Mx5x8Rs5JyEJnFG8M/+oB4TRSPwU7KfY3ON a+Pq5ab8zYCLZHNQLdCi7YgRV3LB0GxBfjwuuH4nuU1b3GY61Y9jhT2OHijaufUqHOO7 70K/n+/PkCMwI0dF3ILOb+BLdS/0QFaWLmhi1La1P783w/BTflUkKrcJO9jq4b59JE/e LznMAD6tF6UByx+GV+UNyVsnsSmbDaFf5Ywm5dVcep/KMgSVkpLbKJfIPAbsQSwC9dw6 AgDgqVYTpqg3ivwEIJWg6GPSAyMbn0466Hsy+6CCJ2f0Bat9FjE4bmTaXEI+zzUWvKWm +t1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=F81eFxwFaFjhxzulTpnf9IEFb7H1uEklfRGWWB3UhNo=; b=zvR0h3YtCI6zWo+/Y8Ne5G1Z1ufCiUszeg1GmbVJlmt3L2ijko94Jj7bS9GWnEDJ8Y JX0W17LoIBD6TqRyEVfIJwlNLvWZ7lzSLqrtlTNYDrZeO/uecZZB9HNSW+4NiqRRkBlm Nc+Z0p9XPrlKS4QjHMQMQkIXSCnpA4M473GqWlb2baaCrLV3smgEm3lU1zZuwrpkPMBN yDawC7ycBPH6I2zIvmro3JKR+1xeWnsteTZ+vQBNpHRvGWz+gyWxsSC4oDVIWhoQ0WQP zNGCkCFdKfDaG1plIAfC1wmQ5ik3rdw1bQ42LQmYR6wpnpEsWJIQGJQXjOwEvBevMKnx 1tqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Wb+HHzhk; 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 j8si8009227edp.99.2020.06.14.19.46.10; Sun, 14 Jun 2020 19:46:47 -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=Wb+HHzhk; 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 S1728055AbgFOCnY (ORCPT + 99 others); Sun, 14 Jun 2020 22:43:24 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:12926 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727946AbgFOCnX (ORCPT ); Sun, 14 Jun 2020 22:43:23 -0400 X-UUID: 3be83243c00b407b955a782d028ed530-20200615 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=F81eFxwFaFjhxzulTpnf9IEFb7H1uEklfRGWWB3UhNo=; b=Wb+HHzhknebGQQNkilN06LNfCNQ6vAwd5fuLirWpr1VlrcmpOBOBDN9wgqfuXIGmlUSRLyqlH6yBogDg0mZ1vcq55NCJw1mfeJLA3Sox4B/LgOmF8Rh5m26ji5dFfj4vRpQWLZY+o44479Ye0AUFU3Gp/4br7qmm4LySWJ1ZUa8=; X-UUID: 3be83243c00b407b955a782d028ed530-20200615 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1896897895; Mon, 15 Jun 2020 10:43:16 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 Jun 2020 10:43:15 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 15 Jun 2020 10:43:09 +0800 Message-ID: <1592188994.18525.11.camel@mtkswgap22> Subject: Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6873 driver From: Neal Liu To: Chun-Kuang Hu CC: Neal Liu , Rob Herring , Matthias Brugger , , wsd_upstream , linux-kernel , "moderated list:ARM/Mediatek SoC support" , Linux ARM Date: Mon, 15 Jun 2020 10:43:14 +0800 In-Reply-To: References: <1591698261-22639-1-git-send-email-neal.liu@mediatek.com> <1591698261-22639-3-git-send-email-neal.liu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: DC43965F8A5AED62EECDB05CF2C54323DC68131BA3F83EBF4170213E1C0F41562000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQ2h1bi1LdWFuZywNCg0KDQpPbiBTdW4sIDIwMjAtMDYtMTQgYXQgMTE6M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WCAiJXM6IDB4JXggaXMgbm90IG1hdGNoZWQgd2l0 aCAlczolZFxuIiwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAidmlvX3NoaWZ0X3N0YSIs IHZpb19zaGlmdF9zdGEsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgInNoaWZ0X2JpdCIs ICpzaGlmdF9iaXQpOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgZm9yIChpID0gMDsgaSA8 IE1PRF9OT19JTl8xX0RFVkFQQyAqIDI7IGkrKykgew0KPiA+ICsgICAgICAgICAgICAgICAgICAg ICAgIGlmICh2aW9fc2hpZnRfc3RhICYgKDB4MSA8PCBpKSkgew0KPiA+ICsgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgKnNoaWZ0X2JpdCA9IGk7DQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBicmVhazsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICB9DQo+ID4g KyAgICAgICAgICAgICAgIH0NCj4gPiArICAgICAgIH0NCj4gPiArDQo+ID4gKyAgICAgICB2aW9f aW5mby0+c2hpZnRfc3RhX2JpdCA9ICpzaGlmdF9iaXQ7DQo+ID4gK30NCj4gPiArDQo+ID4gK3N0 YXRpYyB2b2lkIGRldmFwY19leHRyYWN0X3Zpb19kYmcoaW50IHNsYXZlX3R5cGUpDQo+ID4gK3sN Cj4gPiArICAgICAgIHUzMiBzbGF2ZV90eXBlX251bSA9IG10a19kZXZhcGNfY3R4LT5zb2MtPnNs YXZlX3R5cGVfbnVtOw0KPiA+ICsgICAgICAgdm9pZCBfX2lvbWVtICp2aW9fZGJnMF9yZWcsICp2 aW9fZGJnMV9yZWcsICp2aW9fZGJnMl9yZWc7DQo+ID4gKyAgICAgICBjb25zdCBzdHJ1Y3QgbXRr X2luZnJhX3Zpb19kYmdfZGVzYyAqdmlvX2RiZ3M7DQo+ID4gKyAgICAgICBzdHJ1Y3QgbXRrX2Rl dmFwY192aW9faW5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