From patchwork Wed Nov 7 17:48:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10672805 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 19BA614D6 for ; Wed, 7 Nov 2018 17:51:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B0FC2CD47 for ; Wed, 7 Nov 2018 17:51:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F39012CD69; Wed, 7 Nov 2018 17:51:20 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 9ACAA2CD70 for ; Wed, 7 Nov 2018 17:51:20 +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=R8O7cL5R2U9Nh8ERnuybz9ITLN Uw4WvyM73wO08M4f0JE3VEplTNd00GaLqw8xR0ir8OYmOD6/rWFVECLF4coDI/0Flu6LXG6ylVHIt h4h+LFi/ilkD5l2fY90E4XOZbS/Dfn8uVTIg7wpusrMsZrkVBKU/rLUZ4PRB/0R4HipH9aZ0K1gWZ aIo+wY8ESVyHmhN95MgbUS9JIlaiEkjrC4pJSdd5fDtFP4u1Q6slgzqE0Wry4IsqBVvafvs4+QanK +4s7vJHpP2H5rTcIQVLbHcXlKBIuA/AglCiCwMKJZfDlk3fj76gxUuzjIbh6QdhK5TP8l2vZ4Ww0u GCYDpgpw==; 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 1gKRz5-0007nG-5h; Wed, 07 Nov 2018 17:51:19 +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 1gKRxB-0004aU-9y for linux-mediatek@lists.infradead.org; Wed, 07 Nov 2018 17:49:22 +0000 Received: by mail-pl1-x641.google.com with SMTP id n4-v6so8192902plp.2 for ; Wed, 07 Nov 2018 09:49:10 -0800 (PST) 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=Z0J5bk+eoNem0AnNMuMANJe512cbFAU49tWAMroki8xfL7uSXXzcffXoFDzh7kMcgE mLlsioDz9P2drBo7TPvY4l6U8x11NoT6CR+Uy1wRDot8pw4yS4glvTqbtbEqNTMMKTA4 gSAYVS2q9dsA0MW8Fr7b8ST2aJs23i94Exbx8= 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=J454ERpNpplPtRuTctGFcs0gUfK5P9MEOdXhpXSi+QgYc7MEYdnn0sdgsyCdbZcBSa 08TKHDCNzUH8h4u2divAk56q+LBWWrkJVriGQEusxVe9zggr6v9Nrno54Qenx9UTUSLY ADvnveagJ+oPY9nyKOoxvbViMU+WD7Fxqkm+Wo9Bhk8oAruADJH882F1zl5v0pIXtfDy 72KIDrB8B2goqBHVhcaCvrri2wjvXFfJHq4yZR3RMYNYe2ZlXPT2DfKsuXZw1TW5DFZz B4LEJyfi67IErDfW2fRwlW9MHpB2wnsNF6Oj/DjdBQ6mYVgDCULkcKJMfuEGRjDWErRJ vphg== X-Gm-Message-State: AGRZ1gKpNeGGXy+VWtU6akZA96AiMwEommgeJzt205GfRMcJpbywOoqa K4ARJt1EAR0gUSaywFHduJ0e X-Google-Smtp-Source: AJdET5ePTGKWfoOvu4C1Fs7jjqbYnGGWQHfIzbxUiWhQ644TZ+6TO54YVoeUk5RC8eIoKmqPryN8Jg== X-Received: by 2002:a17:902:f097:: with SMTP id go23mr1119856plb.328.1541612949727; Wed, 07 Nov 2018 09:49:09 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6282:6ca8:a0d9:6a81:97fe:992e]) by smtp.gmail.com with ESMTPSA id e70-v6sm1232645pfb.113.2018.11.07.09.49.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 09:49:09 -0800 (PST) From: Manivannan Sadhasivam To: sean.wang@kernel.org, linus.walleij@linaro.org, matthias.bgg@gmail.com, robh+dt@kernel.org Subject: [PATCH v3 2/4] arm64: dts: mediatek: mt6797: Add pinctrl support Date: Wed, 7 Nov 2018 23:18:42 +0530 Message-Id: <20181107174844.5381-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181107174844.5381-1-manivannan.sadhasivam@linaro.org> References: <20181107174844.5381-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181107_094921_428036_DDDD2247 X-CRM114-Status: GOOD ( 10.30 ) 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 Acked-by: Linus Walleij --- 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>;