Message ID | 20221125144141.477253-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4069934wrr; Fri, 25 Nov 2022 06:43:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf6F+aEgRSpA1AWrKJyPWTIpXNh+UdUYtEl/IFVVA536bYofzLqM+KsSXQIae4/1iOyQo8lq X-Received: by 2002:a05:6402:114c:b0:457:35d4:ac66 with SMTP id g12-20020a056402114c00b0045735d4ac66mr35013771edw.415.1669387430341; Fri, 25 Nov 2022 06:43:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669387430; cv=none; d=google.com; s=arc-20160816; b=Y+y0a3itfIw4Byc5fKetmYn0xyeAebPYFB2x52ao5EGwK+68npdV9YvgQNbuif+q0r Ssg7CJCk/anHImCvsmZQM5HaWt+JSybKIr2QMNQtiG72gF9XX+muINh15s+2zCJboKC6 aarfYceA5VEs3PsSrm9QgNm3oi4E4hoOm7OAq5eqyrl4f7sLkLGyCooNzIpH/MGKfarD YVzJYWC9kkJ3mkhmRa30NsV3Bhcr/W0U08w9ijFIBnoc7UL2HiW44Vh/GvJs/BWGKfrP PuAKaBs1d+ZY+WeiL4v7c483pM4OkPyYxdHvwMjgINbHSJdO5Ud4jCP8nK2sezWK9p+1 BpBg== 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:dkim-signature; bh=Z/5v6IfA/ubg2nJLOKQQG234MZiHjjc5dgAnhVX0L/s=; b=TuyQGJgejGc5gJOXvG3/0LTlY1fmEAyzTNH1IdfEVS45wTH9mwxsvhIvIg/4XU7KSz x+7NSPcFfWeU08TgWCY25H15/CLfyjykXkBMKwCFLv0yZn20eaol4XRHag62lXarlFJP 5R6VeS2FjxlD/FDxS3aX5VNjOJFRCDrEMcy4AjIMsPDAWt9NHzrTGmhkh/5o4A/3wurC okw/4IdtLgv4iRCtkU9Y4FjxDQgkkF6XNPgzr/VOK2/ibEkiB0csCVgo4HtoLzvi6Mi5 QeG7Rw+t0eLWR37Iw2NsWFjXEKxfedpAYqp2SJOXa68kcFnPv+dsU/CHD+F3Rt7kTymb PfJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v73NYCBj; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rh16-20020a17090720f000b007acbaeed9besi2648494ejb.398.2022.11.25.06.43.23; Fri, 25 Nov 2022 06:43:50 -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=@linaro.org header.s=google header.b=v73NYCBj; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbiKYOms (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Fri, 25 Nov 2022 09:42:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230252AbiKYOmG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 Nov 2022 09:42:06 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D66073F04F for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 06:41:47 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id g12so7224652lfh.3 for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 06:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Z/5v6IfA/ubg2nJLOKQQG234MZiHjjc5dgAnhVX0L/s=; b=v73NYCBjG/HomZkRNgmtOXhKv9cDQF46tMMBfqYc9ma2DNFgUChhr1kRR4/N5cNR78 lv/CTaeOxTdpJopTBlfwwU1FQKFo5Dr+k6DSfMB/vP0q2JVfU327ncYXBGyzuSSe0ioA xCh3szZ4Ju2wPRvEw3heXC2hkaEwhkGjfPWhcDiOYN+WyM44YzdVli4uW9OJnUdJYbE1 J1e0fqamTsPgRgUXqeg++Q/NAx8x4+nipbaopQXn5McLgoDkJk5udBz0lfVzDay7z4dp LZsfO7Gu4co2UDIyarq+s8o1/UEBYd0iOXpx5vUvDEp7IF7Z3mScOD40ZFG66FGU2Xtr PJfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z/5v6IfA/ubg2nJLOKQQG234MZiHjjc5dgAnhVX0L/s=; b=wkeH13YXOXM/M1EF95UW2pKK8SpHsoy0Iu8VbN81X2vgHT64hbg2c5bKvqtl5hVGR7 EsgyQGuLQfOBxEzDF4QSo0pHf7qFdhkfnQRNhVWOpvdx34294rFtRp7ud2k4Ik/MZuzi /7C8uSL2AeR5o4rioHh+iWrNmJrllcwhZtynEcwJOgITqhgWTLRP05fuxZ7OtDAwfBTL PLryxIlHrs3M2LHJOvr5LLWowIk89hLo5zIFOHTqh08HbXPr9Y6103xQKFRV7gxpmaw0 tO6sy0aPM0pCh7rm2iBht3QtNagx8eQBUCFsekFN6GO5uOc7GwHEJj2ZzkquyYbkeAXi HwyA== X-Gm-Message-State: ANoB5pldPqLViFnSk3VV24E+JWAd5zEUcFTFaghvgUep1bMbybGWXe6F uVnZ0cPO/BZ3CM0t63jW0hn6C0t6qF7CDm4J X-Received: by 2002:a19:791c:0:b0:4b4:dd9:1880 with SMTP id u28-20020a19791c000000b004b40dd91880mr7436620lfc.289.1669387303294; Fri, 25 Nov 2022 06:41:43 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i20-20020a2ea234000000b0027738fd1eb6sm384995ljm.110.2022.11.25.06.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 06:41:42 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH] arm64: dts: amlogic: align LED node names with dtschema Date: Fri, 25 Nov 2022 15:41:41 +0100 Message-Id: <20221125144141.477253-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1750479593863253194?= X-GMAIL-MSGID: =?utf-8?q?1750479593863253194?= |
Series |
arm64: dts: amlogic: align LED node names with dtschema
|
|
Commit Message
Krzysztof Kozlowski
Nov. 25, 2022, 2:41 p.m. UTC
The node names should be generic and DT schema expects certain pattern:
amlogic/meson-sm1-bananapi-m5.dtb: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 25/11/2022 15:41, Krzysztof Kozlowski wrote: > The node names should be generic and DT schema expects certain pattern: > > amlogic/meson-sm1-bananapi-m5.dtb: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > <snip> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On Fri, Nov 25, 2022 at 3:41 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > The node names should be generic and DT schema expects certain pattern: > > amlogic/meson-sm1-bananapi-m5.dtb: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Thank you for this patch! It's: Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
On 25/11/2022 18:16, Neil Armstrong wrote: > On 25/11/2022 15:41, Krzysztof Kozlowski wrote: >> The node names should be generic and DT schema expects certain pattern: >> >> amlogic/meson-sm1-bananapi-m5.dtb: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> --- >> arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> > > > <snip> > > > Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Aren't you maintainer of the platform? This means I should take care of this patch? Best regards, Krzysztof
On 26/11/2022 15:16, Krzysztof Kozlowski wrote: > On 25/11/2022 18:16, Neil Armstrong wrote: >> On 25/11/2022 15:41, Krzysztof Kozlowski wrote: >>> The node names should be generic and DT schema expects certain pattern: >>> >>> amlogic/meson-sm1-bananapi-m5.dtb: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' >>> >>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>> --- >>> arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >> >> >> <snip> >> >> >> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> > > Aren't you maintainer of the platform? This means I should take care of > this patch? Ah, this will be picked up by Kevin or Jerome? So this tag means only Reviewer's statement of oversight, right? Best regards, Krzysztof
On Sat, 26 Nov 2022 at 15:24, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 26/11/2022 15:16, Krzysztof Kozlowski wrote: > > On 25/11/2022 18:16, Neil Armstrong wrote: > >> On 25/11/2022 15:41, Krzysztof Kozlowski wrote: > >>> The node names should be generic and DT schema expects certain pattern: > >>> > >>> amlogic/meson-sm1-bananapi-m5.dtb: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' > >>> > >>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > >>> --- > >>> arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 4 ++-- > >>> 1 file changed, 2 insertions(+), 2 deletions(-) > >>> > >> > >> > >> <snip> > >> > >> > >> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> > > > > Aren't you maintainer of the platform? This means I should take care of > > this patch? > > Ah, this will be picked up by Kevin or Jerome? So this tag means only > Reviewer's statement of oversight, right? Of course I'll pick it. Neil > > Best regards, > Krzysztof >
On 26/11/2022 17:03, Neil Armstrong wrote: >>>> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> >>> >>> Aren't you maintainer of the platform? This means I should take care of >>> this patch? >> >> Ah, this will be picked up by Kevin or Jerome? So this tag means only >> Reviewer's statement of oversight, right? > > Of course I'll pick it. > So that's confusing to see Review which does not mean review, but maintainer pick... Reviewed-by means, I should take your tag and add to v2 or the maintainer will add it when picking up. Best regards, Krzysztof
Le 27/11/2022 à 13:25, Krzysztof Kozlowski a écrit : > On 26/11/2022 17:03, Neil Armstrong wrote: >>>>> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> >>>> Aren't you maintainer of the platform? This means I should take care of >>>> this patch? >>> Ah, this will be picked up by Kevin or Jerome? So this tag means only >>> Reviewer's statement of oversight, right? >> Of course I'll pick it. >> > So that's confusing to see Review which does not mean review, but > maintainer pick... Reviewed-by means reviewed, there's no confusion here, the significance is clearly documented on https://docs.kernel.org/process/submitting-patches.html > > Reviewed-by means, I should take your tag and add to v2 or the > maintainer will add it when picking up. Reviewed-by means reviewed, fully reviewed patches are ready to be picked unless a change is asked by a reviewer. Decision to pick or not a patch does not depend on any tags, but is the sole decision of the maintainer adding it's Signed-off-by. While I use Acked-by to signify acceptance to other maintainers on files I authored or files I maintain but cannot pick, here I don't need to signify acceptance to myself. Neil > > Best regards, > Krzysztof >
On 27/11/2022 14:33, Neil Armstrong wrote: > > Le 27/11/2022 à 13:25, Krzysztof Kozlowski a écrit : >> On 26/11/2022 17:03, Neil Armstrong wrote: >>>>>> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> >>>>> Aren't you maintainer of the platform? This means I should take care of >>>>> this patch? >>>> Ah, this will be picked up by Kevin or Jerome? So this tag means only >>>> Reviewer's statement of oversight, right? >>> Of course I'll pick it. >>> >> So that's confusing to see Review which does not mean review, but >> maintainer pick... > > Reviewed-by means reviewed, there's no confusion here, the significance > is clearly documented on https://docs.kernel.org/process/submitting-patches.html > >> >> Reviewed-by means, I should take your tag and add to v2 or the >> maintainer will add it when picking up. > > Reviewed-by means reviewed, fully reviewed patches are ready to > be picked unless a change is asked by a reviewer. > > Decision to pick or not a patch does not depend on any tags, but > is the sole decision of the maintainer adding it's Signed-off-by. Then why giving review tag and not notifying about the pick, while the pick actually happens? This is confusing. When the maintainer, which is supposed to pick patch, gives reviewed it means always the same as acked, so the patch is expected to go other way. Not through that maintainer's tree. If you just apply it, say you apply it. Best regards, Krzysztof
Hi Krzysztof, Le 27/11/2022 à 20:07, Krzysztof Kozlowski a écrit : > On 27/11/2022 14:33, Neil Armstrong wrote: >> >> Le 27/11/2022 à 13:25, Krzysztof Kozlowski a écrit : >>> On 26/11/2022 17:03, Neil Armstrong wrote: >>>>>>> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> >>>>>> Aren't you maintainer of the platform? This means I should take care of >>>>>> this patch? >>>>> Ah, this will be picked up by Kevin or Jerome? So this tag means only >>>>> Reviewer's statement of oversight, right? >>>> Of course I'll pick it. >>>> >>> So that's confusing to see Review which does not mean review, but >>> maintainer pick... >> >> Reviewed-by means reviewed, there's no confusion here, the significance >> is clearly documented on https://docs.kernel.org/process/submitting-patches.html >> >>> >>> Reviewed-by means, I should take your tag and add to v2 or the >>> maintainer will add it when picking up. >> >> Reviewed-by means reviewed, fully reviewed patches are ready to >> be picked unless a change is asked by a reviewer. >> >> Decision to pick or not a patch does not depend on any tags, but >> is the sole decision of the maintainer adding it's Signed-off-by. > > Then why giving review tag and not notifying about the pick, while the > pick actually happens? This is confusing. When the maintainer, which is > supposed to pick patch, gives reviewed it means always the same as > acked, so the patch is expected to go other way. Not through that > maintainer's tree. > > If you just apply it, say you apply it. This last reply goes beyond acceptability on my side, this thread went too far and I'll stop replying further after this. If your goal was to kindly ask me to use Acked-by to notify you I'll pick the patch in the future, while this "rule" is only implicit, the actual form is far from it. Concerning this patch, since I already sent the ARM64 DT PR for v6.2, and I usually don't take new changes except urgent ones after rc6, I'll pick this patch and "20221125144120.476933-1-krzysztof.kozlowski@linaro.org" after the next merge window and you'll be notified as I always do. > > Best regards, > Krzysztof > Neil
Hi, On Fri, 25 Nov 2022 15:41:41 +0100, Krzysztof Kozlowski wrote: > The node names should be generic and DT schema expects certain pattern: > > amlogic/meson-sm1-bananapi-m5.dtb: leds: 'blue' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' > > Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.3/arm64-dt) [1/1] arm64: dts: amlogic: align LED node names with dtschema https://git.kernel.org/amlogic/c/ac7f40c28bce2fd1a771e634531ca4b0dd9576f7 These changes has been applied on the intermediate git tree [1]. The v6.3/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers for inclusion in their intermediate git branches in order to be sent to Linus during the next merge window, or sooner if it's a set of fixes. In the cases of fixes, those will be merged in the current release candidate kernel and as soon they appear on the Linux master branch they will be backported to the previous Stable and Long-Stable kernels [2]. The intermediate git branches are merged daily in the linux-next tree [3], people are encouraged testing these pre-release kernels and report issues on the relevant mailing-lists. If problems are discovered on those changes, please submit a signed-off-by revert patch followed by a corrective changeset. [1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git [3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts index cadba194b149..028220ed45ad 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts @@ -81,13 +81,13 @@ hdmi_connector_in: endpoint { leds { compatible = "gpio-leds"; - green { + led-green { color = <LED_COLOR_ID_GREEN>; function = LED_FUNCTION_STATUS; gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>; }; - blue { + led-blue { color = <LED_COLOR_ID_BLUE>; function = LED_FUNCTION_STATUS; gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;