From patchwork Sat Apr 18 12:35:22 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: 11496543 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 24CBC92C for ; Sat, 18 Apr 2020 12:36:11 +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 ED80D206D9 for ; Sat, 18 Apr 2020 12:36:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LyqQeWYh"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=laposte.net header.i=@laposte.net header.b="q08HAg/Y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED80D206D9 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=aw+QkUUFKr4DjPQ7hSt9WQa9FpgDrDFCmXJg617CpfE=; b=LyqQeWYhgjhpdk IiwcNtn3B/3RUMAGQt2b/Sbct6pz871ii/ePETozOqU9YR9y7LgOay4FviNbkvu7rEnlY5/d+6uuk YTo0fjFVHrlhoEcTRCxzDi3M6QAbIiHFqjs9bx0jAQr9eZa7TMCbNEInVK2/Un8eqT/n2ncwTiVjp tY7IKkgLTVP2X8WtPSBoaqv1Vs1W/wQrW4+SonL1fZLOOTT/v5QARfs6tMwoNY9jR+KOhSZyI8/Si PomRkz6pW2et6NGWEODvjb4hY+ZXfh/4RUX1gHRkwTQmbXrx8J+UiDh4Cwk4M9OmYOecX9XzQ/Liu 1YNT7/76MgolkhRYxxZA==; 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 1jPmha-0000CO-5o; Sat, 18 Apr 2020 12:36:06 +0000 Received: from smtp-outgoing.laposte.net ([160.92.124.101]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jPmhV-00007x-Py for linux-arm-kernel@lists.infradead.org; Sat, 18 Apr 2020 12:36:04 +0000 Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0101.laposte.net (SMTP Server) with ESMTP id 494C9W52BzzFpTy; Sat, 18 Apr 2020 14:35:43 +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)gggruggvucftvghtrhhoucdtuddrgeduhedrfeelgdehgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfntefrqffuvffgpdfqfgfvpdggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpeggihhntggvnhhtucfuthgvhhhlrocuoehvihhntggvnhhtrdhsthgvhhhlvgeslhgrphhoshhtvgdrnhgvtheqnecuffhomhgrihhnpehrrghsphgsvghrrhihphhirdhorhhgnecukfhppeekkedruddvuddrudegledrgeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheprhhomhhurghlugdrsggvrhhgvghrihgvpdhinhgvthepkeekrdduvddurddugeelrdegledpmhgrihhlfhhrohhmpehvihhntggvnhhtrdhsthgvhhhlvgeslhgrphhoshhtvgdrnhgvthdprhgtphhtthhopegstghmqdhkvghrnhgvlhdqfhgvvggusggrtghkqdhlihhsthessghrohgruggtohhmrdgtohhmpdhrtghpthhtoheprhhjuhhisegsrhhorggutghomhdrtghomhdprhgtphhtthhopehssghrrghnuggvnhessghrohgruggtohhmrdgtohhmpdhrtghpthhtohepfhdrfhgrihhnvghllhhisehgmhgrihhlrdgtohhmpdhrtghpthhtohepshhtvghfrghnrdifrghhrhgvnhesihdvshgvrdgtohhmpdhrtghpthhto heprhhosghhodgutheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepvhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtpdhrtghpthhtoheplhhinhhugidqrghrmhdqkhgvrhhnvghlsehlihhsthhsrdhinhhfrhgruggvrggurdhorhhgpdhrtghpthhtoheplhhinhhugidqrhhpihdqkhgvrhhnvghlsehlihhsthhsrdhinhhfrhgruggvrggurdhorhhgpdhrtghpthhtohepnhhsrggvnhiijhhulhhivghnnhgvsehsuhhsvgdruggvpdhrtghpthhtohepuggvvhhitggvthhrvggvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-lpn-mailing: LEGIT Received: from romuald.bergerie (unknown [88.121.149.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0101.laposte.net (SMTP Server) with ESMTPSA id 494C9W2c7bzFpTw; Sat, 18 Apr 2020 14:35:43 +0200 (CEST) Received: from radicelle.bergerie (radicelle.bergerie [192.168.124.12]) by romuald.bergerie (Postfix) with ESMTPS id 1329E381F5A4; Sat, 18 Apr 2020 14:35:43 +0200 (CEST) Received: from vincent by radicelle.bergerie with local (Exim 4.93) (envelope-from ) id 1jPmhC-0001fl-Oi; Sat, 18 Apr 2020 14:35:42 +0200 From: =?utf-8?q?Vincent_Stehl=C3=A9?= To: devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH] ARM: dts: bcm2835-rpi-zero-w: Fix led polarity Date: Sat, 18 Apr 2020 14:35:22 +0200 Message-Id: <20200418123522.6390-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=1587213346; bh=XWpoOgwwiaPGH2pwzpgAmnxIC35KGk78zHkgFD/F910=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; b=q08HAg/YkCNLBaYGoLcZ0Yb1AdR1aCghdilcqYBNc8mQMHP0agMh+FMzp9yjWsgb1pPOwKYSjV9SJLPHQ3l5zWhHTTt6GZE9nP89wsrnxBlYOfbqFsnMk0Qr8YPXaeS9JS7KZf1nj7X9/P+m/9+zNXjy0ZzOYoXm91w+CPZdVtcBTUVoe4GnAKE1vJCLZLdMCVAgGSvblRAFqmTzuUGwNkOmMWOQQ3LsG/LKs8CIJCJZAxtQCPhPVlXjwFiITV/8Urv5Dq4vAVIiGfr9WFwr8t12R3VJweawyQGMzIILTdPZ9VSlI5WJ3xF3hIHyO73p2xxNg+OXUXq/xDK7OjBxZQ==; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200418_053602_148606_A3A9E947 X-CRM114-Status: GOOD ( 13.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 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [vincent.stehle[at]laposte.net] 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_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 -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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: Stefan Wahren , Florian Fainelli , Scott Branden , Ray Jui , =?utf-8?q?Vincent_Stehl=C3=A9?= , Rob Herring , Nicolas Saenz Julienne Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The status "ACT" led on the Raspberry Pi Zero W is on when GPIO 47 is low. This has been verified on a board and somewhat confirmed by both the GPIO name ("STATUS_LED_N") and the reduced schematics [1]. [1]: https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_ZeroW_1p1_reduced.pdf Fixes: 2c7c040c73e9 ("ARM: dts: bcm2835: Add Raspberry Pi Zero W") Signed-off-by: Vincent Stehlé Cc: Stefan Wahren Cc: Florian Fainelli Tested-by: Stefan Wahren --- arch/arm/boot/dts/bcm2835-rpi-zero-w.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts index 4c3f606e5b8d8..f65448c01e317 100644 --- a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts +++ b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts @@ -24,7 +24,7 @@ chosen { leds { act { - gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 47 GPIO_ACTIVE_LOW>; }; };