From patchwork Fri Apr 5 19:04:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13619322 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 275CDC67861 for ; Fri, 5 Apr 2024 19:05:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K2eBCr1D3HYZwZcReJ3r7M5b8OtXIp2yQkry+POwkmM=; b=24VaH4ynpGGdGI qwXRSeAtCQoJbmiDTGpMa5qQbnfVbyvZDupRyxeovAULZ24Sf0vN9NxDEghIkVNjU7UTs03aLh52z 8+Dy/tJf3UXtPqqBqHIKIspWpiffzylwPMTib0SeRy0JzqDvs500PKZ7//bT1di56pOFhO4SFb6jO x/RpYjRlL73PALIaK+lb7Zca2Hh4kBK1qptbp2/gkcgaDXXull5uspTvSodT2YW+19G4gOoffSSWd Ma4TI5vXqF5YpX4OqtsOvJ2UFdrRxPb8ntlthkSuRka0dqzgi2QwNucKvFdOgTwE/hQaZ1TyXnxRO gd/Hyed8ohRFEjoAUj+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsosG-00000008ZhI-40Nz; Fri, 05 Apr 2024 19:05:16 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsosC-00000008ZdX-1VRv for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 19:05:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C3DF76188A; Fri, 5 Apr 2024 19:05:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 597F4C43394; Fri, 5 Apr 2024 19:05:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712343911; bh=AdnuFky/1/2v3ByLIl9yjD2A3egAmo1Dae2iLqRUlTc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BV899Q2ZvFTgHPQpP9Fz3pCpUO9M6f+p2ugGaRW0D4vZF/rIw2EExfDyXI39k6FgA Fo33f+a+7f8ZBC7A1fTl3flsoE9GfWPSgwVL0+AjbPU+uLFGwwbmJ6u+2lrb15lEli JVmvMgNrsDtjoWrI+15itMoW75Q/haczLQpup9xUgIEwlLeIfEY5K9LGV0E2ZH9Uzp Ic04q/ILn0/WVKTZqfMSdaMYdgBGlBcaa8MvY2LUphNpBXCAhamT8Ml9cIovwqWyxc hjgaKKM4/kTiSpf6zSHZh1GQ277ldKNOsYg6f5xgn670p+QabclstiTeuAFWeYy/fG bqfbIA87CZAKg== From: Krzysztof Kozlowski To: Conor Dooley , Nicolas Ferre , Claudiu Beznea , Rob Herring , Krzysztof Kozlowski , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Bjarni Jonasson , "David S. Miller" , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: horatiu.vultur@microchip.com, steen.hegelund@microchip.com, Krzysztof Kozlowski Subject: [PATCH v2 08/10] arm64: dts: microchip: sparx5_pcb135: drop LED unit addresses Date: Fri, 5 Apr 2024 21:04:17 +0200 Message-Id: <20240405190419.74162-8-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240405190419.74162-1-krzk@kernel.org> References: <20240405190419.74162-1-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_120512_484525_4FC11C14 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org GPIO leds should not have unit addresses (no "reg" property), as reported by dtc W=1 warnings: sparx5_pcb135_board.dtsi:18.9-22.5: Warning (unit_address_vs_reg): /leds/led@0: node has a unit name, but no reg or ranges property Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. None --- .../boot/dts/microchip/sparx5_pcb135_board.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi b/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi index 860975ffe0a1..20016efb3656 100644 --- a/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi @@ -15,42 +15,42 @@ gpio-restart { leds { compatible = "gpio-leds"; - led@0 { + led-0 { label = "eth60:yellow"; gpios = <&sgpio_out1 28 0 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led@1 { + led-1 { label = "eth60:green"; gpios = <&sgpio_out1 28 1 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led@2 { + led-2 { label = "eth61:yellow"; gpios = <&sgpio_out1 29 0 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led@3 { + led-3 { label = "eth61:green"; gpios = <&sgpio_out1 29 1 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led@4 { + led-4 { label = "eth62:yellow"; gpios = <&sgpio_out1 30 0 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led@5 { + led-5 { label = "eth62:green"; gpios = <&sgpio_out1 30 1 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led@6 { + led-6 { label = "eth63:yellow"; gpios = <&sgpio_out1 31 0 GPIO_ACTIVE_LOW>; default-state = "off"; }; - led@7 { + led-7 { label = "eth63:green"; gpios = <&sgpio_out1 31 1 GPIO_ACTIVE_LOW>; default-state = "off";