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"; };