Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1773882pxa; Sun, 2 Aug 2020 21:02:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOjS5RUzO92O5Mx/oJNqIxR9RM0xh+DTJCYDemdRgo2k1pQ7ljskexq2mrCCSXIXe0qqNB X-Received: by 2002:a17:906:24d0:: with SMTP id f16mr14453108ejb.325.1596427333537; Sun, 02 Aug 2020 21:02:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596427333; cv=none; d=google.com; s=arc-20160816; b=rzvSpK6B2xKBAIbPG357DrSHW4HN8bdqB/t+EKdAVZaa9kgvkMJfrGPCaGgH56qEIp 5chpx7XprnTkCXnTKBn1b7QRAqJo4Ji+SUrBHLBNLIZR/rlzhjqjD1oBVL6mvd8cOci4 hOti1xGGO0787M387o6a/xYPiFhpmW5f5rx55/mF39+DbhjNWwUhUkFxLRSjsk7LsNac 1w64AHGFsCcq178lEj4l6JJ8Ybxt7j8uV0ClI6zIbrrYwIOccYFXz6CtP8btdJ59eLrK 5q6LDBWDbKJIoeTHUiJmbFAtuVH05Rqr3q6uistukJISb5LuOoP7u5xe1hXm0lm2XBKT i6zA== 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=1ltDjL6I1nPqUhhubfDBUkh6PYEpQebNL7YJDju5cZw=; b=A3PSbJtoQ+K6m082dk1Y/+zOR4ctaeQH6a4uW3JPwBoxBYawme7Pq3mgmCgOkVn3wK /5PPXTWhYJUZhVHuyA6Lv9jZRaIZr7KfdW7oSOJI4QeEp21PHD2WUFBozEak3tbrXpnw y6bIaCN5RLavNCo5bmfrGNwRiJbyy3Yr39x+p2xOytYMlz/hmEFkfft/uaxWpysEIv1q u3Mse9pLqnL/u7PNPS6K9bkavoh7jJ8OD4YoRboc+QzM5tEktkI6unprYyVd8McYHDtw 8tafrFlBAtw+2wWcHOorPuyeLwdm/T+YgGjgLFrGUFKkhNChARovfkG2sOWrayHxd3WT npBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=sPD4f8bZ; 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 j26si9298410ejx.454.2020.08.02.21.01.52; Sun, 02 Aug 2020 21:02:13 -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=sPD4f8bZ; 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 S1725976AbgHCEBj (ORCPT + 99 others); Mon, 3 Aug 2020 00:01:39 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:42576 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725921AbgHCEBj (ORCPT ); Mon, 3 Aug 2020 00:01:39 -0400 X-UUID: f20f4d5fa34f4f68b373f6e91f3d43c2-20200803 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=1ltDjL6I1nPqUhhubfDBUkh6PYEpQebNL7YJDju5cZw=; b=sPD4f8bZby6pDhsvDuLf0ibt3Zn8vdOPdiXLey1i4dxbkW8toSlETlMILSf8nbJ/dQI1iILYmGHaOOVFe6Q5TYO3X+TP0r6LtgUQUHgyp1TpkUwyv2LYnNdpZIMTWV1OYFAco1TDkDgD/orlsQGAD7fKduMKji26nZlP0lgEoGs=; X-UUID: f20f4d5fa34f4f68b373f6e91f3d43c2-20200803 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 109939808; Mon, 03 Aug 2020 12:01:36 +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; Mon, 3 Aug 2020 12:01:34 +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; Mon, 3 Aug 2020 12:01:35 +0800 Message-ID: <1596427295.22971.20.camel@mtkswgap22> Subject: Re: [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver From: Neal Liu To: Chun-Kuang Hu CC: Neal Liu , Rob Herring , Matthias Brugger , , wsd_upstream , lkml , "moderated list:ARM/Mediatek SoC support" , Linux ARM Date: Mon, 3 Aug 2020 12:01:35 +0800 In-Reply-To: References: <1596010690-13178-1-git-send-email-neal.liu@mediatek.com> <1596010690-13178-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-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 SGkgQ2h1bi1LdWFuZywNCg0KT24gU2F0LCAyMDIwLTA4LTAxIGF0IDA4OjEyICswODAwLCBDaHVu LUt1YW5nIEh1IHdyb3RlOg0KPiBIaSwgTmVhbDoNCj4gDQo+IFRoaXMgcGF0Y2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