From patchwork Mon Jun 1 17:53:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 224957 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 043A9C433DF for ; Mon, 1 Jun 2020 18:46:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D5419206E2 for ; Mon, 1 Jun 2020 18:46:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591037162; bh=gqu03fH8g89anh/WMKH7IiocPYeUfj7QTFSKO32mq9Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=jqv+S+5JTN1XWK1KiNJXg3EGAyGuV0NSuKQ0ZHoA5Vz79VDZ9WS4LkFDWY/0eLbor MJwAuvWp+bQ0UG6JXQxJlSCr2DtCdjXc3ViRtlDrnb1W0P5nkH+dftzaD+SnJSxq6e uFvolDnumrOHmb3Y+XhHgMKPmmBZsKnVygSuVOUI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729666AbgFASp5 (ORCPT ); Mon, 1 Jun 2020 14:45:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:55340 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730816AbgFASJC (ORCPT ); Mon, 1 Jun 2020 14:09:02 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 78D122068D; Mon, 1 Jun 2020 18:09:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591034941; bh=gqu03fH8g89anh/WMKH7IiocPYeUfj7QTFSKO32mq9Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f1mffN/x9J+0Jw39PRjtVXkXFI6Eiy6O+g5fBdFl7JhM79XnOIaaqhVT9AQVml040 kGYLRDMlz2cWWix0YFzVcvdrPZht9uSoRDtW8qJRkazhKTuCR8zqtwky4Bp4GDAax3 WJCx+u/+SFTzfa0/bkAQt0EjS4YICZd0pImD06ic= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?utf-8?q?Vincent_Stehl=C3=A9?= , Stefan Wahren , Florian Fainelli , Sasha Levin Subject: [PATCH 5.4 081/142] ARM: dts: bcm2835-rpi-zero-w: Fix led polarity Date: Mon, 1 Jun 2020 19:53:59 +0200 Message-Id: <20200601174046.369166728@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200601174037.904070960@linuxfoundation.org> References: <20200601174037.904070960@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Vincent Stehlé [ Upstream commit 58bb90ab415562eededb932455046924e65df342 ] 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 Signed-off-by: Florian Fainelli Signed-off-by: Sasha Levin --- 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 4c3f606e5b8d..f65448c01e31 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 @@ leds { act { - gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 47 GPIO_ACTIVE_LOW>; }; };