Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1017484ybh; Wed, 22 Jul 2020 20:41:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhl8XttZNLxGY+QUup6lP0vLPf+b6Iqp99mZkYVdzWBQDkczmy7sdE5p2b0BxgR6k1M3Sx X-Received: by 2002:a50:f109:: with SMTP id w9mr2243104edl.277.1595475668925; Wed, 22 Jul 2020 20:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595475668; cv=none; d=google.com; s=arc-20160816; b=G/HcystmjtJ5uh1zskGU9wFeq8j1YyFQSpsx7MuXYWAdtv/TsvnNJh/Ohi7QDAiHJl l8DXM1WM75Z4cUHUOxtAmDPg/d1MPlx0cKv9iVIyjy3mFM/2oTB/S49Nic/kRid9cMi/ YqxoB6MiM9drOVAWYsABv0h1TTw8IFKIPcUWM8eOqPERmwBEx7ZaonqKQyxBQSo+TS0j 4o0FePefgk9QrZZRLlvWZBnYdhW/KsmYfzeqxvCbEjFr4cCMd/HtoCSTtjnZ6pPWEAAm RjvsWtUPWaFxJJoDzHRBQM+UoHSl0CLutdJAg6WuFBBwy3aDvb5JoYueY01UZ4vr1aqc smfw== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=K40oCWnkehv+R4EecDWzyL/LvaW4FziBkaXpPnK2J84=; b=dIxPO+KBTVR45p63nhP5KfudMn8GoBFsKnpL8n5PbXc+qxuFp2Xm/MN8Gjpi94sxcJ LapIKml+c3ycnNXJYysvghUyU0Iym/MBn2PhW7w1umcyKmuFIVp8Uio97Vtgp/zA/nvU dtM8I7ECJH5vcZQCMHmqDaKziOuwSJgSLF29HsyZfI4ZWHkqB3Tcg7R7+K3djhvAqCVn ywAf3r9I8SOeIjL0V/9lOj8tuRjcd5NwTb+KRg+Ai6VYtA/GVKD53TvVoEHsB+NoP5wg Pz1RwvryuaN5zD1HxqGJ7Ebb75lUPRLYH25vOzlt/iF3rne53sxxLMbTeWjIP3ciSvkx KLyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uEHPbaWU; 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 s4si1194049eja.517.2020.07.22.20.40.46; Wed, 22 Jul 2020 20:41:08 -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=uEHPbaWU; 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 S2387809AbgGWDk1 (ORCPT + 99 others); Wed, 22 Jul 2020 23:40:27 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:22385 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2387797AbgGWDkZ (ORCPT ); Wed, 22 Jul 2020 23:40:25 -0400 X-UUID: 0ecb2dcba9044329a88e747761756eb2-20200723 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=K40oCWnkehv+R4EecDWzyL/LvaW4FziBkaXpPnK2J84=; b=uEHPbaWUN57zLnCJto1lG7xffMporf9epi/OOTybHosd8OcRwimWeT3rzuT6127RUzjeym9MHAxWPjtSsnZSFqGvLPOd0IokB9BAKJggoi6sKuR7nlkltWKzseReqPMN3EJg9X3CIST02fHUOvcvoFuJFntHMShuZjegyf81wu0=; X-UUID: 0ecb2dcba9044329a88e747761756eb2-20200723 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1093032588; Thu, 23 Jul 2020 11:40:20 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 23 Jul 2020 11:40:18 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 23 Jul 2020 11:40:16 +0800 From: Hsin-Hsiung Wang To: Rob Herring , Matthias Brugger , Argus Lin CC: Hsin-Hsiung Wang , , , , , srv_heupstream Subject: [PATCH v2 4/4] soc: mediatek: pwrap: add pwrap driver for MT6873/8192 SoCs Date: Thu, 23 Jul 2020 11:40:00 +0800 Message-ID: <1595475600-23180-5-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1595475600-23180-1-git-send-email-hsin-hsiung.wang@mediatek.com> References: <1595475600-23180-1-git-send-email-hsin-hsiung.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 TVQ2ODczLzgxOTIgYXJlIGhpZ2hseSBpbnRlZ3JhdGVkIFNvQ3MgYW5kIHVzZSBQTUlDX01UNjM1 OSBmb3INCnBvd2VyIG1hbmFnZW1lbnQuIFRoaXMgcGF0Y2ggYWRkcyBwd3JhcCBtYX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