Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1541079pxb; Thu, 4 Feb 2021 16:12:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeA90X7rxNNV3PYE1LSccq4BVCEF7a7X1SBtnSiHtEzV0d8K/8NoCpdKr5fS5pRk+aVL1Y X-Received: by 2002:a17:906:d8ae:: with SMTP id qc14mr1535743ejb.129.1612483924585; Thu, 04 Feb 2021 16:12:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612483924; cv=none; d=google.com; s=arc-20160816; b=m5sQ7OSnv1Qlao7m6hIcbO6LcikTWr+ajAfMQd2lbY4PQDza7JhO/nwMyThyD4f07C NXt7/GKCzG6IGvIhxlzAdIp117RbWFokoWRVKoxh5TPemd42OC2YSanClHBjftIhihCJ NhKrN+03Q+QXPpEWwQlCQDdHC9n+eL/PsMz2fgWIRMGtHwoJs5VR7IBupvNT85ddVYxa AdGidvUuzbM4BVVxfxcSt1ShPqvECVW9AjYxErpTun6efmkB+CkGlWLhXTbLdEfg+ihg FmXKyGkNbuQ1DADEYJQ6hJaEa4JcHOYC0agphNL9hHkr5K0JQ7VXAeCCQvMGXH8FR8W/ PSMQ== 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=xjPlZsUgJ8zWKx32syTlMFFWZeRIUmfEgX2pBjQv40w=; b=DpqPPsN+zL6BHxZhaueVhglM5eW0sp4c6ss16NVWqO6BCu9W33jV+4oUwJ1jTvc9OQ +gL7sUSPdofAsDlMb6k/HmeoKvmLE4sn1lYMOu42pWfLsKSd8mmcSLB8uLKQgfwAc4fZ 9QQTIPYYOHhyF47iBSMPjUdubJmjkNHk86/rbd/XWdPTEQwVypZUjdZgzM4qIlFBLntP e5Onz4vjO9G+5mohvUQneu2ley1GaOOjnr+sG2/IwBple+AUcnCwjsx0cD8J7kCqmaBn 3NjByCO2AFiWVtu3115UYtDa/VQF6vvfuAg+PmcaKFG9/UdwpBM0C7ZMfB9Pkm3xLyvb HDbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=afrLmZvN; 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 p24si4269797edw.475.2021.02.04.16.11.40; Thu, 04 Feb 2021 16:12:04 -0800 (PST) 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=afrLmZvN; 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 S236202AbhBDNG1 (ORCPT + 99 others); Thu, 4 Feb 2021 08:06:27 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:56359 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S235605AbhBDNGU (ORCPT ); Thu, 4 Feb 2021 08:06:20 -0500 X-UUID: 6ef6fe6e6c0a402a91e9207d653967c9-20210204 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=xjPlZsUgJ8zWKx32syTlMFFWZeRIUmfEgX2pBjQv40w=; b=afrLmZvNlDKffq4yrhcTZuJ9N84I3H93yxx8Vsj1JwuOAZ0KXVuiskN0QoyHRmf4Ov5t/J32K/Txy67eaZgZ7xy9UhGOOni/zP7IB9+TE/LiY8d2DncqN0oxqRDE69VpjEH5NjeWtiyW1c5vIbqoicp4vvi7t8g8M68GxnaQKsw=; X-UUID: 6ef6fe6e6c0a402a91e9207d653967c9-20210204 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] 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 648410008; Thu, 04 Feb 2021 21:05:34 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 4 Feb 2021 21:05:22 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 4 Feb 2021 21:05:22 +0800 Message-ID: <1612443922.32298.3.camel@mtksdaap41> Subject: Re: [PATCH v4 4/5] soc: mediatek: pwrap: add pwrap driver for MT6873/8192 SoCs From: Hsin-hsiung Wang To: Nicolas Boichat CC: Rob Herring , Matthias Brugger , Fei Shao , Argus Lin , Devicetree List , srv_heupstream , lkml , "moderated list:ARM/Mediatek SoC support" , linux-arm Mailing List Date: Thu, 4 Feb 2021 21:05:22 +0800 In-Reply-To: References: <1605700894-32699-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1605700894-32699-5-git-send-email-hsin-hsiung.wang@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCk9uIE1vbiwgMjAyMC0xMi0yMSBhdCAxMDo0MiArMDgwMCwgTmljb2xhcyBCb2ljaGF0 IHdyb3RlOg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