Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4101643ybb; Tue, 7 Apr 2020 00:23:17 -0700 (PDT) X-Google-Smtp-Source: APiQypIfkD/ZJMGQYgc9cVVUkfdd52XjKNzqJZiO3Ky2Yzp8VmPNo664YXuZItC40DoG6mHXC2oT X-Received: by 2002:a9d:4b84:: with SMTP id k4mr487272otf.233.1586244197425; Tue, 07 Apr 2020 00:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586244197; cv=none; d=google.com; s=arc-20160816; b=R83h2fQ8MScn3wlkMpa5JL4WdZcX6VTL7a/SeY1pEKc48ikSi9HEzy36aI2plzIXwj 6ukakpXxoFIkg8yx2TzWFDdHmsrbaG2VupETSoa5ojGj06jL7PhgNYK8sJRTP1VNLbHs NGWbL2hwJk6orulmar32UpiL0wd0qJaw7KCfSdtsGKnJuQl2Hnlm08kHPjlGvgdKcMvk pNbyR4++6T3B+TxCcZ3oMSOu793GuUurWyvUwZw3DHYXbNkrHPAVcXHNIvcdGGMflTQz 7CU6pg9JpL6VSYk0AYdqfHBv1hSuQgHCFmufxlZApmCXXeOiKP0g2aUif0FOrLlhg2YY blrA== 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=qoyC7anM74zom12b8f2cEFSWgn9xmXiUHi73CprwLnA=; b=w2DN9DDHiL3lsd3ccqmo4F2v8RJZjO9miN48sKHwHh5s4fbnzS3ZFuyNUzImFbH8/A FjgR49fX7jTuTIYUe3kAB9zn4nSPt8N+s81MMmUA9SZZ3Hfh1GLm0aEel8ugPRWJs2vv yapfddUh5+Sm6464RT2yk6u6wr2k4tMaLxHCu3uBfjelofdP0/oCObm1DZWfJmBXrgjV LUhRbjheNIoXH3AAkrHR/swD8Q0k7YKxZFNCcE078oZeVmTthGdCaO7qxrsIHF2i14/i Lne7yujID4JUVfD0kAxfPT6BDuEWBy7tqRlWcPNEGEqeF16BKurqP1wMweZW4QsXWpSK bhiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="nIU/eS9d"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id u8si921706ote.311.2020.04.07.00.23.05; Tue, 07 Apr 2020 00:23:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="nIU/eS9d"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727821AbgDGHWa (ORCPT + 99 others); Tue, 7 Apr 2020 03:22:30 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:31606 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727705AbgDGHW2 (ORCPT ); Tue, 7 Apr 2020 03:22:28 -0400 X-UUID: 606c4297fa46488ab2eef7a384dd7948-20200407 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=qoyC7anM74zom12b8f2cEFSWgn9xmXiUHi73CprwLnA=; b=nIU/eS9dcppGFLeAgI0hy6TDMWI3PmyXd/8afhbd8sFq33C2uw3M4+fnmTFc1RDsM4YvR5YSwfvM6BR6Zp1nWQvppDKCbT1xFsq5jozbyP2L2/jR0/aa8pzvdAZlvzGFxTNs+cAzrx4kOo1UdhPsKcx0iEyLGxlmjykXScPfQSQ=; X-UUID: 606c4297fa46488ab2eef7a384dd7948-20200407 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1888879502; Tue, 07 Apr 2020 15:22:18 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Apr 2020 15:22:16 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 7 Apr 2020 15:22:15 +0800 From: To: CC: , , , , , Light Hsieh Subject: [PATCH v6 1/2] pinctrl: mediatek: make MediaTek pinctrl v2 driver ready for buidling loadable module Date: Tue, 7 Apr 2020 15:22:09 +0800 Message-ID: <1586244130-21523-2-git-send-email-light.hsieh@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1586244130-21523-1-git-send-email-light.hsieh@mediatek.com> References: <1586244130-21523-1-git-send-email-light.hsieh@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 RnJvbTogTGlnaHQgSHNpZWggPGxpZ2h0LmhzaWVoQG1lZGlhdGVrLmNvbT4NCg0KSW4gdGhlIGZ1 dHVyZSB3ZSB3YW50IHRvIGJlIGFibGUgdG8gYnVpbGQgdGhlIE1lZGlhVGVrIHBpbmN0cmwgZHJp dmVyLA0KYmFzZWQgb24gcGFyaXMsIGFzIGtlcm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