From patchwork Mon Oct 8 19:14:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10631319 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5787F17E3 for ; Mon, 8 Oct 2018 19:16:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 466642848B for ; Mon, 8 Oct 2018 19:16:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39F0F29A2F; Mon, 8 Oct 2018 19:16:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BD4AB29A57 for ; Mon, 8 Oct 2018 19:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=TTR4kH486FdsJKBGRCs4i7gKQu3dvIwRV4ED5wgisv8=; b=ZbDuD2ehiAv26eJeyd76U/Gn5x xCvbXTqwXbFOo1GHdSvbEqWjpR4NOWNNCvjLJ/mGDtNMo6Bqm3iPdtLhTlSnDS2vvId3W51FyLFPz xn0hexKpl00+tbnDjbLS1Q8K2qVKrXjybVjj1+OfeedTVVvySd1ttfSuTPnswOl7HhoUL7f4kqhhV 40y0wfuPdbV3FYOmlfzGiBuNtJxyfz30DaKux3Pap5WQm3Iz+dXNwMuCEo8KBXv3TjXoC7vrQBtqv je7PgUm95IR+x9H21Gke6r9+Ln658qSNrr4+DaWbtOiC5LaPof118JktykM1qOgcaadJi0RgvFJjl Ea96mWvw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9b19-0004H1-Vx; Mon, 08 Oct 2018 19:16:36 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9azU-0002Cv-Ny for linux-mediatek@lists.infradead.org; Mon, 08 Oct 2018 19:15:35 +0000 Received: by mail-pl1-x641.google.com with SMTP id q17-v6so10487590plr.8 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=K6VgfQ6zwdrxOEmWf90w2fNPFKxBCUn/1xT1gt0xpaZgYPfGWyacXSkTTspsbv11a7 4qyhQOM9AHnxIzH173HuEyjRxiomcDE4dbFToOGFCZHu6SJgrLLE2KjRkwrfeh+T7cvm pTyGbkhYSRzB7Gc3YDvM4OXRMwklE2rINPBImGXOTTBJA2roQENM7MT8PmMBTuSVH28/ JDgBEVo484FXH3Y+M8RyfKGrTePO2Kzze8bBVdDl5q8QRm4jgqKetjtOWRM67HAkO5Nr TkV3c7d0bcW7AcrBAOw4JYlVxOk1dXGV/y2RCCTKtBPzUtiDvPHnDGhZSn/IObVR3pAs +HAA== X-Gm-Message-State: ABuFfoh3D9nq30ME2pbbYwkehQXFX/veqIPzV2QazpRbpUQpUQl7LGQZ ydCzRgiRVAOYWyToPdneSJVY X-Google-Smtp-Source: ACcGV62kaGS4fowQudFTnmWTCtKB7YIIfqmaRo51lhj3onIDtWeIfk66q562QXr5BBMIYTrnoj4VMA== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_121452_996767_D44144DF X-CRM114-Status: GOOD ( 10.29 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>;