Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp447367ybv; Wed, 19 Feb 2020 02:52:09 -0800 (PST) X-Google-Smtp-Source: APXvYqx5leg/wjo6DOopNXtSLeP4WnLOYhSsEBmCKJVPNZdQXwj7gkouNBn/XZjiRMPl9ZJagW1X X-Received: by 2002:a9d:6288:: with SMTP id x8mr18556634otk.2.1582109529292; Wed, 19 Feb 2020 02:52:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582109529; cv=none; d=google.com; s=arc-20160816; b=hH0wX/AYqdsoJHfmO2EHDKECFGsPbn7HbqY3gQVeSGgMqcxhnMgdGjwkTj5019JQcJ lqijOm/kIofqAQJEUnYfFDx5ApegY41hi+KWddIyI486asZMnCUVrJpw7rbU2MWoTQ3w UaSNw9z78Fw7KqkuD0++2kcRPK/8DX6sFFmI+7g+vP3E7s2LtuDjmqYGV+SUuHi0Lenn G+ptukPtfVp5qSVAR+UC9UWGKHgOMpe6D5xGyKw/noV8x1vAsYG0Du62aRYBvOWD/UjJ /BpvKDNBqvIuUEjK6B63bj4DWfbAMJUqmqyDVAHdvKewgz0qhMe+cReIwmjHjRRmmTC3 +4WQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=AmZc9ORKpGkus+nhQnl/IjBdRGrQrTkVLTutaQB5T1o=; b=sqfYK7u9OYlEQll4ZMOW4UyrCX2pJeDEDkCMhr7rD/NwlY7SdVlV58IQwSBRD+YND1 CQKenw+uWkS/xR5VMPfiGGSF3uMa8PB7JRCHB8+ZtxZmb5QqBkpF3HilNknvbXGGNA2U dmgcTz/Kczfu+9zdzchO5p42qqliuDRzJ/cCBpCm9qECKcQbYeiugNCxpwYcyRVZLBsn jk0IoejjstvsW5ixmKKV5Lga3L7jwJA8ISUYpVSC7E8iqHekXoh3dfdsy70YCe/a+jcf PW36BWHzxrtJnjjNe2bM/NWbv4E8fKblM7cbwOmzF4Uurir/4ILuxrU53p6VaqCem/z6 irvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=slkBxmum; 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 l21si922539otk.142.2020.02.19.02.51.57; Wed, 19 Feb 2020 02:52:09 -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=slkBxmum; 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 S1726609AbgBSKvt (ORCPT + 99 others); Wed, 19 Feb 2020 05:51:49 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:41246 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726469AbgBSKvt (ORCPT ); Wed, 19 Feb 2020 05:51:49 -0500 X-UUID: eae8a0f3920244b999ccaa69d5529574-20200219 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:Message-ID:Date:Subject:CC:To:From; bh=AmZc9ORKpGkus+nhQnl/IjBdRGrQrTkVLTutaQB5T1o=; b=slkBxmumxKbTVQ8ammt9Mn8iqA9vA2GuT5Oro6GyKIghIAUIWrGvLePR9ZFOjFRJEEOFm87hw5PlczZfFnqe43mj4O5uaGseCFJVIBJznPVpudcjbysTwRFZI9hHQu/pWXIouBdYEJAXU6e+Pkunb/KemnS0UWBdJpeU716gqHA=; X-UUID: eae8a0f3920244b999ccaa69d5529574-20200219 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1281994678; Wed, 19 Feb 2020 18:51:41 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 19 Feb 2020 18:49:11 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 19 Feb 2020 18:51:12 +0800 From: To: CC: , , , , , Light Hsieh Subject: [RESEND PATCH v2 1/2] pinctrl: make MediaTek pinctrl v2 driver ready for buidling loadable module Date: Wed, 19 Feb 2020 18:51:21 +0800 Message-ID: <1582109482-13625-1-git-send-email-light.hsieh@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 397D6BA22DC92E823D36C9EDA32ED649E016D948CC8C71EE9F3135D425C1B96B2000: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 dHVyZSB3ZSB3YW50IHRvIGJlIGFibGUgdG8gYnVpbGQgdGhlIE1lZGlhVGVrIHBpbmN0cmwgZHJp dmVyLA0KYmFzZWQgb24gcGFyaXMsIGFzIGtlcm5lbCBtb2R1bGUuIFRoaXMgcGF0Y2ggYWx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BBUk12NyBTb0NzDQogY29uZmlnIFBJTkNUUkxfTVQyNzAx DQpkaWZmIC0tZ2l0IGEvZHJpdmVycy9waW5jdHJsL21lZGlhdGVrL01ha2VmaWxlIGIvZHJpdmVy cy9waW5jdHJsL21lZGlhdGVrL01ha2VmaWxlDQppbmRleCBhNzQzMjVhLi40YjcxMzI4IDEwMDY0 NA0KLS0tIGEvZHJpdmVycy9waW5jdHJsL21lZGlhdGVrL01ha2VmaWxlDQorKysgYi9kcml2ZXJz L3BpbmN0cmwvbWVkaWF0ZWsvTWFrZWZpbGUNCkBAIC0yLDggKzIsOSBAQA0KICMgQ29yZQ0KIG9i ai0kKENPTkZJR19FSU5UX01USykJCSs9IG10ay1laW50Lm8NCiBvYmotJChDT05GSUdfUElOQ1RS TF9NVEspCSs9IHBpbmN0cmwtbXRrLWNvbW1vbi5vDQotb2JqLSQoQ09ORklHX1BJTkNUUkxfTVRL X01PT1JFKSArPSBwaW5jdHJsLW1vb3JlLm8gcGluY3RybC1tdGstY29tbW9uLXYyLm8NCi1vYmot JChDT05GSUdfUElOQ1RSTF9NVEtfUEFSSVMpICs9IHBpbmN0cmwtcGFyaXMubyBwaW5jdHJsLW10 ay1jb21tb24tdjIubw0KK29iai0kKENPTkZJR19QSU5DVFJMX01US19WMikJKz0gcGluY3RybC1t dGstY29tbW9uLXYyLm8NCitvYmotJChDT05GSUdfUElOQ1RSTF9NVEtfTU9PUkUpICs9IHBpbmN0 cmwtbW9vcmUubw0KK29iai0kKENPTkZJR19QSU5DVFJMX01US19QQVJJUykgKz0gcGluY3RybC1w YXJpcy5vDQogDQogIyBTb0MgRHJpdmVycw0KIG9iai0kKENPTkZJR19QSU5DVFJMX01UMjcwMSkJ Kz0gcGluY3RybC1tdDI3MDEubw0KZGlmZiAtLWdpdCBhL2RyaXZlcnMvcGluY3RybC9tZWRpYXRl ay9tdGstZWludC5jIGIvZHJpdmVycy9waW5jdHJsL21lZGlhdGVrL210ay1laW50LmMNCmluZGV4 IDdlN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ksNyBAQCBpbnQgbXRrX3BpbmNvbmZfYmlh c19nZXQoc3RydWN0IG10a19waW5jdHJsICpodywNCiANCiAJcmV0dXJuIDA7DQogfQ0KK0VYUE9S VF9TWU1CT0xfR1BMKG10a19waW5jb25mX2JpYXNfZ2V0KTsNCiANCiAvKiBSZXZpc2lvbiAxICov DQogaW50IG10a19waW5jb25mX2JpYXNfZGlzYWJsZV9zZXRfcmV2MShzdHJ1Y3QgbXRrX3BpbmN0 cmwgKmh3LA0KQEAgLTQ1Niw2ICs0NjQsNyBAQCBpbnQgbXRrX3BpbmNvbmZfYmlhc19kaXNhYmxl X3NldF9yZXYxKHN0cnVjdCBtdGtfcGluY3RybCAqaHcsDQogDQogCXJldHVybiAwOw0KIH0NCitF WFBPUlRfU1lNQk9MX0dQTChtdGtfcGluY29uZl9iaWFzX2Rpc2FibGVfc2V0X3JldjEpOw0KIA0K IGludCBtdGtfcGluY29uZl9iaWFzX2Rpc2FibGVfZ2V0X3JldjEoc3RydWN0IG10a19waW5jdHJs ICpodywNCiAJCQkJICAgICAgY29uc3Qgc3RydWN0IG10a19waW5fZGVzYyAqZGVzYywgaW50ICpy ZXMpDQpAQCAtNDczLDYgKzQ4Miw3IEBAIGludCBtdGtfcGluY29uZl9iaWFzX2Rpc2FibGVfZ2V0 X3JldjEoc3RydWN0IG10a19waW5jdHJsICpodywNCiANCiAJcmV0dXJuIDA7DQogfQ0KK0VYUE9S VF9TWU1CT0xfR1BMKG10a19waW5jb25mX2JpYXNfZGlzYWJsZV9nZXRfcmV2MSk7DQogDQogaW50 IG10a19waW5jb25mX2JpYXNfc2V0X3JldjEoc3RydWN0IG10a19waW5jdHJsICpodywNCiAJCQkg ICAgICBjb25zdCBzdHJ1Y3QgbXRrX3Bpbl9kZXNjICpkZXNjLCBib29sIHB1bGx1cCkNCkBAIC00 OTIsNiArNTAyLDcgQEAgaW50IG10a19waW5jb25mX2JpYXNfc2V0X3JldjEoc3RydWN0IG10a19w aW5jdHJsICpodywNCiAN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