From patchwork Wed Oct 18 04:24:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116189 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5637225qgn; Tue, 17 Oct 2017 21:26:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDyn0WEYbMo533aPAig+1kCKhTD0H/NGW5+j2YmvLdnenRdKFoxsR/6yARtnss+vqyzitkb X-Received: by 10.99.127.89 with SMTP id p25mr12639867pgn.196.1508300798874; Tue, 17 Oct 2017 21:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508300798; cv=none; d=google.com; s=arc-20160816; b=cYWyL5dIpLeiYvvprNRdr/T3u8ObjUxNzepmewJXWXAevMPyE9SYToqrFydUTIpIj+ WX8JIDQ18rdP9YSq85qs4j6WzMYEa1z2bO51fZQ1ZD9HQ4FaY4ZqxXZUxKit7K4xfUwM Dj2JNj+PdIN0fVxLjB+0bEMU5O31epYiO3PCIj3LiI9He4yJ+PBYG4E+sqZxJNCVq6bm Vfkq7vG3jSKkgeAKFDPEW2FDesxXkp9pRX5SOuXCHS8bIa0WiTrTKf3V++32WOTs5MUO 5FP9lp2bYaILLy0pdafhWPBGZ4KbVUYVVPri+KiHxJov7dmjZK0S6DgT1DsACaDvi+/F sDsQ== 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=wPu99syoQkNlr6Q8o3LYHKctCjXvhF2uqowDf4mmm/A=; b=g0y9MibLWRWwjLPdMmd9yiK2obLnmKw/dvbgNZgEzRRKf8ueKKJFQhkkjl0BYdeCWs ELgUqiG1sV0MP/bw0CMavh9r3MWLOzEVgVMSkhcJ/Vckt3WYGQPfEzpK7J5mdHwCxd/o PnuVN32LDE2RUwmcqm55mbuh7+HpozHsN+pc0f+gR8DPvNOMm2wEyVGwv8l+JrR7xdTE mETWzcgMtifyjenpKspuPsBj9FUUn8Zv8wa8ckHEXeeMWfrDdDdfj9VPAaoLLHHgP2Hr z5qnSVrn1MRTif+3IdYsRD953gZLMxDFxz6Cs/+bZUp2dJ4Ols0EXUOx1k3HKaeWO9kO 8UyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=F45NMy7W; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a33si7042618pld.662.2017.10.17.21.26.38; Tue, 17 Oct 2017 21:26:38 -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=@nifty.com header.s=dec2015msa header.b=F45NMy7W; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964791AbdJRE0X (ORCPT + 27 others); Wed, 18 Oct 2017 00:26:23 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:31385 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932494AbdJRE0S (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 v9I4OgxP020843; Wed, 18 Oct 2017 13:24:46 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9I4OgxP020843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508300687; bh=wPu99syoQkNlr6Q8o3LYHKctCjXvhF2uqowDf4mmm/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F45NMy7Wl1PsIAi7V1fMiTOdvWjmyzgVih7LkcqGZ1WGwyad3yOEi4/pOy2On+T9b 2ABVidlOuiuODbImhKIwW7fn/j5HaUf8Tub7XmVaBUM6aRF1sZPFRVBdjR67PXpnLt fh3jfJvyFBNyB0HMYuja6Fq8FxaDw/DDDKhmMhZJbhgarPbEONkyTop9+4uDe4uBmM TYydDtl+3NzdVHT+mIgF3AbsZSQ0vFq41mg+57n44Emvtn1SfuUFb+frz02vpNgQWF 6Yq8jIHDCXttd+9+5F/c4btz88LZG+NhpJxMkrsrwZgClAZPhriE2WStZTVMURQpkb ZjERM6H8WMFYQ== 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 5/6] ARM: dts: uniphier: add GPIO hog definition Date: Wed, 18 Oct 2017 13:24:36 +0900 Message-Id: <1508300677-23190-6-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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/arm/boot/dts/uniphier-ld4-ref.dts | 8 ++++++++ arch/arm/boot/dts/uniphier-ld6b-ref.dts | 8 ++++++++ arch/arm/boot/dts/uniphier-pro4-ref.dts | 8 ++++++++ arch/arm/boot/dts/uniphier-sld8-ref.dts | 8 ++++++++ 4 files changed, 32 insertions(+) -- 2.7.4 diff --git a/arch/arm/boot/dts/uniphier-ld4-ref.dts b/arch/arm/boot/dts/uniphier-ld4-ref.dts index 148e7bb..0056852 100644 --- a/arch/arm/boot/dts/uniphier-ld4-ref.dts +++ b/arch/arm/boot/dts/uniphier-ld4-ref.dts @@ -53,6 +53,14 @@ status = "okay"; }; +&gpio { + xirq1 { + gpio-hog; + gpios = <121 0>; + input; + }; +}; + &i2c0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/uniphier-ld6b-ref.dts b/arch/arm/boot/dts/uniphier-ld6b-ref.dts index ec2a098..0e510a7 100644 --- a/arch/arm/boot/dts/uniphier-ld6b-ref.dts +++ b/arch/arm/boot/dts/uniphier-ld6b-ref.dts @@ -55,6 +55,14 @@ status = "okay"; }; +&gpio { + xirq4 { + gpio-hog; + gpios = <124 0>; + input; + }; +}; + &i2c0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/uniphier-pro4-ref.dts b/arch/arm/boot/dts/uniphier-pro4-ref.dts index 7316cc6..be99467 100644 --- a/arch/arm/boot/dts/uniphier-pro4-ref.dts +++ b/arch/arm/boot/dts/uniphier-pro4-ref.dts @@ -55,6 +55,14 @@ status = "okay"; }; +&gpio { + xirq2 { + gpio-hog; + gpios = <122 0>; + input; + }; +}; + &i2c0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/uniphier-sld8-ref.dts b/arch/arm/boot/dts/uniphier-sld8-ref.dts index 4ec48a1..1c0e707 100644 --- a/arch/arm/boot/dts/uniphier-sld8-ref.dts +++ b/arch/arm/boot/dts/uniphier-sld8-ref.dts @@ -53,6 +53,14 @@ status = "okay"; }; +&gpio { + xirq0 { + gpio-hog; + gpios = <120 0>; + input; + }; +}; + &i2c0 { status = "okay"; };