Message ID | 20221231225854.16320-1-samuel@sholland.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3536344wrt; Sat, 31 Dec 2022 15:00:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXslE8FHB5ORLP4ZMb0D1n8rY4jL3H6q64ufed+frKGmkAo299YZ8ym5RdxYDK6+l84FENyt X-Received: by 2002:a05:6a20:9591:b0:ad:7428:d326 with SMTP id iu17-20020a056a20959100b000ad7428d326mr49491508pzb.30.1672527649241; Sat, 31 Dec 2022 15:00:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672527649; cv=none; d=google.com; s=arc-20160816; b=Upkv4h3pUEn4JFmXALl4tYduATWAz96RMIuVcnutuo4ZiOy24UUPje18T8G0yeqoa4 F9zFvu9g/tObA8Bg70lEK4q7MF+TqBsRcAs80MNx8QrxqM9EQPAD6fpDWpGgVyl7Z52x JraHg12TKevhFcQegpI2xCWAK2Gd3mkE74jRDU7Yi8GU9a70kzB9fuWn+yuLjmfu5w63 wAX1MpDEF1Sn1JACffSJ5ZowhEH8e99pxkMcXDDPg5qEPuAw6SRvJJhCG9ud4NLDvI+B ejguBRcDZix47g92leLACT7qFAxdGV5hd5X2dVSgERRWE5kFkNRzFPNur/GIwBsm4E/w Xymg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=MsmEn8s+7GEEz/bpKizUys54SmNuX2zHCFpdIiuCNSg=; b=bl4zrwPW3b0NSNsZfZhhkk3G6T2ZNntgdKl7AlEFVmkjmq2b/7wFwnBHIOvn06Siff svWThFtoAK14bCKKcohGs/VR6s1TNyPa9Tvyv4K0reSlsFJEgVg/mG7EWRysDqVhUqw9 ZlAHEtgxYWXkiWvzBWKYLIr0yezEug67HoVV58/L67f1qnHYaEZ8qn+nx0CJDwVOdiVS R0xo6J5qsMqRbrWmYefm60xb9kIU7XHrWK1U/xwCNxu3YIW7/Nx0C7w3DrTPl9ejY/9E u1MM0lGegM44w4ABqtNq7M292pHuxriHSvKah18SIQYwjrTgdAgRrQInCkbJLJB6iZFk xBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=ZxNXfoYg; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=G2W255Mq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j25-20020a635519000000b00478a7e7a62fsi24663716pgb.264.2022.12.31.15.00.37; Sat, 31 Dec 2022 15:00:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=ZxNXfoYg; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=G2W255Mq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232328AbiLaW67 (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Sat, 31 Dec 2022 17:58:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbiLaW66 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 31 Dec 2022 17:58:58 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BCF3F5F; Sat, 31 Dec 2022 14:58:57 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A4C655C0036; Sat, 31 Dec 2022 17:58:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 31 Dec 2022 17:58:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1672527536; x=1672613936; bh=MsmEn8s+7GEEz/bpKizUys54S mNuX2zHCFpdIiuCNSg=; b=ZxNXfoYgDAf4uGALmU8gChdwLRd22dOu9aR11GHlE xHRA5z7LD8NuykAkrHX63+x8mRi4IG8Pyx1OY9DDteZsMnAACneN2u5OezKCHV0I hO09+hEcCjisR/ZrQJeSBHz1Bn46etgrPq6v2XQjDW0BE/o7JmiskzFE/u/rAG7t wjpBErlNgas1Y4bMWtBbzZko0CRF308/OOa/osALhqaimBKNLsAVKGesmm1FFsat mJUjniSCZoYuhddpXk+gUxvVL1r3vvOxpwK95XiZn1MRsF9w48BF3yEGa5v/WdZJ MoF1I9xP+BzCtr2JJJIdOtoKj11w6HnZD3g5VVdPA5FNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1672527536; x=1672613936; bh=MsmEn8s+7GEEz/bpKizUys54SmNuX2zHCFp dIiuCNSg=; b=G2W255MqjBm7XSy5iNYu9jLaSnBWQGot1pHGFybQihRPB89O2ED yZtG42sM7MEASaxQSKl3vNevgAm9/BHFokT9Lt8SIKXAc4lalAGGSNz44rwuPK3X 6qRVwKI9JfdGNrSzyRYEu2FVQsgA0W8qrMFrO/fpxeu91clOVqXVP6UQg4cOeTIQ BBS2ZZrDeQl1RXI7JdQALMrlq2FFVe8AoVdUu3ZD1k3K17bHbpafRdCLDVUgmnWh sdjS6BNLC/1FDvk3InDtc0I+B+lP3KZJYJFHXOzeULBX5Rp2pCUEothxZ/g15tnb R6bkoFYjzR+QVCj1dmklVnh2LlkKqpLlsNg== X-ME-Sender: <xms:sL6wYyYVH_DSuav3sRIwplEmKzTEHSx1HaX4ThHLBJSKy59TCmrX_Q> <xme:sL6wY1ZBOuXTrJ-e7wIT9JopUMSticEd8MDsSJMAeg5NBLtfhutndAgkDm1nnMj7y VQpDtB9FiUbKWP3Ig> X-ME-Received: <xmr:sL6wY89tKbdD37SMVK8MYf-_TTbAGfop3u6SphBzIrfTjImo8ayAi7m5hJv1ot7dArONmi9e_x_koCkVUXEeoB1qW5QDwP09CNeQT2nd4i8zMPEA4OxW-ewaBFvJNNYgwy8xQg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieelgddthecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeehhffh keekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: <xmx:sL6wY0onAzcWGuBG1YnCVJSoj1VA8s3rd0oN-cv6VATGIduLmW-MRQ> <xmx:sL6wY9r6H-KML7dqMpAPdZhiPY53K6K6yCpAGSOmIYzC53F4oLj-NQ> <xmx:sL6wYyRH3NAr852nXjmibHfM3Zz3AnrR1XITyt0ZKxng-aMmZuy_yA> <xmx:sL6wYxLNrnUfLZwLwE_69wDEihPbc9KW4XmYnUj5fUeDuEyJ8own2Q> Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Dec 2022 17:58:55 -0500 (EST) From: Samuel Holland <samuel@sholland.org> To: Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com> Cc: Samuel Holland <samuel@sholland.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH v2 1/2] ARM: dts: sunxi: Fix GPIO LED node names Date: Sat, 31 Dec 2022 16:58:53 -0600 Message-Id: <20221231225854.16320-1-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753772352096334688?= X-GMAIL-MSGID: =?utf-8?q?1753772352096334688?= |
Series |
[v2,1/2] ARM: dts: sunxi: Fix GPIO LED node names
|
|
Commit Message
Samuel Holland
Dec. 31, 2022, 10:58 p.m. UTC
These board devicetrees fail to validate because the gpio-leds schema
requires its child nodes to have "led" in the node name.
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
Changes in v2:
- Use the recommended enumerator pattern for LED node names
arch/arm/boot/dts/sun5i-gr8-chip-pro.dts | 2 +-
arch/arm/boot/dts/sun5i-r8-chip.dts | 2 +-
arch/arm/boot/dts/sun6i-a31s-sina31s.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Comments
On Sat, 31 Dec 2022 16:58:53 -0600 Samuel Holland <samuel@sholland.org> wrote: > These board devicetrees fail to validate because the gpio-leds schema > requires its child nodes to have "led" in the node name. > > Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre > --- > > Changes in v2: > - Use the recommended enumerator pattern for LED node names > > arch/arm/boot/dts/sun5i-gr8-chip-pro.dts | 2 +- > arch/arm/boot/dts/sun5i-r8-chip.dts | 2 +- > arch/arm/boot/dts/sun6i-a31s-sina31s.dts | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts b/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts > index a32cde3e32eb..5c3562b85a5b 100644 > --- a/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts > +++ b/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts > @@ -70,7 +70,7 @@ chosen { > leds { > compatible = "gpio-leds"; > > - status { > + led-0 { > label = "chip-pro:white:status"; > gpios = <&axp_gpio 2 GPIO_ACTIVE_HIGH>; > default-state = "on"; > diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts > index 4bf4943d4eb7..fd37bd1f3920 100644 > --- a/arch/arm/boot/dts/sun5i-r8-chip.dts > +++ b/arch/arm/boot/dts/sun5i-r8-chip.dts > @@ -70,7 +70,7 @@ chosen { > leds { > compatible = "gpio-leds"; > > - status { > + led-0 { > label = "chip:white:status"; > gpios = <&axp_gpio 2 GPIO_ACTIVE_HIGH>; > default-state = "on"; > diff --git a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts > index 0af48e143b66..56956352914d 100644 > --- a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts > +++ b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts > @@ -67,7 +67,7 @@ hdmi_con_in: endpoint { > leds { > compatible = "gpio-leds"; > > - status { > + led-0 { > label = "sina31s:status:usr"; > gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; /* PH13 */ > };
Dne sobota, 31. december 2022 ob 23:58:53 CET je Samuel Holland napisal(a): > These board devicetrees fail to validate because the gpio-leds schema > requires its child nodes to have "led" in the node name. > > Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Best regards, Jernej
Dne sobota, 31. december 2022 ob 23:58:53 CET je Samuel Holland napisal(a): > These board devicetrees fail to validate because the gpio-leds schema > requires its child nodes to have "led" in the node name. > > Signed-off-by: Samuel Holland <samuel@sholland.org> Applied both, thanks! Best regards, Jernej
diff --git a/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts b/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts index a32cde3e32eb..5c3562b85a5b 100644 --- a/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts +++ b/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts @@ -70,7 +70,7 @@ chosen { leds { compatible = "gpio-leds"; - status { + led-0 { label = "chip-pro:white:status"; gpios = <&axp_gpio 2 GPIO_ACTIVE_HIGH>; default-state = "on"; diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts index 4bf4943d4eb7..fd37bd1f3920 100644 --- a/arch/arm/boot/dts/sun5i-r8-chip.dts +++ b/arch/arm/boot/dts/sun5i-r8-chip.dts @@ -70,7 +70,7 @@ chosen { leds { compatible = "gpio-leds"; - status { + led-0 { label = "chip:white:status"; gpios = <&axp_gpio 2 GPIO_ACTIVE_HIGH>; default-state = "on"; diff --git a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts index 0af48e143b66..56956352914d 100644 --- a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts +++ b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts @@ -67,7 +67,7 @@ hdmi_con_in: endpoint { leds { compatible = "gpio-leds"; - status { + led-0 { label = "sina31s:status:usr"; gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; /* PH13 */ };