Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3954671imm; Mon, 8 Oct 2018 12:15:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV61OYot/1hYoVjGRpgwilP6vAr3AZfjw86q0kkeiJ3kkRWqYkQijJZvmriflTe8ZA2Jui8xC X-Received: by 2002:a63:b95c:: with SMTP id v28-v6mr22290751pgo.221.1539026104621; Mon, 08 Oct 2018 12:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539026104; cv=none; d=google.com; s=arc-20160816; b=jXW16IFyrKotwZA1xHaTkvLcDMSVNTIGZDESMPG6As0ctHR94iYRu1n/5dkqKzifmw AhkPYPK7icAhtG7oCwlgI38HItj8AF5/s2C2GvKMrTuaa54Yh7m76VKHDUp9gUZ2MhBO jF/tMmQyOR+FQBgb6dM6tANzVjbk9gg3A9Bhrcp0Iv/JZWwflu8lfDuNl5jFELcEryYv pRKwmg08O+FArzyv7KYyGik3p8HA/11MRRn4Zk3kd+rV0YA8nR7pNgEA5X2c8FtK6fAF PLLh76FglFKrGm5dBdmEsbTqNbPr+nvb3bBhnpA6RuWEor/3zL06GpsomDTPzYAn12Hx wojA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ZvL9JXPkSCEpU6IxoDs/WZI6AFU5ENywXz2f9GrqSf8=; b=IqLevn6L3U2mGWrRf8LX+9BndSMQUyXiHNzn/VCjx6skNJv1hS9Rfct1v3RvYHg4Wp uJ7K5cy2G6s44cQp7eHNjc5lWoitJp00Nv5BVZ3f55r6gbvMWWACqLQl2j01TSGsa7R1 kbsKhl1MTqxyXPun6if6TCUljx34wk80M5jywbIRcgGqNUnJjEEc1u3RYO8jqdKdOQNM 3vYDn1VRJBshk7j02YomFjuZzrXZYXnC5WmcTjMzz8ctzXcZBrc6AdMlLkY1XL3aUEmc mxZyUgwwUIom9hf0LI2rPDjCirfRdocQ7aggbaKOOYwbY2e8mqvvr3OeWXMUpWMqTFYv DNKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gxwrCGEl; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2-v6si15214324pgl.21.2018.10.08.12.14.49; Mon, 08 Oct 2018 12:15:04 -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; dkim=pass header.i=@linaro.org header.s=google header.b=gxwrCGEl; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727810AbeJIC17 (ORCPT + 99 others); Mon, 8 Oct 2018 22:27:59 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:35387 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727350AbeJIC15 (ORCPT ); Mon, 8 Oct 2018 22:27:57 -0400 Received: by mail-pl1-f195.google.com with SMTP id f8-v6so10492620plb.2 for ; Mon, 08 Oct 2018 12:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZvL9JXPkSCEpU6IxoDs/WZI6AFU5ENywXz2f9GrqSf8=; b=gxwrCGEljkrpXtlXSyZ1blqbi0+WuBcrN6KShqdSAH9+BolUCUdLzx3iZpJghKEoSW CaYR0UWTf3eAD2V+dKRzGtkp+uQFU6YOEocN8JognNp/+rXhYpHujsgbP/BPfsOQVVhB iZcQ9vPwFQs69RVPBHtlVYYIXJ/bJ6FjDhmWY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZvL9JXPkSCEpU6IxoDs/WZI6AFU5ENywXz2f9GrqSf8=; b=GpTXfhTHzm1saM5Mn6fQ9zTxtoinHmPPJ9AgX9r3d7tZhdJM0gWAjMuXjfXK2JiKOV bSXIrcd2H32xQ9lhffdSEJMNEZaPSh2CQCZdkvOFDHlL64ES/aj/9/1IlWtT1DKPqL7h lPHnZND9rraPjhqIFldk7JdjHVKS8h8YSQxG3BRK6M174sq7w+883NpxLJNogGxp59oe 1IdAloqclYTFfJDHuUo+4+KbuwlbEJV/j315GD8hfxhAVfx4Bn/E5jns83Tcsgt+Ni9Z 5emqbDlb7Q1Ws9LRSqiti3yfFt6r/YnweYPEQ3cz8cdaM9WC3Yab6jiFt3HK9QTUP6Cc Wm2g== X-Gm-Message-State: ABuFfogwnYq0D1f/RoRpy+cSIQHxVz8Bqg08LVB17l0icjyRMGrX+5ei 9+mBZUVD2YMdxHzb93oTFkjpOVK1Vw== X-Received: by 2002:a17:902:8f90:: with SMTP id z16-v6mr24250133plo.329.1539026082010; Mon, 08 Oct 2018 12:14:42 -0700 (PDT) Received: from localhost.localdomain ([2405:204:73c6:20ea:9fd:1785:d893:1e98]) by smtp.gmail.com with ESMTPSA id a15-v6sm15648035pff.8.2018.10.08.12.14.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Oct 2018 12:14:41 -0700 (PDT) From: Manivannan Sadhasivam To: sean.wang@mediatek.com, linus.walleij@linaro.org, matthias.bgg@gmail.com, robh+dt@kernel.org Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, amit.kucheria@linaro.org, Manivannan Sadhasivam Subject: [PATCH 2/5] arm64: dts: mediatek: mt6797: Add pinctrl support Date: Tue, 9 Oct 2018 00:44:08 +0530 Message-Id: <20181008191411.32555-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181008191411.32555-1-manivannan.sadhasivam@linaro.org> References: <20181008191411.32555-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pinctrl support for Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index 4beaa71107d7..231230d32d09 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -14,6 +14,7 @@ #include #include #include +#include / { compatible = "mediatek,mt6797"; @@ -129,6 +130,19 @@ #clock-cells = <1>; }; + pio: pinctrl@10005000 { + compatible = "mediatek,mt6797-pinctrl"; + reg = <0 0x10005000 0 0x1000>, + <0 0x10002000 0 0x400>, + <0 0x10002400 0 0x400>, + <0 0x10002800 0 0x400>, + <0 0x10002C00 0 0x400>; + reg-names = "gpio", "iocfgl", "iocfgb", + "iocfgr", "iocfgt"; + gpio-controller; + #gpio-cells = <2>; + }; + scpsys: scpsys@10006000 { compatible = "mediatek,mt6797-scpsys"; #power-domain-cells = <1>; -- 2.17.1