Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3714583pxu; Sun, 11 Oct 2020 21:40:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDMx2GV4jQDjcsjYVLVLx8Q4cHscnrqmRtnO6hZ1hlhhzaZqy1KXHEnh7yUZYXPm3N5305 X-Received: by 2002:aa7:c90a:: with SMTP id b10mr12338634edt.163.1602477649244; Sun, 11 Oct 2020 21:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602477649; cv=none; d=google.com; s=arc-20160816; b=FQwk/3L7gc80t7D2VqN3eEl9hajVaKEEx5hIEPkKaHGYsBCoeBLXkWWyO0jl+LUahA rzdBN0oRE1UBbyPRNR9YKgDS5N85sCPgtJm7csDGTqD8pOyK5h7c6Bj9zYAtgzH7ew+I S4ZWSyj423aH+ch0swwE6ChImkk+CJKPJdyG4hs4JTUZNTnNeeOVfs46vHLgMAUtairB Z8oUukjekB6b1P96DedpPo2kCA06/i/Cs//gk6Cq9IjDL+EsWjadVKQjBVyKOOHgcklu ho+UzvkwGg8ftRk8fhoEC+IeAFWyPUE5NuFlU/VgIS4Uf1rd+7oLvtyQ4UQ4zSbyNCOe 3y7A== 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=Bm72sr6Ouy/aEnxVTOQTJVItEbE2HZ45eGSUlY3+1i4=; b=xK3+ZHhFufmQy/4D94grFo645GDMIKgTNzhBpnwSEPcHLQksCbyoSrKOGszOmiJQ/C 4cHyftCoKwYkOqWqSogGb8zFAsr/lSo1av3P9j0THRpu7zRjMQnY86ztkvi6B8HUKVIM q5v8mjqY7k17Z6VREQNnHOswhIxP6AXL3KzHwBpNqA591mvPFSEuyb6USnKn3ClxWZfE CfuBsbELcseJx4YMBQchqpcYYClorn/NXpMmj2Q239zNi0mbDzSWs4qYDD2OkGupFBLD iAhIf2wJ+r+HmvQ+Q16OqQQVflRMWT7GHB0Kf6Ztx8MpH0utP+I19XFkYVIIVaY6qkKr 4GTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=iHV97fO7; 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 q19si9723098ejj.410.2020.10.11.21.40.26; Sun, 11 Oct 2020 21:40:49 -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=iHV97fO7; 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 S1727144AbgJLDZG (ORCPT + 99 others); Sun, 11 Oct 2020 23:25:06 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:53220 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726371AbgJLDZG (ORCPT ); Sun, 11 Oct 2020 23:25:06 -0400 X-UUID: bdfb87fcbd6a45d0944ca2cfad11dd11-20201012 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=Bm72sr6Ouy/aEnxVTOQTJVItEbE2HZ45eGSUlY3+1i4=; b=iHV97fO7VS8aMf3ROYlU++JLJjIQsfA5n5ZaaYPFHZanI88tjH4NgEBLV0cNbGaLVhF2pQi281WgwsnOvCRYZTgcg8j3Q+Ll/rrvVEis9js4hUo3EHAmCIINN4uiq3blb/Nzty8xaYzSYD5SFcgXOo+ANpSeO1r3UB7/3K8wL+Y=; X-UUID: bdfb87fcbd6a45d0944ca2cfad11dd11-20201012 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.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 1833974140; Mon, 12 Oct 2020 11:25:00 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Oct 2020 11:24:57 +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, 12 Oct 2020 11:24:57 +0800 Message-ID: <1602473098.26774.5.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: Mon, 12 Oct 2020 11:24:58 +0800 In-Reply-To: <0ece983b-2e55-cf06-aca8-02a014fce090@gmail.com> 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> <1602149965.8784.6.camel@mtkswgap22> <0ece983b-2e55-cf06-aca8-02a014fce090@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: A57CB5B722B96A24B6BC4E4DA5FC2FE3FA559752A9CF0861603F1BE94AA214DC2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-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