Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1076883pxu; Thu, 8 Oct 2020 02:41:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxqtIAuU6tdDkaXKG3MdTJwTwKAbn8zWbRR5jvbIxuVtdj0yuZpRg6fnEyMlPeCqxJTJiD X-Received: by 2002:a17:906:490e:: with SMTP id b14mr7785555ejq.268.1602150099582; Thu, 08 Oct 2020 02:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602150099; cv=none; d=google.com; s=arc-20160816; b=Z2LEvcISwu23jOErRmbxh1l2z8sCkqSnVnCZjgPrNweJ1bxIZSfbWsw71cu/+v43ut F6QesIwFTjF5KIjZofCWVjg9YEaxFUpp4WxA2GEMseeCMqYx949WAd82wNCx1s3Nbr4/ UKuAz1ItDlSKOvdxPbO4LYjp7k0ZFttU05pabfPk0sV7+rIADlb1IFti6n8Zmv6uiNe2 Gs+iqFUGusOeLHXoeh384eB1ok0YBNFrt4fnF5/qNh3nTAk871Jfn7qw0E5AsSuNxNmq OFKTc5EbOeEsGtib8Bu+xDEwNAgHI9To5Ud3UsBL+JSomMalG0Hvl5QKrLmk4/UUxXp5 BxUQ== 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=1Ozpz9ZghRPEXVmLBbry4bfJslMm3ymiwvO7V65jL04=; b=eT2o86uN6MccUuGVjD7KjrQ8ZnSMDoefwWKSq0fWw/KdRaNXOUmrVSGI4VlmXSyR3Q +mg5umlf5sHKyeRtfeX+gwRKEvAC/hO6wDuU5Ljrbx/nR/rbm9jbmov1X32Ch/C3Vh/P RTntaWpPyTow1YEjWKUCqGnivCO5NQM99cBGInLXpUv2kD/sPZFlnBEjJhjyMZOHMAwD j/7bHd0GCvFZX0vwcjwJGOI31adX5+RHrEONL4A1lW0mZGor5262cfp3AZ96aqXpiGoC N6XBBiUBp88zKnKdpQmVF+8p0Ii7Z5SGZmj1Ke/aesSHh0CEg0Wp1NeqJTlv7GpN3CzS iICA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=tzXB51Oz; 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 v11si3397120ede.8.2020.10.08.02.41.16; Thu, 08 Oct 2020 02:41:39 -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=tzXB51Oz; 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 S1729121AbgJHJjf (ORCPT + 99 others); Thu, 8 Oct 2020 05:39:35 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:48815 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725849AbgJHJje (ORCPT ); Thu, 8 Oct 2020 05:39:34 -0400 X-UUID: 61258c031da84b0290d979c5424d499e-20201008 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=1Ozpz9ZghRPEXVmLBbry4bfJslMm3ymiwvO7V65jL04=; b=tzXB51OzKySlCiBO0Wd9bdQ4yBhYUf+ofawiHI8M9urGyTi5ysFvhaKM3hsNYWwxbeafQVW38AhoHUqn7JJXzkSdU1O+t6Qz9hD4nFA3TiUkSC29Rqi2SOvBcsMu900WBYbi6c8PjMrbjnoN9BIXuKQoQEw0MkdVY0VRq+1TyAg=; X-UUID: 61258c031da84b0290d979c5424d499e-20201008 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 913390972; Thu, 08 Oct 2020 17:39:27 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 8 Oct 2020 17:39:24 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 8 Oct 2020 17:39:25 +0800 Message-ID: <1602149965.8784.6.camel@mtkswgap22> Subject: Re: [PATCH v7 2/2] soc: mediatek: add mt6779 devapc driver From: Neal Liu To: Matthias Brugger CC: Neal Liu , Rob Herring , Chun-Kuang Hu , , , , lkml , Date: Thu, 8 Oct 2020 17:39:25 +0800 In-Reply-To: References: <1598497593-15781-1-git-send-email-neal.liu@mediatek.com> <1598497593-15781-3-git-send-email-neal.liu@mediatek.com> <1602124514.28301.17.camel@mtkswgap22> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIwLTEwLTA4IGF0IDEwOjQ1ICswMjAwLCBNYXR0aGlhcyBCcnVnZ2VyIHdyb3Rl Og0KPiANCj4gT24gMDgvMTAvMjAyMCAwNDozNSwgTmVhbCBMaXUgd3JvdGU6DQo+ID4gT24gV2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