From patchwork Sat Apr 11 17:48:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 11484199 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B696914DD for ; Sat, 11 Apr 2020 17:49:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 890CF20757 for ; Sat, 11 Apr 2020 17:49:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IHaoBW25"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=laposte.net header.i=@laposte.net header.b="bYUz2ZjV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 890CF20757 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=laposte.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:MIME-Version: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=mNLNB96kY0TRqg5Iaj0ePH/t3rwZRTwdsYYUs5dbWNs=; b=IHaoBW25SEL5HK U/RnXmuKQ/VjD+e4IVwoxJevaMOuF0ie7TXkU5Cp3q/ZTuhwW8wMQI+UYR/KHB6BjEfx2BMuDUZUN I6BnfyduC6gduAxC0Mh6CU6ewV5pLc4yLDQTrEJITcT0Xi0iq0wXN0qpjS5ChiFQFttVLwx7bLZ6R ArC6Y8khUIw2TqWUac3wjmzbXnIjtmhsIuDEsCFS6HbqtOL+8sR8CQjXlY9qkUvSQx1+PGKQHqtQS G23ZIoB2+Nujb5112ENogZ/jlH7ViB12cqe88OfsPBAiomiC8ut/uW2IkLocgAubC8p7zvZrtVosn X22YvPsjOdBXNfsHYyEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jNKG1-0006dD-1q; Sat, 11 Apr 2020 17:49:29 +0000 Received: from smtp-outgoing.laposte.net ([160.92.124.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jNKFv-0006c6-PO for linux-arm-kernel@lists.infradead.org; Sat, 11 Apr 2020 17:49:26 +0000 Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0114.laposte.net (SMTP Server) with ESMTP id 4902SC4TF8z1GBw0; Sat, 11 Apr 2020 19:48:59 +0200 (CEST) X-mail-filterd: 0.4.0.2 X-mail-filterd: 0.4.0.2 X-lpn-spamrating: 36 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgeduhedrvdeggdduvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpqfgfvfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffogggtgfesthekredtredtjeenucfhrhhomhepgghinhgtvghnthcuufhtvghhlhoruceovhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtqeenucffohhmrghinhepsggrnhgrnhgrqdhpihdrohhrghenucfkphepkeekrdduvddurddugeelrdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehrohhmuhgrlhgurdgsvghrghgvrhhivgdpihhnvghtpeekkedruddvuddrudegledrgeelpdhmrghilhhfrhhomhepvhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtpdhrtghpthhtohepihgtvghnohifhiesrghoshgtrdhiohdprhgtphhtthhopeifvghnshestghsihgvrdhorhhgpdhrtghpthhtohepmhhrihhprghrugeskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosghhodgutheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepvhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtpdhrtghpthhtoheplhhinhhugidqrghrmhdqkhgvrhhnvghlsehlihhsthhsrdhinhhfr hgruggvrggurdhorhhgpdhrtghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-lpn-mailing: LEGIT Received: from romuald.bergerie (unknown [88.121.149.49]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0114.laposte.net (SMTP Server) with ESMTPSA id 4902SC0h0Vz1GBvc; Sat, 11 Apr 2020 19:48:59 +0200 (CEST) Received: from radicelle.bergerie (radicelle.bergerie [192.168.124.12]) by romuald.bergerie (Postfix) with ESMTPS id A70DA37FE060; Sat, 11 Apr 2020 19:48:58 +0200 (CEST) Received: from vincent by radicelle.bergerie with local (Exim 4.93) (envelope-from ) id 1jNKFW-000152-BQ; Sat, 11 Apr 2020 19:48:58 +0200 From: =?utf-8?q?Vincent_Stehl=C3=A9?= To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity Date: Sat, 11 Apr 2020 19:48:43 +0200 Message-Id: <20200411174843.4112-1-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1586627348; bh=AcBvHLPmHFu6rApjMG0R0hlig2Vi1pp7NLIlCkMKiWA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bYUz2ZjV0XZDUsGFNUJX6TTKN1+v6GcM2bWmNQgNkj6ywVs7BtoXE8XmY1LOFTwLD3RfhvoFdd+TLjt/FVK7J3lfF0PJKNu4InPtsyX6k5+nH3IKW9d3DHihcPul14iNXF6fDHFLhia92QntjKJ2Ds53g2CJ1dvYm925wzMqmy6lLcj6Kb/qgkjNK+0nK3ldyE3ug1Pp68+mSVqeiCIxX2ykrelaayvImXlPpwURUTIfedoarZrsnUe7BSzqS+N+MTG9XT/CYHWCmfci1AX/Fm5sPdC667LUvFAe0sN1uLWUr6Bzc5N0HTA11zFlvok3ia36r2Nd8UroTuKSsWwE0Q==; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200411_104924_132003_7848FC1D X-CRM114-Status: GOOD ( 12.50 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [vincent.stehle[at]laposte.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chen-Yu Tsai , Rob Herring , Icenowy Zheng , Maxime Ripard , =?utf-8?q?Vincent_Stehl=C3=A9?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The PWR-LED on the bananapi m2 zero board is on when gpio PL10 is low. This has been verified on a board and in the schematics [1]. [1]: http://wiki.banana-pi.org/Banana_Pi_BPI-M2_ZERO#Documents Fixes: 8b8061fcbfae ("ARM: dts: sun8i: h2+: add support for Banana Pi M2 Zero board") Signed-off-by: Vincent Stehlé Cc: Icenowy Zheng Cc: Maxime Ripard --- arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index d277d043031b2..4c6704e4c57ec 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -31,7 +31,7 @@ leds { pwr_led { label = "bananapi-m2-zero:red:pwr"; - gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */ + gpios = <&r_pio 0 10 GPIO_ACTIVE_LOW>; /* PL10 */ default-state = "on"; }; };