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: 10013451 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E49C4602C8 for ; Wed, 18 Oct 2017 04:27:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6E7E28A35 for ; Wed, 18 Oct 2017 04:27:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB32328A9E; Wed, 18 Oct 2017 04:27:13 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 67B6828A35 for ; Wed, 18 Oct 2017 04:27:13 +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=2NWrbC0EU2WnF1YA6vEouBOm6P0yCtrG7JBLLl2L6f8=; b=AgPI6eqopiR3jVRymX0lHg4rpQ fJuTLhPoSh5poiyGuXoPMZzqe1IGnKz14TXgXlvtcRQ67opDcq8nO0hr3wZr2XExfKDnXWPJenPXL 8UVNtIxf/sI5W0vuFIEBFrW0BEeRmk7EI9MwRCJUbu0K2anyHU7C7qXTsjx9ZQeK4NifobB9mia+g DBXTaSLRXNAAQnqsczS83Vg6AcfrtkgTWC2N9tAL42GLPDlECebX7oNFY0IzDNvx3jB+6cEqg7FS+ +XIp5Pg+6PUggICiaVfR5DA34CtrV8JlpKECr2Dc5q/+gXp8NYyfWL8+stC6VPenCiYwJPUkfjzL6 aNabA6tQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e4fwS-0003J7-Uj; Wed, 18 Oct 2017 04:26:52 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e4fvE-0002N8-Pa for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2017 04:25:41 +0000 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171017_212537_260591_8D65FC0E X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Masahiro Yamada , Rob Herring MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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"; };