From patchwork Tue Jul 14 08:29:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 6784441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EA6E19F2E8 for ; Tue, 14 Jul 2015 08:33:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0BC92203EB for ; Tue, 14 Jul 2015 08:33:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3806D203E3 for ; Tue, 14 Jul 2015 08:33:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZEvcs-0002XU-NQ; Tue, 14 Jul 2015 08:31:42 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZEvcq-0002S6-Ha for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2015 08:31:41 +0000 Received: by wicmv11 with SMTP id mv11so7812426wic.1 for ; Tue, 14 Jul 2015 01:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=zmJ6ZTbKn8u0RDNHvYc6jPpije1aZzkwDmL0blsFTio=; b=Xg8/cY3aiU2tCr2uFk1fCqK53NwkaofpPIaG2Noy9o50fym/LVn7k8UrxOeQallAak k59Al8pjuBuaR/oRE41etrykY8U0LgnDZXSumKF1DNVsfcaPDWEJ46ksqc0hhf7CB+vU ECOmqSL8xRf5UOjzZ0NOVuZaE7VbTM2R2QkYUjMhAvK8xVhrA/wXoywNeooFa5hbu1Mh hKjBmZPzplZJ5aVbDh9sgAxMF/RJ5EIV2gdGc/isYdYONU9dH/FINokCGeOfyVXuzB2r 0v/sF5thG7Rzx/U0/1PFAeJCgWOaVIqJBqrDnQaxudv0nblW39lWRiHgFQ7kiNCDLQEm KIsw== X-Received: by 10.180.10.163 with SMTP id j3mr30967985wib.34.1436862678973; Tue, 14 Jul 2015 01:31:18 -0700 (PDT) Received: from cizrna.lan ([109.72.12.162]) by smtp.gmail.com with ESMTPSA id k2sm1810368wif.4.2015.07.14.01.31.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 01:31:17 -0700 (PDT) From: Tomeu Vizoso To: linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] ARM: tegra: Add gpio-ranges property Date: Tue, 14 Jul 2015 10:29:56 +0200 Message-Id: <1436862596-27730-4-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1436862596-27730-1-git-send-email-tomeu.vizoso@collabora.com> References: <1436862596-27730-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150714_013140_736395_228A1C7B X-CRM114-Status: GOOD ( 14.26 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Tomeu Vizoso , Stephen Warren , Ian Campbell , Rob Herring , linux-gpio@vger.kernel.org, Thierry Reding , Kumar Gala , linux-tegra@vger.kernel.org, Alexandre Courbot , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Specify how the GPIOs map to the pins in Tegra SoCs, so the dependency is explicit. Signed-off-by: Tomeu Vizoso Acked-by: Stephen Warren --- Changes in v2: - Remove outdated comment from the commit changelog arch/arm/boot/dts/tegra114.dtsi | 1 + arch/arm/boot/dts/tegra124.dtsi | 1 + arch/arm/boot/dts/tegra20.dtsi | 1 + arch/arm/boot/dts/tegra30.dtsi | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index f58a3d9d5f13..7e1e1717e46a 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi @@ -234,6 +234,7 @@ gpio-controller; #interrupt-cells = <2>; interrupt-controller; + gpio-ranges = <&pinmux 0 0 246>; }; apbmisc@70000800 { diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 87318a72f615..4779df336cb6 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -255,6 +255,7 @@ gpio-controller; #interrupt-cells = <2>; interrupt-controller; + gpio-ranges = <&pinmux 0 0 251>; }; apbdma: dma@0,60020000 { diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index f444b67f55c6..b44277c63e8e 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -244,6 +244,7 @@ gpio-controller; #interrupt-cells = <2>; interrupt-controller; + gpio-ranges = <&pinmux 0 0 224>; }; apbmisc@70000800 { diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 782b11b2af6a..28c547f27ecd 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi @@ -349,6 +349,7 @@ gpio-controller; #interrupt-cells = <2>; interrupt-controller; + gpio-ranges = <&pinmux 0 0 248>; }; apbmisc@70000800 {