Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11701828rwl; Tue, 3 Jan 2023 03:32:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXv0rM6nGy4h0Tj632SNCxcct4B69s6HKCXmLryZAKSTLzipW/30jYWRwt0PBZWxtjhLvnHD X-Received: by 2002:a17:907:c70c:b0:7c0:a247:2f3c with SMTP id ty12-20020a170907c70c00b007c0a2472f3cmr39229694ejc.1.1672745564227; Tue, 03 Jan 2023 03:32:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672745564; cv=none; d=google.com; s=arc-20160816; b=xm/3yd40VfnN/1lbJ14ZjnIx5ZpQV51COxr6ll23icDkb/d+w20iWXVsqMOqiOc3e+ B2ilHmQ3385i115aYgCqMpP+6pCxbdNMu67PWPGa51oA30ExQAt7gQZwXq+EPVJkE13A PD9BTUZXsD3VAeDhQk1eOV009y6ce3aYKpSGvYOXxLVDkmQTti1Tj9VLHRruIVabyfW4 3phV4tcxCFR9kSkzjX5oCXPh6MYF8RNHgP7/p5fieoHYjjweB4eyDAfg3RFe4fnYYaQ4 DIR7LKuwm38zeb7XbgOs1Ky8kG6VDCdI6AGnnjaGzT/CGQ1QoLelaagPrJW43DCspacQ TMeg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=zjC4N2LyuCp6Ovd2bVzB3kMhITozT03b/T6EPEglY68=; b=cuatVSyE03+D5XQ59BgQPsrI0P6rflEfkDp27Oevu4E4vuVAPK9pi8DaereLHyjSS1 fd5zrep0ho084jC59upsdROyukk/sE+NTr/7+DwgAsk+dOfeEOeVN4LixJzsSOuY9Wvg gH6d1C/rJ/r5Eb6lhRfDBFCL0pQWerrjQLkn/V2gUo5VODqSw40zUfRPG2FsBqJlkBuH hMmvAaMTcGPcE67fyoz2zpc6u8/ntf6w/2oeQh6eWOonGiLogLiVHOPbwij5vKhDEwQ0 6Tfbex9naY3+lRonFUB0Mb7obGWBYPN+G113qOwbHtj4IK1wIDxWMfh/Di07ZWTFJVuw z99g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf4-20020a17090731c400b007c0fe071d9asi23685971ejb.391.2023.01.03.03.32.29; Tue, 03 Jan 2023 03:32:44 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237087AbjACLIo (ORCPT + 61 others); Tue, 3 Jan 2023 06:08:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237019AbjACLIU (ORCPT ); Tue, 3 Jan 2023 06:08:20 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AF485101B; Tue, 3 Jan 2023 03:08:19 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 924311516; Tue, 3 Jan 2023 03:09:00 -0800 (PST) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CC7843F663; Tue, 3 Jan 2023 03:08:17 -0800 (PST) Date: Tue, 3 Jan 2023 11:08:15 +0000 From: Andre Przywara To: Samuel Holland Cc: Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH v2 1/2] ARM: dts: sunxi: Fix GPIO LED node names Message-ID: <20230103110815.0a047540@donnerap.cambridge.arm.com> In-Reply-To: <20221231225854.16320-1-samuel@sholland.org> References: <20221231225854.16320-1-samuel@sholland.org> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 31 Dec 2022 16:58:53 -0600 Samuel Holland 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 Reviewed-by: Andre Przywara 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 */ > };