Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2460004ybl; Mon, 19 Aug 2019 02:23:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeVJcLk39N4FjbtO5TYFzDPy4eVJt9EGUZSEl+voPUdfwt63ds2SnybX5JXTDhLVKM5gkC X-Received: by 2002:a17:90a:cb89:: with SMTP id a9mr19546020pju.93.1566206591303; Mon, 19 Aug 2019 02:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566206591; cv=none; d=google.com; s=arc-20160816; b=Y2cU2isip40OlLPERGt2BWc4oXHw5PXO6Qfjs2FEHpExnaJzTQ3MepOSsDAZmngl+n XCPQWT2xTgf9kB+f9VKQuXD9BDESLLuftUJGa8cTufX69CRGeBVOB2fA3g5Jm/hFPNxA /+rCTglG1/x43EcIhgeVHhiRksq0mcG0qwuX9J/B4vtUwIQfHJjhJT6Nlv48dJFPXwGm wW8ygV85NpKvpQYM330f4le8MujiCgbaSrOUk3K095Li/BVxYHyLmCOi8oE8k3pVnK6g PSbAHfw/6UHUlZwZ0f2oQASy+5A9hcnUnxpLk50rFxk0JUyPgQ2zhY9BeDQsj8WKeoWg sqqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=gPJAmkZPDimMCyHuQic5WdtLO7ZcbCVmiHyEXvQa/38=; b=TxOn7oPIC0Kh++m8fmipL5b4qCsXiLLFivhuWTskd4YRgONAZTco/U3Bg3QCfW1vql D/bEhcKPDVPBtpBsSZBTkT7QVOgaIsUhsNOmgHYMyh5Y+Gt0c1l1sA+wH+7HqNQO4xsc TmPq6HQrLP9KBqPHcNMPyi7+3j89k2Wi+TUvRvWIVcO9ulSSJbBN+uZliISsGtrM2FMk 0IsrUjnvr2h/5kj6ucUafgb/7n0VyqL6OpkhICHrzUBTD0fQbqwzrHQXcGU+STSmyjcP wYBdGXTc+IuIjz5JVfdwMA5uxn8RFvOFd1szmeDuwh/iMO8Ygtv6luGlM2aPcmKo6eMN yqJQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 bb7si9497365plb.303.2019.08.19.02.22.55; Mon, 19 Aug 2019 02:23:11 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727390AbfHSJWI (ORCPT + 99 others); Mon, 19 Aug 2019 05:22:08 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:4354 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726857AbfHSJWI (ORCPT ); Mon, 19 Aug 2019 05:22:08 -0400 X-UUID: 9adc7367229041aa9ac70645ef507cb8-20190819 X-UUID: 9adc7367229041aa9ac70645ef507cb8-20190819 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1793102664; Mon, 19 Aug 2019 17:22:00 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 19 Aug 2019 17:22:01 +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.1395.4 via Frontend Transport; Mon, 19 Aug 2019 17:22:01 +0800 From: Mars Cheng To: Matthias Brugger , Rob Herring , Marc Zyngier , Stephen Boyd , Sean Wang , Linus Walleij CC: CC Hwang , Loda Chou , , , , , mtk01761 , , Mars Cheng Subject: [PATCH v2 07/11] pinctrl: mediatek: add mt6779 eint support Date: Mon, 19 Aug 2019 17:21:38 +0800 Message-ID: <1566206502-4347-8-git-send-email-mars.cheng@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1566206502-4347-1-git-send-email-mars.cheng@mediatek.com> References: <1566206502-4347-1-git-send-email-mars.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add driver setting to support mt6779 eint Signed-off-by: Mars Cheng --- drivers/pinctrl/mediatek/pinctrl-mt6779.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6779.c b/drivers/pinctrl/mediatek/pinctrl-mt6779.c index 145bf22..49ff3cc 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt6779.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt6779.c @@ -731,11 +731,19 @@ "iocfg_rt", "iocfg_lt", "iocfg_tl", }; +static const struct mtk_eint_hw mt6779_eint_hw = { + .port_mask = 7, + .ports = 6, + .ap_num = 209, + .db_cnt = 16, +}; + static const struct mtk_pin_soc mt6779_data = { .reg_cal = mt6779_reg_cals, .pins = mtk_pins_mt6779, .npins = ARRAY_SIZE(mtk_pins_mt6779), .ngrps = ARRAY_SIZE(mtk_pins_mt6779), + .eint_hw = &mt6779_eint_hw, .gpio_m = 0, .ies_present = true, .base_names = mt6779_pinctrl_register_base_names, -- 1.7.9.5