From patchwork Wed Mar 1 23:02:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9599219 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 8F85E604DC for ; Wed, 1 Mar 2017 23:03:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75A3A27CEA for ; Wed, 1 Mar 2017 23:03:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66550284F7; Wed, 1 Mar 2017 23:03:01 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 5EA2B27CEA for ; Wed, 1 Mar 2017 23:03:00 +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: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:In-Reply-To: References:List-Owner; bh=dD+fkD6PT5HMuB6l5ug2Suf4tdQHxcjrCLImsJMbFXQ=; b=gh4 a/PpBQMmySnrVuUiacjS3lLJkzIWdUsZHSUph+XKqjLcEpLXALznvKTrubxoAWzewvl/hsgJPA2U+ 0xLuNWWlNX+6asET3Ns30ZRV59Bjz/MCs2roCJJaG6RbIsBkNeaoau/LKOqMwK/8Br92OaCdVQb0M BCOg6bQMtxX5xpRwk0mY87npLU2YZeQGHJFHGqIEwg0zULIkldZ/mParm14jkFSmojS5pvgqa7XEG jZzFty2D6agEIZY+vmuGjA1/v9oYl3pDwcdvhcQM/x4kNndFo/B2SLfgr4MX/hjLLzjth2DcHoIYQ GYoU+L00cHVs4603qJ/d4f31u1eip/A==; 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 1cjDGu-0004e9-0R; Wed, 01 Mar 2017 23:03:00 +0000 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cjDGq-0004bf-9J for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 23:02:58 +0000 Received: by mail-qk0-x22e.google.com with SMTP id s186so96385208qkb.1 for ; Wed, 01 Mar 2017 15:02:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=VSuqfkmOHocwDzgc5fixnpHaO+xidpGvhkRoncMCR+0=; b=KDWIJaSEGsjYmRgy50IjSMGhIhVlApbwgDZkchfTWMgiQ11cUwQb1TzMX04fRtXjFm SIyjJbH3+iTkoTHpHmlBPrISdk5QGunjwaiUt2nhbBC1sQV67BAuhlHVyBULncFMLusQ HshCOLxCWy3MIrT+66+UTm0+QxRWRWzN+PA70= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VSuqfkmOHocwDzgc5fixnpHaO+xidpGvhkRoncMCR+0=; b=h9Qj/cBfKKeH7GRbhDjE4FeOOvkUxcD35ZpK7dJPP9eF2gKsnTZSL3Yu+rFDUHp8eX cG5scG/LjgpQqhrUareQAAzrsjtHAkOrB35qw6bJCRvMOtLn2FExLdfNZhhdyrYGqsUy thHTTWisGB0Pb4drERz3erw+Kzl2PdH6laTypTZlD2WTwyAEgugzrHEKEtPECMZFfr0a CXbbc4GQXwtLJ2ROtKXfoXMaExJMjsHan6xoBdgWFIEK83mAvWUrUD3IVpIug5qoTvJl C+sIrKR+iwNzh6eSaogYGa9LS4SirhGiof6wcKu2ZdE65sTAh0nxyL4fUWuUelFvRHI2 QMyg== X-Gm-Message-State: AMke39mJsPuQp6qjTeXPfh82hrClv7QPIFCDrowScsxqvEZmm+lCjaTd+vu7YpWGuzU1SwDh X-Received: by 10.55.210.135 with SMTP id f129mr12659269qkj.184.1488409354515; Wed, 01 Mar 2017 15:02:34 -0800 (PST) Received: from venom.dhcp.broadcom.net ([192.19.218.250]) by smtp.gmail.com with ESMTPSA id p19sm4124263qtp.63.2017.03.01.15.02.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Mar 2017 15:02:33 -0800 (PST) From: Jon Mason To: Florian Fainelli , Rob Herring , Mark Rutland Subject: [PATCH] ARM: dts: NSP: GPIO reboot open-source Date: Wed, 1 Mar 2017 18:02:28 -0500 Message-Id: <1488409348-6371-1-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170301_150256_506144_F5A8581F X-CRM114-Status: GOOD ( 10.34 ) 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: devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, 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-Virus-Scanned: ClamAV using ClamSMTP The libgpio code pre-sets the GPIO values for the gpio-reset in the device tree. This results in the device being reset during bringup. To prevent this pre-setting, use the "open-source" flag in the device tree. Signed-off-by: Jon Mason Fixes: b1aaf88 ("ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file") Fixes: 10baed1 ("ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file") Fixes: 088e3148 ("ARM: dts: NSP: Add new DT file for bcm958522er") Fixes: e3227c1 ("ARM: dts: NSP: Add new DT file for bcm958525er") Fixes: 2f8bc00 ("ARM: dts: NSP: Add new DT file for bcm958622hr") Fixes: d454c37 ("ARM: dts: NSP: Add new DT file for bcm958623hr") Fixes: f27eacf ("ARM: dts: NSP: Add new DT file for bcm988312hr") --- arch/arm/boot/dts/bcm958522er.dts | 1 + arch/arm/boot/dts/bcm958525er.dts | 1 + arch/arm/boot/dts/bcm958525xmc.dts | 1 + arch/arm/boot/dts/bcm958622hr.dts | 1 + arch/arm/boot/dts/bcm958623hr.dts | 1 + arch/arm/boot/dts/bcm958625hr.dts | 1 + arch/arm/boot/dts/bcm988312hr.dts | 1 + 7 files changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/bcm958522er.dts b/arch/arm/boot/dts/bcm958522er.dts index 3f04a40..df05e7f 100644 --- a/arch/arm/boot/dts/bcm958522er.dts +++ b/arch/arm/boot/dts/bcm958522er.dts @@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; }; diff --git a/arch/arm/boot/dts/bcm958525er.dts b/arch/arm/boot/dts/bcm958525er.dts index 9fd5422..4a3ab19 100644 --- a/arch/arm/boot/dts/bcm958525er.dts +++ b/arch/arm/boot/dts/bcm958525er.dts @@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; }; diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts/bcm958525xmc.dts index 41e7fd3..81f7843 100644 --- a/arch/arm/boot/dts/bcm958525xmc.dts +++ b/arch/arm/boot/dts/bcm958525xmc.dts @@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 31 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; }; diff --git a/arch/arm/boot/dts/bcm958622hr.dts b/arch/arm/boot/dts/bcm958622hr.dts index 477c486..c88b8fe 100644 --- a/arch/arm/boot/dts/bcm958622hr.dts +++ b/arch/arm/boot/dts/bcm958622hr.dts @@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; }; diff --git a/arch/arm/boot/dts/bcm958623hr.dts b/arch/arm/boot/dts/bcm958623hr.dts index c0a499d..d503fa0 100644 --- a/arch/arm/boot/dts/bcm958623hr.dts +++ b/arch/arm/boot/dts/bcm958623hr.dts @@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; }; diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index f7eb585..cc0363b 100644 --- a/arch/arm/boot/dts/bcm958625hr.dts +++ b/arch/arm/boot/dts/bcm958625hr.dts @@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; }; diff --git a/arch/arm/boot/dts/bcm988312hr.dts b/arch/arm/boot/dts/bcm988312hr.dts index 16666324..74e15a3 100644 --- a/arch/arm/boot/dts/bcm988312hr.dts +++ b/arch/arm/boot/dts/bcm988312hr.dts @@ -55,6 +55,7 @@ gpio-restart { compatible = "gpio-restart"; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + open-source; priority = <200>; }; };