Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3356998ybv; Mon, 24 Feb 2020 23:42:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyVW4+hlwmEX/JZHlQGolKMKZrw1ijXpPr9CWItXgDOh4kGJJo5bV+2kvB0+mDrfdfQPY+V X-Received: by 2002:aca:889:: with SMTP id 131mr2338835oii.3.1582616535087; Mon, 24 Feb 2020 23:42:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582616535; cv=none; d=google.com; s=arc-20160816; b=lO57DPJynZ+mKja9Yx84wG8sgQrMOAllqWBrPzu1sWfLvgyOCbBXKlRyDNrZyNJfzG L11H3YsreLwJtVQogJKdZY+1Cfywu9eVMoLDvvzoey2EosJmgM0w1iGLn9rXVPpkKyrM LtOWRlra+wG2F46eWb34ZXdROfxQ/LqVF72dpD56qmFUYvthPMTvhnUW7Qx0XEIyH9Cg uvoQsRgdRst/7CxnjyfvXP/jzr7ZHcNjqCBRWGlmRYmd5tZoHSTt0Pvtvi1OActQmU1R C0m/gFg65GhpeZF2PRe3kFSEpYhdqf/b6wdcUQMF+o8eszGkgwkrhvb2xbESXxALgaev MTyg== 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=7mP4VK2OS+T50uTXHmQ69WqyavOfDbYLEvEurpEpOVM=; b=xZ0Wz/7taoFIMfx4jyNdhzraHNBhCyVCrCcPdp7sY9RELcLC7cy6Vc4tLmNnXJQ6ay +W34Y2HALEoY59XuB+Yjded+xEbSvmYG/g6v+QppQsQNsFXKxB6hO7RI105IjLJD6NQ3 d5am9I+bCurgpzmukkJOqkiMuR9A01low85MIHRiet8xDgVeZ928hgdxlRtdMwWOL+Nb 30EiJn2lfXOp1vCqp2KYHWkB3XaQi05KGdnhGKr2hABfIhP5gcN+zwG2RjZc73Q28QlP h5DEcSBRDVdRUUgbq/tUTj4rFSGlQn+tK2h1/PR4VL8EDPcupRI2kXFhNuyb0U2G4qpH x27A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=HX5H8X2G; 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 a22si6142142oii.98.2020.02.24.23.42.02; Mon, 24 Feb 2020 23:42:15 -0800 (PST) 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=HX5H8X2G; 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 S1729595AbgBYHjH (ORCPT + 99 others); Tue, 25 Feb 2020 02:39:07 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:11472 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729563AbgBYHjG (ORCPT ); Tue, 25 Feb 2020 02:39:06 -0500 X-UUID: a79e120ba4f4442ab39032f2cbca336f-20200225 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=7mP4VK2OS+T50uTXHmQ69WqyavOfDbYLEvEurpEpOVM=; b=HX5H8X2GErZnDhhteDZcPC5TGDkCHMNBR21zGX6b2kGrXapzAo5WKfmGb90oW8MlaiL8b4lRcAAlxh6W/lXtoAZ4SZe7IRX+khTbCMIrxJfWxwzQjL0xUGXRuC2l2Q/AOKFHoaHeILZYuBSgT7BGAGi2T5FLlLbxi/EfPivjWYQ=; X-UUID: a79e120ba4f4442ab39032f2cbca336f-20200225 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 319966195; Tue, 25 Feb 2020 15:38:57 +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.1395.4; Tue, 25 Feb 2020 15:36:18 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 25 Feb 2020 15:39:05 +0800 From: To: CC: , , , , , Light Hsieh Subject: [PATCH v3 1/2] pinctrl: make MediaTek pinctrl v2 driver ready for buidling loadable module Date: Tue, 25 Feb 2020 15:38:50 +0800 Message-ID: <1582616331-7702-2-git-send-email-light.hsieh@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1582616331-7702-1-git-send-email-light.hsieh@mediatek.com> References: <1582616331-7702-1-git-send-email-light.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 8C9932EC9126BB80680B440A35354B3A3F0297C75F3BC822CAC6B107FFDC72B72000: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 RnJvbTogTGlnaHQgSHNpZWggPGxpZ2h0LmhzaWVoQG1lZGlhdGVrLmNvbT4NCg0KSW4gdGhlIGZ1 dHVyZSB3ZSB3YW50IHRvIGJlIGFibGUgdG8gYnVpbGQgdGhlIE1lZ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1RSTF9NVEtfUEFSSVMpICs9IHBp bmN0cmwtcGFyaXMubyBwaW5jdHJsLW10ay1jb21tb24tdjIubw0KK29iai0kKENPTkZJR19QSU5D VFJMX01US19WMikJKz0gcGluY3RybC1tdGstY29tbW9uLXYyLm8NCitvYmotJChDT05GSUdfUElO Q1RSTF9NVEtfTU9PUkUpICs9IHBpbmN0cmwtbW9vcmUubw0KK29iai0kKENPTkZJR19QSU5DVFJM X01US19QQVJJUykgKz0gcGluY3RybC1wYXJpcy5vDQogDQogIyBTb0MgRHJpdmVycw0KIG9iai0k KENPTkZJR19QSU5DVFJMX01UMjcwMSkJKz0gcGluY3RybC1tdDI3MDEubw0KZGlmZiAtLWdpdCBh L2RyaXZlcnMvcGluY3RybC9tZWRpYXRlay9tdGstZWludC5jIGIvZHJpdmVycy9waW5jdHJsL21l ZGlhdGVrL210ay1laW50LmMNCmluZGV4IDdlNTI2YmNmLi45OTcwM2E4IDEwMDY0NA0KLS0tIGEv ZHJpdmVycy9waW5jdHJsL21lZGlhdGVrL210ay1laW50LmMNCisrKyBiL2RyaXZlcnMvcGluY3Ry bC9tZWRpYXRlay9tdGstZWludC5jDQpAQCAtOSw2ICs5LDcgQEANCiAgKg0KICAqLw0KIA0KKyNp bmNsdWRlIDxsaW51eC9tb2R1bGUuaD4NCiAjaW5jbHVkZSA8bGludXgvZGVsYXkuaD4NCiAjaW5j bHVkZSA8bGludXgvZXJyLmg+DQogI2luY2x1ZGUgPGxpbnV4L2dwaW8vZHJpdmVyLmg+DQpAQCAt Mzc5LDYgKzM4MCw3IEBAIGludCBtdGtfZWludF9kb19zdXNwZW5kKHN0cnVjdCBtdGtfZWludCAq ZWludCkNCiANCiAJcmV0dXJuIDA7DQogfQ0KK0VYUE9SVF9TWU1CT0xfR1BMKG10a19laW50X2Rv X3N1c3BlbmQpOw0KIA0KIGludCBtdGtfZWludF9kb19yZXN1bWUoc3RydWN0IG10a19laW50ICpl aW50KQ0KIHsNCkBAIC0zODYsNiArMzg4L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AgICAgY29uc3Qgc3RydWN0IG10 a19waW5fZGVzYyAqZGVzYywgaW50ICpyZXMpDQpAQCAtNDczLDYgKzQ4Miw3IEBAIGludCBtdGtf cGluY29uZl9iaWFzX2Rpc2FibGVfZ2V0X3JldjEoc3RydWN0IG10a19waW5jdHJsICpodywNCiAN CiAJcmV0dXJuIDA7DQogfQ0KK0VYUE9SVF9TWU1CT0xfR1BMKG10a19waW5jb25mX2JpYXNfZGlz YWJsZV9nZXRfcmV2MSk7DQogDQogaW50IG10a19waW5jb25mX2JpYXNfc2V0X3JldjEoc3RydWN0 IG10a19waW5jdHJsICpodywNCiAJCQkgICAgICBjb25zdCBzdHJ1Y3QgbXRrX3Bpbl9kZXNjICpk ZXNjLCBib29sIHB1bGx1cCkNCkBAIC00OTIsNiArNTAyLDcgQEAgaW50IG10a19waW5jb25mX2Jp YXNfc2V0X3JldjEoc3RydWN0IG10a19waW5jdHJsICpodywNCiANCiAJcmV0dXJuIDA7DQogfQ0K K0VYUE9SVF9TWU1CT0xfR1BMKG10a19waW5jb25mX2JpYXNfc2V0X3JldjEpOw0KIA0KIGludCBt dGtfcGluY29uZl9iaWFzX2dldF9yZXYxKHN0cnVjdCBtdGtfcGluY3RybCAqaHcsDQogCQkJICAg ICAgY29uc3Qgc3RydWN0IG10a19waW5fZGVzYyAqZGVzYywgYm9vbCBwdWxsdXAsDQpAQCAtNTE3 LDYgKzUyOCw3IEBAIGludCBtdGtfcGluY29uZl9iaWFzX2dldF9yZXYxKHN0cnVjdCBtdGtfcGlu Y3RybCAqaHcsDQogDQogCXJldHVybiAwOw0KIH0NCitFWFBPUlRfU1lNQk9MX0dQTChtdGtfcGlu Y29uZl9iaWFzX3NldF9nZXYxKTsNCiANCiAvKiBDb21ibyBmb3IgdGhlIGZvbGxvd2luZyBwdWxs IHJlZ2lzdGVyIHR5cGU6DQogICogMS4gUFUgKyBQRA0KQEAgLTcxNyw2ICs3MjksNyBAQCBpbnQg bXRrX3BpbmNvbmZfYmlhc19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