From patchwork Mon Jun 25 10:05:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 10486491 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 8C4A6601D5 for ; Mon, 25 Jun 2018 14:51:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A72C28385 for ; Mon, 25 Jun 2018 14:51:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88F8028485; Mon, 25 Jun 2018 14:51:23 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0F9CE2861E for ; Mon, 25 Jun 2018 14:51:23 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To:Date:Subject:To: From:Message-ID:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=E5kC+w3JfkCcUylBQM6kvwAxX8IDgSg8f5fzl1FHJrI=; b=tCo1anAbXWjMVz E91WSUCvEoh8a+PD2d8IwuC5GCMqxWTMBeuWdbL7pF8YC6FA6zsozGExGvqZg2QRBugkb2fZC0LYF uIUMZRWxTaCI8wXZplijDOjFzyYWFEDOC2MQHAb7G5j3WrP9Q5e7j07FbY4sO99tvE8HPkznRXxVB gh3+cEg/dr91gqkOgtdGQ3Zp/jqT/JhX91J+ZzRK6p8wB0IFHSDvMCjnf9QNUQlHPBi2WAvHcJtnC 0YDaq+dO3bfhPlCJpGFajJ5qJBUZWXuXJx8PyLzhnu6hBVpX/Y0hHgxib22do3jIKnJI3sFEMqvkB MfdkuOMjXxj8noa5dXNA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fXSpr-0002FB-Fl for patchwork-linux-mediatek@patchwork.kernel.org; Mon, 25 Jun 2018 14:51:19 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fXOO6-0007tj-IP; Mon, 25 Jun 2018 10:06:24 +0000 Received: from [79.233.202.54] ([79.233.202.54]) by web-mail.gmx.net (3c-app-gmx-bs16.server.lan [172.19.170.68]) (via HTTP); Mon, 25 Jun 2018 12:05:59 +0200 MIME-Version: 1.0 Message-ID: From: "Frank Wunderlich" To: "Sean Wang" Subject: [dts] [v2] fix green/blue pio-led on bananapi-r2 Date: Mon, 25 Jun 2018 12:05:59 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <1529918263.29697.31.camel@mtkswgap22> References: <1529918263.29697.31.camel@mtkswgap22> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Qdy+ZTluUCHlCXOXcu2QMKkFJR2sZ+Hqh3xRMAG7HoCeEIhjLK17k1ixcCBrUFr6vPQvz pv4AzTW1hLdoa1wjCnZ8BKK9Y3mgwWgqsKRksc1FYZrYTKQVPw9qwVGNsXYQWuil8oLxtaf/JiUY 8UmWyB4LuXrUDuaxdeYp7pu1FNr4gxPzQE9Q6EXDNxs/VqgC+RoqvtPlyKy1DSGWPaflis6LEsDZ sMhZAknttCF+ypeJjoiAuolo4VOJ+HgkwkYL0q5LP0luLq3wC1vEDkDgIxGODPTaMMww2yDDiO4t eg= X-UI-Out-Filterresults: notjunk:1; V01:K0:ZQwCpvjPSmk=:re7VclucynxPg1aLOnoLle oe0DVXWS8xJNvNlzJcF5EdwTiTiCbatgcp4U1wGQHJw2BFWYYQ+eznqetcyzqDUhlIwd2Dtt0 ZSvXUp47iP9LtEGJF/gO1nuRWAslDDinjGS8XSCkeJP0P/59bmhrwGx5PBfp1DcHK567ZFNlJ w8DplxNuY6RvaZdcckMorlzJvBLm776cB+Zzp60r/h/Hbxzsy0xvciAXO0vO4+xiZ2D7fmbUc Twb7aGVzpl2xzYa3gGEPt//OUODf8geyhSLTBnS6y9T745RrJcRF1KQkzDbM4X3IH8JrA3ui0 VoMEWQkjhCeDQXuwfoU8k2qZU0zSbNrFbz62qYDzp+y5kOXchk/DEgN4WD568zqem6Bfv3S1U C4F2G47RzBXs/IRF43zLmSwoxSA8jJ+PxrIqW8yFGcGCm2Q/h+S67GDYezjNS/B37MbUj6pqg U/8WfgT67GZSDiYZ2lPvfqN7oW8ZgNq1w4SG72BFTK9rA2YpyO+w X-Bad-Reply: References and In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180625_030622_906150_1EB1AF0A X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-Mailman-Approved-At: Mon, 25 Jun 2018 07:50:24 -0700 X-BeenThere: linux-mediatek@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, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Frank Wunderlich Date: Mon, 25 Jun 2018 11:57:13 +0200 Subject: [PATCH] [dts] [v2] fix green/blue pio-led pio-leds (near GPIO-Header) are swapped and LOW-active patch restore this expected behaviour red cannot be switched afaik v2: alphabetic order Signed-off-by: Frank Wunderlich Reviewed-by: Sean Wang --- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index 531d905d924ff..2b760f90f38c8 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts @@ -91,19 +91,19 @@ blue { label = "bpi-r2:pio:blue"; - gpios = <&pio 241 GPIO_ACTIVE_HIGH>; + gpios = <&pio 240 GPIO_ACTIVE_LOW>; default-state = "off"; }; green { label = "bpi-r2:pio:green"; - gpios = <&pio 240 GPIO_ACTIVE_HIGH>; + gpios = <&pio 241 GPIO_ACTIVE_LOW>; default-state = "off"; }; red { label = "bpi-r2:pio:red"; - gpios = <&pio 239 GPIO_ACTIVE_HIGH>; + gpios = <&pio 239 GPIO_ACTIVE_LOW>; default-state = "off"; }; };