Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp746538ybh; Sun, 12 Jul 2020 23:14:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfPLNuzaX/brx52oXR+EC2BFlSq47iITwgn+bhVVdUS7d25SymBpu1C34IW6rqdEdAoOsl X-Received: by 2002:a05:6402:228d:: with SMTP id cw13mr90777304edb.343.1594620850228; Sun, 12 Jul 2020 23:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594620850; cv=none; d=google.com; s=arc-20160816; b=Uenf2cFLsAdzbrKJD64UBajGDNa0DZYaqGSu0USYt4TIfAiCAXrKZv1aZhYNj4vHX7 wvhNc8mer7/7Szf+hA19KQ7kv9frsEEeRAySl9P0+HVCw/LjjLYX5JURk2Zg4oPW5T+B jQ4o4wPmczUxhXiP05P1I2lFhWGU+3kFy7Kso7Ws9a73GrCwOpwsni4e4IuquZNSg0HW GKY1IWsFxRKeepwQZySVKxbU42RdUbH/IvhWGaT2Nx0QOTBvoWUgpso6BI8ANbP1ir8U hi/HLPtQLcJwrR1ydYE3eSzqecwmkPMCDmLkhtVNJCAtPRlPVVO79CGNhq22i1P/kwWQ /WeA== 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=4vEP1HF0Q3QvDpYB3OMoRNc2npFo0RTElHQW9KJ35Dc=; b=SkhtCgELD5P+6vGjuiygaocVuWczT5ZA28TaL79u5yFtVwPlMZdN1ibF/wWW3Ew7Ia kgdZEfL5/G09QeQGRoRFWQEmzqsFcfINdp9QZarb4WsrQ5Gbivhg28TuUqdV8OYbuEEp xtUqSc299ogQnAmXguEkyv4WtZZuY/ZUy6LFg9+PgXA46L4B+6r5z0zsqSgOhu/jwEVk 0YlnwvZOd3NZPIpzUNyEDN+5zrsumlaLpkxbrDjdrpU3va1ZlstYuGSRpHFajQi8kUEX n+prOtbinAinD48rrs9KNfU0tGXYVjfLlJFF8e7UPUGXpwd2I4LMUuPJfRXkpfNna+lg 32JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=FS11oL08; 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 h20si8813550ejk.652.2020.07.12.23.13.47; Sun, 12 Jul 2020 23:14:10 -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=FS11oL08; 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 S1729085AbgGMGLs (ORCPT + 99 others); Mon, 13 Jul 2020 02:11:48 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:5151 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727107AbgGMGLs (ORCPT ); Mon, 13 Jul 2020 02:11:48 -0400 X-UUID: 09583ab690804765a025f16a6515d568-20200713 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=4vEP1HF0Q3QvDpYB3OMoRNc2npFo0RTElHQW9KJ35Dc=; b=FS11oL08+hRTmcxJ6dQYj+ovay/NdyNli8ZllVhoC5r7Qitav/qNdbGubN/WcGlUyOHVf7I0bWeF0zgIYkJ5qFT0Mg5PGlJJ87i8hvZe02Kxmt9+9QbDO/TtnAOUsd4g54TlEeItGG/iS78NYVvZW+1EO0RYv2BpenIdSAdw61A=; X-UUID: 09583ab690804765a025f16a6515d568-20200713 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 729864613; Mon, 13 Jul 2020 14:11:39 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 13 Jul 2020 14:11:36 +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, 13 Jul 2020 14:11:36 +0800 Message-ID: <1594620698.22730.17.camel@mtkswgap22> Subject: Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6779 driver From: Neal Liu To: Matthias Brugger CC: Neal Liu , Rob Herring , , , lkml , "moderated list:ARM/Mediatek SoC support" , Date: Mon, 13 Jul 2020 14:11:38 +0800 In-Reply-To: <922d93be-0243-bd7e-81fd-e0068a90ef4b@gmail.com> References: <1594027693-19530-1-git-send-email-neal.liu@mediatek.com> <1594027693-19530-3-git-send-email-neal.liu@mediatek.com> <1594107170.20820.84.camel@mtkswgap22> <922d93be-0243-bd7e-81fd-e0068a90ef4b@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: A4163080B86FE9835E37A8AABD162877054BB17FBCB2ED198E917A5C279E90912000: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 W3NuaXBdDQo+ID4+PiArLyoNCj4g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