Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp196916ybv; Wed, 12 Feb 2020 22:18:54 -0800 (PST) X-Google-Smtp-Source: APXvYqz2iyYz7VdMdspIR05lufBCXG1sL5vIz/ZKs1BoqZiL02mQs8yt09EPWvMNRpzaBcel9v0n X-Received: by 2002:a9d:75da:: with SMTP id c26mr12367848otl.40.1581574734477; Wed, 12 Feb 2020 22:18:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581574734; cv=none; d=google.com; s=arc-20160816; b=s6rQfLSnbdX7awvYoHKY0BYiGrvpSTNC+lP7WwdNlx9QKtT0oG+UgkoER2xmTaC0nL k/8v1uAquR7f8UOmLZGMql33MoxTz9azhSJhBhSI3THR24oA8W/6idLia2yYTJdMGEgn UreZ673BRjVgGAhSX3R8dKjdy2NUxjJLMEQNJzY7DixNocdbYylcLnTJN6V1/su/CF5c EtTQzGqJ+hCEOurbf7PxvH++vlTOFzHrbEaZdsPELC0EhHN60ndmN6T02lcKtwPrHALK 9V1Kq1T+vImSHspW4wxeD8Mg+lWWTYhe0NFrcNnYIa2BqvyV+ppNeNV//N0uDxsSzCFT kRvQ== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=wp8xIpBUYZvjobmILhiTxM8wU9UqAdrCEMx/KINh5ug=; b=J4iQiOrqrZUroC+C2K15geMO2Pl0kBl+i2FGBjNobe6I1Y4cM+HywyXSxAoMWBBlQ8 yAbZ3IFYlLbLFJu5WqqZ/6LGo777085bMioMrLT6LlFVcr6uuPacs554g4QQXjahC+Vf l7k+FN3dWB3LeiffwklgVAWzigIveUO1TDOfjN4KQVlCgWQ3CN+fBfZGluawSOmpkucB jeQ0Y+rgW1dvDuO0RENb5qXvG9k/XOY/M6KrUAWGybC3GF7Bwds5QvIfo6TTUzI8TiE/ 9wX+8T0GkSSV1Znqw8aGAPKYFu+ycYFnM+8vsIjsQ/twTebnw4gYDD0nUzc24KJvXxQC 2SXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uDYLG5tb; 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 k202si725552oih.244.2020.02.12.22.18.40; Wed, 12 Feb 2020 22:18:54 -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=uDYLG5tb; 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 S1729728AbgBMGRR (ORCPT + 99 others); Thu, 13 Feb 2020 01:17:17 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:53536 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726368AbgBMGRR (ORCPT ); Thu, 13 Feb 2020 01:17:17 -0500 X-UUID: 4b286d5507b640ab84624eda6b79895a-20200213 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=wp8xIpBUYZvjobmILhiTxM8wU9UqAdrCEMx/KINh5ug=; b=uDYLG5tbMKLUTZlRrA7+nvn7jAEsHzniAiXha5neHAi1g6IY/LKSdrX2c/QmzKovO+6tFJPp6jWkmJ2Ubi15D59fJJTje/b1QiZuwLq8IT80n10z2ilSYpB4vZbhtTv+GKgdK2GUpn/IULgZAQcKucvnmKv6E9sGV6tGe9xrXac=; X-UUID: 4b286d5507b640ab84624eda6b79895a-20200213 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 1292028876; Thu, 13 Feb 2020 14:17:06 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 13 Feb 2020 14:14:41 +0800 Received: from [172.21.77.33] (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:16:00 +0800 Message-ID: <1581574624.1827.4.camel@mtkswgap22> Subject: Re: [PATCH v1 1/2] pinctrl: make MediaTek pinctrl v2 driver ready for buidling kernel module From: Light Hsieh To: CC: , , , , Date: Thu, 13 Feb 2020 14:17:04 +0800 In-Reply-To: <1581574105-1160-1-git-send-email-light.hsieh@mediatek.com> References: <1581574105-1160-1-git-send-email-light.hsieh@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 38B96BFD51153968225F7D4B60B87F01279A6DDAA646854E736CDBBE5D94E3A72000: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 RGVhciBSZXZpZXdlcnM6DQoNCkdvb2dsZSBwbGFuIHRvIG1ha2UgcGxhdGZvcm0gZHJpdmVyIGFz IGtlcm5lbCBtb2R1bGUgaW4gZnV0dXJlIEFuZHJvaWQNCmtlcm5lbC4NClRoaXMg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