From patchwork Wed Oct 18 04:24:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116187 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5637062qgn; Tue, 17 Oct 2017 21:26:23 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDLtEEbFX6dd1ZIupDAa4YFI9OLqhH4idg+0P71xjFYrLu37EdSbl7xB63BSpK1jOaeSiIH X-Received: by 10.99.160.25 with SMTP id r25mr12755142pge.254.1508300783313; Tue, 17 Oct 2017 21:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508300783; cv=none; d=google.com; s=arc-20160816; b=zVsHNzamOoETK/Ql7pqWCMF2HP7jE1O1dTazXKZbyUXm9bZXy/6PcYF/bcE6R8fJ3X d6AD97jsA6SIFmgZ3VIEvleaMbuseucJk2fnAoEfG6B3MiLElK2o9WI7GfIDeU28BD4X eTMzByhCLk+l+0ndeE2xLedRr5p8fuz3n+fR2UzkKIAGpf+XjLPnbGEmE6DYtLe7aX1z v0+fJ+lRiOOWfkWZGNnbs3Grhg8WjoxSTCDo32tYrWGMeY69jsesyBoSlDfWrrctIIBz n1+fJiTkCH0Psy3lWju8O3D1fQbg3MgzZLMrbW0KzJw50UvkNkfBj609P6mzmxwDBKLn hRhw== 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:dkim-filter :arc-authentication-results; bh=WyWL85Nrihz5/Tu3ieHutJqJCLWsmKNGl/RXb3Ainkg=; b=Ws5plqBhBmr5r2lwt7hzz0KhMMyOtLq1tX0Q6BsXR8Brgn529WhQ+GVOlFl2efe/DP D1TKHhtf+/mYc3zQ30szoy9AHlzapqJyUdkFIy+obhLvtEyQ3WVsunFmRjnB5DypQhAH H9UIIazyfQrXoEcU4JtAjplLx5AReq+r/7ETr4U/jZV5QSCUEplx7OawRCJtYBNNASVM gwZ7gdiJwXszIvMaACyBRD6DnfBo4ZFA3ZZyL0M39friUYH1wpPkAUGo68zPadyghJ0Y JARAW/vSy14GgSy30flUzPoiai4IWed29iJxZn/fA9RpEPMPLl0gA6gw5SSa2v1hlQ8H kWQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=vj+eZ9D5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c85si6811257pfb.271.2017.10.17.21.26.23; Tue, 17 Oct 2017 21:26:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=vj+eZ9D5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933506AbdJRE0W (ORCPT + 6 others); Wed, 18 Oct 2017 00:26:22 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:31393 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932670AbdJRE0S (ORCPT ); Wed, 18 Oct 2017 00:26:18 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9I4OgxL020843; Wed, 18 Oct 2017 13:24:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9I4OgxL020843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508300684; bh=jatBv0YkchzXQl1jv+7ZKG6ECk7veUf6oF+J/ya+VjQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vj+eZ9D5k0+XBL2prYiumWsschGZqlh7IsJline2Mo1xSCCCwV5YddFmNQMr/v/Wf jxz4zfSKxP3BnjhGvG8ltHcwDCnOvpwqnZV104U/1z0AEvYE5WqkoQw6do0DHh7Ine cW2Mm96bw3xigCpKpi66Mjy9HTpF8ZjAKOF0kFrp3vuC6P3N9aK8fgY3N5NvU2NVH/ H9ZvyajBJt19WchpC2j/tEcNUrRDdCYdoOORg+adQYhuIP80pnXKmXSPgVGI/hvrNP Yg2mO4TBsRlp2v+hZdVgX/KvROf6MnzkfeJWPc91m3NF1/KYRinpsRr+an+Ab2wLsZ V7qlq0LZDVZmw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Russell King Subject: [PATCH 1/6] ARM: dts: uniphier: add GPIO controller nodes Date: Wed, 18 Oct 2017 13:24:32 +0900 Message-Id: <1508300677-23190-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> References: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The GPIO controller also acts as an interrupt controller and the interrupt lines are connected to the AIDET block. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/uniphier-pro4.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/uniphier-pro5.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/uniphier-pxs2.dtsi | 17 +++++++++++++++++ arch/arm/boot/dts/uniphier-sld8.dtsi | 18 ++++++++++++++++++ 5 files changed, 77 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/uniphier-ld4.dtsi b/arch/arm/boot/dts/uniphier-ld4.dtsi index 79183db..b0151c4 100644 --- a/arch/arm/boot/dts/uniphier-ld4.dtsi +++ b/arch/arm/boot/dts/uniphier-ld4.dtsi @@ -103,6 +103,20 @@ clocks = <&peri_clk 3>; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>; + gpio-ranges-group-names = "gpio_range"; + ngpios = <136>; + socionext,interrupt-ranges = <0 48 13>, <14 62 2>; + }; + i2c0: i2c@58400000 { compatible = "socionext,uniphier-i2c"; status = "disabled"; diff --git a/arch/arm/boot/dts/uniphier-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi index b3dbbd9b..2921729 100644 --- a/arch/arm/boot/dts/uniphier-pro4.dtsi +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi @@ -111,6 +111,20 @@ clocks = <&peri_clk 3>; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>; + gpio-ranges-group-names = "gpio_range"; + ngpios = <248>; + socionext,interrupt-ranges = <0 48 16>, <16 154 5>; + }; + i2c0: i2c@58780000 { compatible = "socionext,uniphier-fi2c"; status = "disabled"; diff --git a/arch/arm/boot/dts/uniphier-pro5.dtsi b/arch/arm/boot/dts/uniphier-pro5.dtsi index b026bcd..c5d9501 100644 --- a/arch/arm/boot/dts/uniphier-pro5.dtsi +++ b/arch/arm/boot/dts/uniphier-pro5.dtsi @@ -198,6 +198,20 @@ clocks = <&peri_clk 3>; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>; + gpio-ranges-group-names = "gpio_range"; + ngpios = <248>; + socionext,interrupt-ranges = <0 48 16>, <16 154 5>; + }; + i2c0: i2c@58780000 { compatible = "socionext,uniphier-fi2c"; status = "disabled"; diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index 90b020c..4d83001 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -173,6 +173,23 @@ clocks = <&peri_clk 3>; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>, + <&pinctrl 96 0 0>; + gpio-ranges-group-names = "gpio_range0", + "gpio_range1"; + ngpios = <232>; + socionext,interrupt-ranges = <0 48 16>, <16 154 5>, + <21 217 3>; + }; + i2c0: i2c@58780000 { compatible = "socionext,uniphier-fi2c"; status = "disabled"; diff --git a/arch/arm/boot/dts/uniphier-sld8.dtsi b/arch/arm/boot/dts/uniphier-sld8.dtsi index b083903..09e52c8 100644 --- a/arch/arm/boot/dts/uniphier-sld8.dtsi +++ b/arch/arm/boot/dts/uniphier-sld8.dtsi @@ -103,6 +103,24 @@ clocks = <&peri_clk 3>; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>, + <&pinctrl 104 0 0>, + <&pinctrl 112 0 0>; + gpio-ranges-group-names = "gpio_range0", + "gpio_range1", + "gpio_range2"; + ngpios = <136>; + socionext,interrupt-ranges = <0 48 13>, <14 62 2>; + }; + i2c0: i2c@58400000 { compatible = "socionext,uniphier-i2c"; status = "disabled"; From patchwork Wed Oct 18 04:24:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116183 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5636644qgn; Tue, 17 Oct 2017 21:25:47 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCEJ9t1N5rnz6e4sjsmacS9eZ9zbvSaO/ZDo8tEcwmrgY7hT/WfBVa4VS15mQNCNpnqhkqS X-Received: by 10.98.46.69 with SMTP id u66mr13327704pfu.288.1508300746986; Tue, 17 Oct 2017 21:25:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508300746; cv=none; d=google.com; s=arc-20160816; b=rO5GrVi9SZOXgkix7nSlMMfHN4fTAlWBOxtOKAn6TGusoVPPw9xra4zr6FMraGDwL7 XX/cskdb7jHCIQqtxVA8WkonVb4kYjShv+8ZfMlmcE/9ZlrNCYHpBxGgeDeDle1CUbX7 Z3gWOJ+cw1r04k/famTw/N/+poGoJTHLc9UUC6cafY9HsT/mPe8vzozo8ZxOkgSaf1n9 6U0/lUy6QLtzlx7kuVT1bxo/nXuG//lH3ysxysXHALfMWOSs9LE41LCPZ5CBH4Cp3Tlq UNJ1eevX5bIP8zxhy75igKLAZOSUCJ6MyQppBvuvt6e/K2ScLBA4kLN667zzlWFbhEvs XjIw== 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:dkim-filter :arc-authentication-results; bh=9xWVw9w+/xJrkY6J//jf9pdIMFc4cavyNg9jFWB7XJU=; b=o4Vi5m++nmnas32FNAatVUPL2S2Ewxff1v8z5eY+AtPaR8ysJPHC/1i7238UKTmbH4 QLsuYvF2DkgNoPzNzG8BttnJ3Ju282voSG6Az/44ipDOL4Wcml0qFgnZpoJOUIp9HtWZ 2mdGuqSGQSZ5w9/a7Ig8sNL9E31oy9mL56yVUZUrchDgSsKHocovw2qytR9fL79yiNrz ng/alVZ0SR/U/JkzEoqkGHoDkJNxJYsIXP63GR/ExHnZnZwlniMHa9TPGC2932rxUrAV drQJbOTXbiQwHcsgr6saDLGGIUlObZrfVkwOFMgIundMITHANkUEe2UmJqVV9n7jtwsN RKAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=eMv2QV6V; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f22si857705pli.501.2017.10.17.21.25.46; Tue, 17 Oct 2017 21:25:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=eMv2QV6V; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932661AbdJREZo (ORCPT + 6 others); Wed, 18 Oct 2017 00:25:44 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:30306 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932487AbdJREZn (ORCPT ); Wed, 18 Oct 2017 00:25:43 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9I4OgxM020843; Wed, 18 Oct 2017 13:24:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9I4OgxM020843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508300685; bh=Z6NaPW0lLdljp3kZt1GfSGMzfRnrDggY+mROalWJIrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eMv2QV6VuASaRaWMOzw9fkKnq+w73qfAkm84IjWaIoH1GnFeNbNiOFG61XnfxxrL2 +xMbvhphu7pdptHPnzenpDFAkZQKZNvYUNNy7FKernhzG21YkmFL1gIWz+/c1MvCAQ oI7T+ml4nhCwmkLzGBxM/bWP+Hz/v5x/16VRMLJV+3/zYTgpTJzmCmjcLmGG3xgLz5 22rIH4SQbA/tUTCFEOxbelTLZxfj0o3JL0HFHtUvcCTwPffjCCWMGa82rvMLFqKEke sK6aiz1GE/2fBsCs0aUGk/tqcsZajXZmXJS/XXZr8uGpCA8GZVn2dUFfNOESQ7t4mW skevt/PW+W13Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Will Deacon , Mark Rutland , Catalin Marinas Subject: [PATCH 2/6] arm64: dts: uniphier: add GPIO controller nodes Date: Wed, 18 Oct 2017 13:24:33 +0900 Message-Id: <1508300677-23190-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> References: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The GPIO controller also acts as an interrupt controller and the interrupt lines are connected to the AIDET block. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 25 ++++++++++++++++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 19 ++++++++++++++++++ arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 19 ++++++++++++++++++ 3 files changed, 63 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi index ee4aff5..99f14cc 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi @@ -161,6 +161,31 @@ }; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>, + <&pinctrl 43 0 0>, + <&pinctrl 51 0 0>, + <&pinctrl 96 0 0>, + <&pinctrl 160 0 0>, + <&pinctrl 184 0 0>; + gpio-ranges-group-names = "gpio_range0", + "gpio_range1", + "gpio_range2", + "gpio_range3", + "gpio_range4", + "gpio_range5"; + ngpios = <200>; + socionext,interrupt-ranges = <0 48 16>, <16 154 5>, + <21 217 3>; + }; + i2c0: i2c@58780000 { compatible = "socionext,uniphier-fi2c"; status = "disabled"; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index a29c279..17c1c92 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -230,6 +230,25 @@ }; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>, + <&pinctrl 96 0 0>, + <&pinctrl 160 0 0>; + gpio-ranges-group-names = "gpio_range0", + "gpio_range1", + "gpio_range2"; + ngpios = <205>; + socionext,interrupt-ranges = <0 48 16>, <16 154 5>, + <21 217 3>; + }; + i2c0: i2c@58780000 { compatible = "socionext,uniphier-fi2c"; status = "disabled"; diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi index 384729f..87cb290 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -178,6 +178,25 @@ clocks = <&peri_clk 3>; }; + gpio: gpio@55000000 { + compatible = "socionext,uniphier-gpio"; + reg = <0x55000000 0x200>; + interrupt-parent = <&aidet>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 0>, + <&pinctrl 96 0 0>, + <&pinctrl 160 0 0>; + gpio-ranges-group-names = "gpio_range0", + "gpio_range1", + "gpio_range2"; + ngpios = <286>; + socionext,interrupt-ranges = <0 48 16>, <16 154 5>, + <21 217 3>; + }; + i2c0: i2c@58780000 { compatible = "socionext,uniphier-fi2c"; status = "disabled"; From patchwork Wed Oct 18 04:24:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116186 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5637050qgn; Tue, 17 Oct 2017 21:26:22 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDH86rSGEZQ6YVqCNHErLt0mgM/wFw7Do7Zq2gE4d0vyTJ2Uqyyeyd6qSgwwcOc0l6Gf2he X-Received: by 10.99.123.22 with SMTP id w22mr12675861pgc.396.1508300782759; Tue, 17 Oct 2017 21:26:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508300782; cv=none; d=google.com; s=arc-20160816; b=G+M7A1ACy+IJd8zQ1v5nQWaUCByyIjQe3OAkDdZ9DhotV4wOfadlmxqPpLvPWHF+yV PbzhuQ5ssS1sWk6POEbTt4uNZFv5bYz1CIgy3I6mcJX0fqhgviPGhkZgu6GjFuqhzsje Yu+n0uZn++rI21BIjM9VbyFQeSRrQbXnT0kQc/Jum3FM96NAUq3iVhJnNk8N/rJDyD95 k+tvu+t02jY0lwiXoI81A2callQUX+ndN1d7aHYhasxZavtVJS70QPpaKplj4b4r5/4P h+n8evLzJt0RMcHIOSWxBAtTHFVwWQoy0H8gCd2urORtRCJJuQzqunqE7YR+RVSvltG6 gYWQ== 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:dkim-filter :arc-authentication-results; bh=7W2lePvKqJ1/BAwJxOWHO926S8pglkimLB6R+IeMBuE=; b=vzRrCclaC9jkiia5ibTkVG6EIj8ngOL028csFHcTD1uAh1DwE33DcO94P7GYciOoCK w651RByw9JDwbWPaZKoodR92LyHX/ldRUVQelxOiZo6tafxthv24RsnwHbYHhZfr/OWw NHGIXTOKhZawXmNMLBkMpdo90vk/bt0fgoPIlxMkRuGi0t+zEkgsI9X1YygNpM5hFmKU B1IWv98TPuL5ufj+/l3nJoRKo3Dmo9r73m++KgUTco2vciCrAsaQ4Etze1iLp9F6z9Am qwRamILJcTgS50nOF1hnoxThopDTRxwSGDvtaBf3dUtlNJwUvdfT6YL1b44OPmWPUliu ZQnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=07U5oQmE; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c85si6811257pfb.271.2017.10.17.21.26.22; Tue, 17 Oct 2017 21:26:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=07U5oQmE; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933519AbdJRE0U (ORCPT + 6 others); Wed, 18 Oct 2017 00:26:20 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:31401 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933608AbdJRE0S (ORCPT ); Wed, 18 Oct 2017 00:26:18 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9I4OgxN020843; Wed, 18 Oct 2017 13:24:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9I4OgxN020843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508300685; bh=Kp8RSfLkmesMOAs53vS/b6xQIDU4qbRwOrCygMYzUDY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=07U5oQmErvvl4dYb2bD8BI+vmTXSaGOSxrr5R1VVyKTXDDrrxLeaPhhM4jYQeLhMi yvViCCg52+52jfhbYQR9mTfzdy07ePLNjoFrjd4nN1B97c1h5mr3+qypu9hFHwsruF ex/3Lm3+4dXPchARcmz/M58ORZIAXJ1dh/GqL/rO3OJViAfxkkAH3NotGyLofeU9WJ sTSwjSs7oubmATqapVgy+k7lSVrY1o2D4NhIQko0rX7dR9Q4fUYBcy47kIHCNt0Sc8 ArQw6gQeazZF6+gZT7fBRvRjDzf5k+rGtYner9AUN2gzOlawu2ax41JbiUUENRuNfX 4/9AJu0zl+UKQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Russell King Subject: [PATCH 3/6] ARM: dts: uniphier: route on-board device IRQ to GPIO controller Date: Wed, 18 Oct 2017 13:24:34 +0900 Message-Id: <1508300677-23190-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> References: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Interrupt lines from on-board devices are connected to the GPIO controller. Handle this correctly. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4-ref.dts | 2 +- arch/arm/boot/dts/uniphier-ld6b-ref.dts | 2 +- arch/arm/boot/dts/uniphier-pro4-ref.dts | 2 +- arch/arm/boot/dts/uniphier-sld8-ref.dts | 2 +- arch/arm/boot/dts/uniphier-support-card.dtsi | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/uniphier-ld4-ref.dts b/arch/arm/boot/dts/uniphier-ld4-ref.dts index b3aaab3..148e7bb 100644 --- a/arch/arm/boot/dts/uniphier-ld4-ref.dts +++ b/arch/arm/boot/dts/uniphier-ld4-ref.dts @@ -38,7 +38,7 @@ }; ðsc { - interrupts = <0 49 4>; + interrupts = <1 8>; }; &serial0 { diff --git a/arch/arm/boot/dts/uniphier-ld6b-ref.dts b/arch/arm/boot/dts/uniphier-ld6b-ref.dts index 2188d11..ec2a098 100644 --- a/arch/arm/boot/dts/uniphier-ld6b-ref.dts +++ b/arch/arm/boot/dts/uniphier-ld6b-ref.dts @@ -40,7 +40,7 @@ }; ðsc { - interrupts = <0 52 4>; + interrupts = <4 8>; }; &serial0 { diff --git a/arch/arm/boot/dts/uniphier-pro4-ref.dts b/arch/arm/boot/dts/uniphier-pro4-ref.dts index 903df63..7316cc6 100644 --- a/arch/arm/boot/dts/uniphier-pro4-ref.dts +++ b/arch/arm/boot/dts/uniphier-pro4-ref.dts @@ -40,7 +40,7 @@ }; ðsc { - interrupts = <0 50 4>; + interrupts = <2 8>; }; &serial0 { diff --git a/arch/arm/boot/dts/uniphier-sld8-ref.dts b/arch/arm/boot/dts/uniphier-sld8-ref.dts index 5accd3c..4ec48a1 100644 --- a/arch/arm/boot/dts/uniphier-sld8-ref.dts +++ b/arch/arm/boot/dts/uniphier-sld8-ref.dts @@ -38,7 +38,7 @@ }; ðsc { - interrupts = <0 48 4>; + interrupts = <0 8>; }; &serial0 { diff --git a/arch/arm/boot/dts/uniphier-support-card.dtsi b/arch/arm/boot/dts/uniphier-support-card.dtsi index 6c825f1..c6d99c4 100644 --- a/arch/arm/boot/dts/uniphier-support-card.dtsi +++ b/arch/arm/boot/dts/uniphier-support-card.dtsi @@ -16,6 +16,7 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0x00000000 1 0x01f00000 0x00100000>; + interrupt-parent = <&gpio>; ethsc: ethernet@0 { compatible = "smsc,lan9118", "smsc,lan9115"; From patchwork Wed Oct 18 04:24:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116184 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5636649qgn; Tue, 17 Oct 2017 21:25:47 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBRAofNV+xaAACFsdN5r0yl5BZuFuNN5fNF33xkXSWoYAxfWOXrkGuerxbDroOfyqbat5Xl X-Received: by 10.84.172.1 with SMTP id m1mr13934650plb.182.1508300747359; Tue, 17 Oct 2017 21:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508300747; cv=none; d=google.com; s=arc-20160816; b=RlWCb95GeSfUcxE4wfTywKO08acHU7C4A8drLYPctaI7Bi4VCp9M5XoD+kCYlUBiq5 V9jL5Bk9LmbWUQorNq6bNk6f6dMX84LuLEh+sCsMimED3EEFUEwicz54WZcEHr65M3Pk rHjB4/TAEvZGGd3iwzO/1WYiSTleoaRgwyCke2IHkOGS2unLRY1Xic3z6mxdLejB8uDA byXn2nzOEZjh6W7pojr+vI2M5kN3hJmHOuuB43P5u+AIRPFnXA8bhdfeSL3lTklVfwWu dtgyIoRmCDPVi3gOWa8/fhzojjmHh/Ew4dmRml3+jukhohCyjGsnt47zIHlPgrsFQ7a0 RisQ== 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:dkim-filter :arc-authentication-results; bh=KWITUrMAuZ1TEZUycaZlBmW9HzjRJxyCjinb99rVAJ8=; b=qCaejbnEAVoBOtCGyHUD+9BKLPj3IjfvslAT7VtCs1VHBKfJhMxfLwNyBFSsJWxCgL +33HP1en17LvgdK6AtKSn2sDdEd8Sbhdn7pxTiBjRsDIw4mE6DVE/1BEoK13kIJYDZGo YZ9BXwta+QVtlnYbLh/6ByniT7LXVjmWanqS4BrVHsZsddrBpOaNGqTjzjGOBcOyv2lc +rMFQg6q3YTHXiTO4XtNZwFbeURqZQt9AOJOBNA7mCM1G/qSD0czEcQDSzqMnnlxBVeK 3UZhvdaUr5lylA/HrHsiSmrc3gArNNawNcy1k5o3Vx4AWEVKtn5UvV//FCaw4NMNnI3H W/iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Yq8eWitB; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f22si857705pli.501.2017.10.17.21.25.47; Tue, 17 Oct 2017 21:25:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Yq8eWitB; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934931AbdJREZp (ORCPT + 6 others); Wed, 18 Oct 2017 00:25:45 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:30313 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932494AbdJREZn (ORCPT ); Wed, 18 Oct 2017 00:25:43 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9I4OgxQ020843; Wed, 18 Oct 2017 13:24:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9I4OgxQ020843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508300687; bh=0lgYqcGLPQh6FRMcNnllG2ogNkqKAxUEhu4eZNSlo6I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yq8eWitB5mJG2cvktiiGyVMpbS1LR5OUywLn9QCtHgSQXtpnwMhpQFv25sK4LkcpJ GxOX6p8jgVbPQmBGlZ8Ib6og59s078emDTbiMMSc/8m/ozZcW1lMKRxY/4l7cSZ8Dr PhhWmclcx+wwq6MGY5QYFQKLJMR4wLDgBz6MemkOi+F9baUEYBssIT60/NCKp4ztZW MAXtzS9IWu7RPbNzUhBLxC6sDODDKTe+2Uio2peY+hexAqGmB+dy412STH9DnjnftI 9Qi88OMXiuSajXn2vknh8BYy0q2KRlSWkDgRjT5WSYOiDFd6kpSGJqWYPbWUN3kA9X PBry/acsoNHtg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Will Deacon , Mark Rutland , Catalin Marinas Subject: [PATCH 6/6] arm64: dts: uniphier: add GPIO hog definition Date: Wed, 18 Oct 2017 13:24:37 +0900 Message-Id: <1508300677-23190-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> References: <1508300677-23190-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Interrupt lines from on-board devices are connected to the GPIO controller. Add GPIO hogging so that the corresponding GPIO line is automatically requested. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | 8 ++++++++ arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts | 8 ++++++++ 2 files changed, 16 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts index 77f50fd..dd7193a 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts @@ -48,6 +48,14 @@ status = "okay"; }; +&gpio { + xirq0 { + gpio-hog; + gpios = <120 0>; + input; + }; +}; + &i2c0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts index 1f55fe1..d99e373 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts @@ -48,6 +48,14 @@ status = "okay"; }; +&gpio { + xirq0 { + gpio-hog; + gpios = <120 0>; + input; + }; +}; + &i2c0 { status = "okay"; };