Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp189892ybv; Wed, 12 Feb 2020 22:09:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxe6joNFSy0WiVJWuY/OvLnLLrSMSXnFDv7ETIfwV3Z5ouuYgsMVKjmvfW38FuvqYTyw64M X-Received: by 2002:aca:4789:: with SMTP id u131mr1797174oia.43.1581574159974; Wed, 12 Feb 2020 22:09:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581574159; cv=none; d=google.com; s=arc-20160816; b=ZJfi6vKdxTYpcCn9G5zi9sB62LxtyCfkHZawj7MclYmwL7WPo23gUWAaP4qMplvhdQ pZ8OOwlwo6JS2Kj1K8n+nzD2dgaViQTLETlt1rdxTVQ38/G/JXYMwITnHXH1zXqI9gRR iGOdPsF1RwuKLaOiZqpW8aNh/rCPO7xKHU84YTO+6gAeGk0mUKxmE89ZjVgdDY8z6sWp 5BMmjnqPIqGOVrHxBMuQWFvHhlPSoUcZYtIR/zvExwV3/EVxSpJpX3EuSrZDwaDoFJiq gj/TlVlZk8idZkqyqEUG5Dfx2vUlaYm3VgStWJuEGVpsrhHsAAB6tHMG80nOOTee3PJY N1pw== 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=f3e3yqSrTJpIRenjY9iBI7E4Ep2J/25DEt3fIkE9kMg=; b=JDjZRHBDtZFL1apgDC1NvtJOyviioOMc1FTulEVkiJqpZrD3FYOo2lMWwo/WRoI/yb jojLrk0cHzO7TxG6OD+41UslW/9pp77SOjvMJ+XceTjENrERHR4Ng6Mk2rMi+N93T9BI kbOjmCrzmTqeZb3QxxlpoBjuwI6Wi+5ienAvdWSxOuPj8x1WvbhqqramptApNuGY0NcQ W0bIpiZcZVf+wsYoSrF1DjClGSbscHyrgnork3vReJ1O+6guFMmtmw0QqLn4ltkQyJSa tsbjWG1IW8RX6RAQCZmxVz7GAQRekeclabgdjjgJrqWknJDmZAiaZhesr17mi34LK12j bbhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Kli98yt1; 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 h16si666168otk.193.2020.02.12.22.09.07; Wed, 12 Feb 2020 22:09:19 -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=Kli98yt1; 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 S1729713AbgBMGIf (ORCPT + 99 others); Thu, 13 Feb 2020 01:08:35 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:4331 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726436AbgBMGIe (ORCPT ); Thu, 13 Feb 2020 01:08:34 -0500 X-UUID: f4b208fb233a4e9e99a4775758391797-20200213 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=f3e3yqSrTJpIRenjY9iBI7E4Ep2J/25DEt3fIkE9kMg=; b=Kli98yt1z6pH+3oLpUk60RZTQ3wEtEOX/vtKLc2L4hM6b17rZ5WfhtUdZAmox8qHsuiDPJ+P1rzhTP+EAu5OTrUPPwfI9ea2yCaji/3smxBmaRz4oA5WJvjkiXYcXAGl0nJPQzn0+cuUQRQz7gj1QeObgC5bY+BzYLYvARX9nko=; X-UUID: f4b208fb233a4e9e99a4775758391797-20200213 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1980234251; Thu, 13 Feb 2020 14:08:28 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 13 Feb 2020 14:09:00 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 13 Feb 2020 14:07:23 +0800 From: To: CC: , , , , , Light Hsieh Subject: [PATCH v1 1/2] pinctrl: make MediaTek pinctrl v2 driver ready for buidling kernel module Date: Thu, 13 Feb 2020 14:08:24 +0800 Message-ID: <1581574105-1160-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-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 RnJvbTogTGlnaHQgSHNpZWggPGxpZ2h0LmhzaWVoQG1lZGlhdGVrLmNvbT4NCg0KR29vZ2xlIHBs YW4gdG8gbWFrZSBwbGF0Zm9ybSBkcml2ZXIgYXMga2VybmVsIG1vZHVsZSBmb3IgZnV0dXJlDQpB bmRyaW9kIGtlcm5lbC4gVGhpcyBwYXRjaCBtYWtlIHBsYXRmb3JtcyB0aGF0IHVzZSBwaW5jdHJs LXBhcmlzLmMNCm9mIE1lZGlhVGVrIHBpbmN0cmwgdjIgcmVhZHkgZm9yIGJ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10a19waW5fZGVzYyAqZGVzYywgaW50 ICpyZXMpDQpAQCAtNDczLDYgKzQ4Miw3IEBAIGludCBtdGtfcGluY29uZl9iaWFzX2Rpc2FibGVf Z2V0X3JldjEoc3RydWN0IG10a19waW5jdHJsICpodywNCiANCiAJcmV0dXJuIDA7DQogfQ0KK0VY UE9SVF9TWU1CT0xfR1BMKG10a19waW5jb25mX2JpYXNfZGlzYWJsZV9nZXRfcmV2MSk7DQogDQog aW50IG10a19waW5jb25mX2JpYXNfc2V0X3JldjEoc3RydWN0IG10a19waW5jdHJsICpodywNCiAJ CQkgICAgICBjb25zdCBzdHJ1Y3QgbXRrX3Bpbl9kZXNjICpkZXNjLCBib29sIHB1bGx1cCkNCkBA IC00OTIsNiArNTAyLDcgQEAgaW50IG10a19waW5jb25mX2JpYXNfc2V0X3JldjEoc3RydWN0IG10 a19waW5jdHJsICpodywNCiANCiAJcmV0dXJuIDA7DQogfQ0KK0VYUE9SVF9TWU1CT0xfR1BMKG10 a19waW5jb25mX2JpYXNfc2V0X3JldjEpOw0KIA0KIGludCBtdGtfcGluY29uZl9iaWFzX2dldF9y ZXYxKHN0cnVjdCBtdGtfcGluY3RybCAqaHcsDQogCQkJICAgICAgY29uc3Qgc3RydWN0IG10a19w aW5fZGVzYyAqZGVzYywgYm9vbCBwdWxsdXAsDQpAQCAtNTE3LDYgKzUyOCw3IEBAIGludCBtdGtf cGluY29uZl9iaWFzX2dldF9yZXYxKHN0cnVjdCBtdGtfcGluY3RybCAqaHcsDQogDQogCXJldHVy biAwOw0KIH0NCitFWFBPUlRfU1lNQk9MX0dQTChtdGtfcGluY29uZl9iaWFzX3NldF9nZXYxKTsN CiANCiAvKiBDb21ibyBmb3IgdGhlIGZvbGxvd2luZyBwdWxsIHJlZ2lzdGVyIHR5cGU6DQogICog MS4gUFUgKyBQRA0KQEAgLTcxNyw2ICs3MjksNyBAQCBpbnQgbXRrX3BpbmNvbmZfYmlhc19zZXRf Y29tYm8oc3RydWN0IG10a19waW5jdHJsICpodywNCiBvdXQ6DQogCXJldHVybiBlcnI7DQogfQ0K K0VYUE9SVF9TWU1CT0xfR1BMKG10a19waW5jb25mX2JpYXNfc2V0X2NvbWJvKTsNCiANCiBpbnQg bXRrX3BpbmNvbmZfYmlhc19nZXRfY29tYm8oc3RydWN0IG10a19waW5jdHJsICpodywNCiAJCQkg ICAgICBjb25zdCBzdHJ1Y3QgbXRrX3Bpbl9kZXNjICpkZXNjLA0KQEAgLTczNyw2ICs3NTAsNyBA QCBpbnQgbXRrX3BpbmNvbmZfYmlhc19nZXRfY29tYm8oc3RydWN0IG10a19waW5jdHJsICpodywN CiBvdXQ6DQogCXJldHVybiBlcnI7DQogfQ0KK0VYUE9SVF9TWU1CT0xfR1BMKG10a19waW5jb25m X2JpYXNfZ2V0X2NvbWJvKTsNCiANCiAvKiBSZXZpc2lvbiAwICovDQogaW50IG10a19waW5jb25m X2RyaXZlX3NldChzdHJ1Y3QgbXRrX3BpbmN0cmwgKmh3LA0KQEAgLTc2Niw2ICs3ODAsNyBAQCBp bnQgbXRrX3BpbmNvbmZfZHJpdmVfc2V0KHN0cnVjdCBtdGtfcGluY3RybCAqaHcsDQogDQogCXJl dHVybiBlcnI7DQogfQ0KK0VYUE9SVF9TWU1CT0xfR1BMKG10a19waW5jb25mX2RyaXZlX3NldCk7 DQogDQogaW50IG10a19waW5jb25mX2RyaXZlX2dldChzdHJ1Y3QgbXRrX3BpbmN0cmwgKmh3LA0K IAkJCSAgY29uc3Qgc3RydWN0IG10a19waW5fZGVzYyAqZGVzYywgaW50ICp2YWwpDQpAQCAtNzkw LDYgKzgwNSw3IEBAIGludCBtdGtfcGluY29uZl9kcml2ZV9nZXQoc3RydWN0IG10a19waW5jdHJs ICpodywNCiANCiAJcmV0dXJuIDA7DQogfQ0KK0VYUE9SVF9TWU1CT0xfR1BMKG10a19waW5jb25m X2RyaXZlX2dldCk7DQogDQogLyogUmV2aXNpb24gMSAqLw0KIGludCBtdGtfcGluY29uZl9kcml2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