Message ID | 20230210154855.3086900-3-michal.vokac@ysoft.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1034141wrn; Fri, 10 Feb 2023 08:02:00 -0800 (PST) X-Google-Smtp-Source: AK7set80IM7scZ8J1NKLybj1sRMUIIQsBX9yhMy2Q+BShWYAR1kygOp+U1Y5gZ3yIytQAtLW4212 X-Received: by 2002:a17:903:244f:b0:199:30a6:376c with SMTP id l15-20020a170903244f00b0019930a6376cmr16620290pls.68.1676044920566; Fri, 10 Feb 2023 08:02:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676044920; cv=none; d=google.com; s=arc-20160816; b=E/lL7JSnscw9xR+XGjc9Zp9GCbCLVnalBpwzv943IDrdjWSaCRK5r0q6s8/DP0mlwD pfPvkHXxRYBxGkAPga9osGxoRd6/EY25bXRDlDjrL4YRzR6A2kBsFgCNO9RiAFwZRl4h SneWmmHs2ArqHJGtYv5svHFHuRJ6/YOwOhZR7cMST6sL2Mp1hVqpyvoMYtYc+cIo+i2E s3y51clNs27v/KOSZlVRZyyLWt6l2dCkBnXM1DFhZJfnHUSDIDKy2jd0gtU2X/2CBAz/ CZBnIiG3EOvYgD5rHOjAduV5sWpTqeQsWop8v92an/W8uA6wIb7IyWncvOVXpa9aHzpM +OZg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xhuEnx2CumrOZ+cKIjzr+gDXyBCBui5kdVMb7hJPh5M=; b=GLEfEE3qnNhqqLkpx1eAOHSCQVbRA8tsiCgCFC2FKfr+QcPpNAL+seXcBqDNdfS9VB PtTCAQfHlEZ4pW7hAprlPehRAXVJRM3ERSeod65ozGlQ6R83YqkCsSTT4Qwjsq6Rx8Qn qd50KxKVxR4sBFAo9wz+FbPpV0JOfXzD297jaKBrbUFd9Mc4XYqDroSBI9+agyH4Xta0 3uJT05hMFZrKXlDU1dqQH5kp3vOtuQpgOQt+EmdC+QYZGxQfQGGY9Mux3VqMg4KMg+Kp 0i64Uyog0cZYX3BobDAoCP1zlsa6khXV3/uBcUDYZRF6+WxSID/5vHiF1m1Nok6/aVH3 Me/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=SghtOdBJ; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020a63b10d000000b004fb178cd32esi4769738pgf.303.2023.02.10.08.01.17; Fri, 10 Feb 2023 08:02:00 -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 (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=SghtOdBJ; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232882AbjBJP7N (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Fri, 10 Feb 2023 10:59:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232785AbjBJP7D (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Feb 2023 10:59:03 -0500 Received: from uho.ysoft.cz (uho.ysoft.cz [81.19.3.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC92458A5; Fri, 10 Feb 2023 07:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1676044184; bh=xhuEnx2CumrOZ+cKIjzr+gDXyBCBui5kdVMb7hJPh5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SghtOdBJ+dMJIBcjcQvfAuEK+sHvLe4wW7KTAcH5oU/OXvA6VgDcJAmjGqeY6UxRE RpPuG0qngh6tDXzmqFWZIvPH4CSd1KGULeQsBDuLKmRQ/UoKnmN2UznIu+KwLD3+vQ 6ys0z7qhqPNZ4z8dpmj84nzrJ9oOAwo8fY4UwpE0= Received: from vokac-Latitude-7410.ysoft.local (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id 134C7A010B; Fri, 10 Feb 2023 16:49:44 +0100 (CET) From: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= <michal.vokac@ysoft.com> To: Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?TWljaGFsIFZva8OhxI0=?= <michal.vokac@ysoft.com> Subject: [PATCH 2/6] ARM: dts: imx6dl-yapp4: Change LED channel names according to dt-binding Date: Fri, 10 Feb 2023 16:48:51 +0100 Message-Id: <20230210154855.3086900-3-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230210154855.3086900-1-michal.vokac@ysoft.com> References: <20230210154855.3086900-1-michal.vokac@ysoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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?1757460478475454523?= X-GMAIL-MSGID: =?utf-8?q?1757460478475454523?= |
Series |
Add support for new boards in the imx6dl-yapp4 family
|
|
Commit Message
Michal Vokáč
Feb. 10, 2023, 3:48 p.m. UTC
The lp55xx LED controller binding was converted to schema and dtbs_check
now complains:
led-controller@30: 'chan@0', 'chan@1', 'chan@2' do not match any of the regexes
Use correct names to fix that.
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On Fri, Feb 10, 2023 at 04:48:51PM +0100, Michal Vokáč wrote: > The lp55xx LED controller binding was converted to schema and dtbs_check > now complains: > > led-controller@30: 'chan@0', 'chan@1', 'chan@2' do not match any of the regexes > > Use correct names to fix that. > > Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> It's been address as part of this commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4b0d1f2738899dbcc7a026d826373530019aa31b Shawn > --- > arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > index 52162e8c7274..aacbf317feea 100644 > --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > @@ -274,7 +274,7 @@ leds: led-controller@30 { > #address-cells = <1>; > #size-cells = <0>; > > - chan@0 { > + led@0 { > chan-name = "R"; > led-cur = /bits/ 8 <0x20>; > max-cur = /bits/ 8 <0x60>; > @@ -282,7 +282,7 @@ chan@0 { > color = <LED_COLOR_ID_RED>; > }; > > - chan@1 { > + led@1 { > chan-name = "G"; > led-cur = /bits/ 8 <0x20>; > max-cur = /bits/ 8 <0x60>; > @@ -290,7 +290,7 @@ chan@1 { > color = <LED_COLOR_ID_GREEN>; > }; > > - chan@2 { > + led@2 { > chan-name = "B"; > led-cur = /bits/ 8 <0x20>; > max-cur = /bits/ 8 <0x60>; > -- > 2.25.1 >
On 13/03/2023 09:28, Shawn Guo wrote: > On Fri, Feb 10, 2023 at 04:48:51PM +0100, Michal Vokáč wrote: >> The lp55xx LED controller binding was converted to schema and dtbs_check >> now complains: >> >> led-controller@30: 'chan@0', 'chan@1', 'chan@2' do not match any of the regexes >> >> Use correct names to fix that. >> >> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> > > It's been address as part of this commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4b0d1f2738899dbcc7a026d826373530019aa31b > Which is mainline, so it raises the question on what old tree this was based on... Best regards, Krzysztof
On 13. 03. 23 9:48, Krzysztof Kozlowski wrote: > On 13/03/2023 09:28, Shawn Guo wrote: >> On Fri, Feb 10, 2023 at 04:48:51PM +0100, Michal Vokáč wrote: >>> The lp55xx LED controller binding was converted to schema and dtbs_check >>> now complains: >>> >>> led-controller@30: 'chan@0', 'chan@1', 'chan@2' do not match any of the regexes >>> >>> Use correct names to fix that. >>> >>> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> >> >> It's been address as part of this commit: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4b0d1f2738899dbcc7a026d826373530019aa31b >> > > Which is mainline, so it raises the question on what old tree this was > based on... The whole series is based on v6.2-rc7-11-g05ecb680708a which was linux-stable tree master branch from February 6th. I was not aware of the referenced commit as it was merged later into v6.3-rc. Good that it is fixed already, this patch can be skipped. It is just unfortunate that I was not Cc'd back then. Thanks, Michal
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 52162e8c7274..aacbf317feea 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -274,7 +274,7 @@ leds: led-controller@30 { #address-cells = <1>; #size-cells = <0>; - chan@0 { + led@0 { chan-name = "R"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; @@ -282,7 +282,7 @@ chan@0 { color = <LED_COLOR_ID_RED>; }; - chan@1 { + led@1 { chan-name = "G"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; @@ -290,7 +290,7 @@ chan@1 { color = <LED_COLOR_ID_GREEN>; }; - chan@2 { + led@2 { chan-name = "B"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>;