Message ID | 20230205174833.107050-1-linux@fw-web.de |
---|---|
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 s9csp1868235wrn; Sun, 5 Feb 2023 09:51:31 -0800 (PST) X-Google-Smtp-Source: AK7set8ldG5CfdFv0UYfegZiv37/bZyyzJ4/Mz2vJuTTY4f1+FoS5rqxPIdDFG4xguDI6CYIC9vF X-Received: by 2002:a05:6a20:5496:b0:bc:244a:c43e with SMTP id i22-20020a056a20549600b000bc244ac43emr21673285pzk.55.1675619491102; Sun, 05 Feb 2023 09:51:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675619491; cv=none; d=google.com; s=arc-20160816; b=SmKfzUqpFXhLUFxojVMy035CfRPZHSw2kxI9LYrTxDnjzcUNrrE1suYSo2gVHPZB3w 0YtwPbzmD2tgH3JjOSAcXnQTI6VSkU8TcXWvJ4Yg9aX405ARWwv7rSqO2vq7w4aWotdH SBaYEx4YAgaY/qyM4uojNzYiOMOb7OeSpxpQZdtnlymcgjESI0kyh1t2Qa6dHQz2vIXY 30dlPi80hN6Qmpo6J2YQqKG7yt8/QNvLHN2aqkI26vdL+FOefz9Jck6cKRN5HJgslF8v G43pg+DoAIBaKmhI0URyCR2LbzKimubS7ISM3WXJY64Q/F7i2iNv7pykN/sZlsERs4V+ 7UaQ== 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=5x5jw/lnJazoXzv3c6IXoN93KLrXvZK0c1wXgqRmz8M=; b=PXcGT9Ve/ySFUbTiCcg5+QAjGkNSy6l93wgmlIUW0o8ZVB1VCIN5AjVhfrs6ENmNDk 223ixdxBlfOe4hlp0r2Ux1Dd/SZNWwG2zWJrOojg9pThmS1OzCLvSyS87yLiBotwpJB2 nppKvqmpLTHmIXfitPR8jmnuI1GVdUca+hR/vp1SaxMy5BMKMOKg/yhZsVgAomZOU3ma A/68WUGEFDlEr9GIC7O1ojc1s6UrqmDihxuxlkw6zWzfSCeNv0tSWdYPdSd3pQJD7u9T 6ip7zFAamBmY+OD6kz/XjYuLl+4r/oQF7upEAuGeoavuFMLSoflhUCMpdIf/fmBWzld1 bbkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=rObJxyrw; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a17090282c500b00188e49e9dddsi940437plz.52.2023.02.05.09.51.14; Sun, 05 Feb 2023 09:51:31 -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=@mailerdienst.de header.s=20200217 header.b=rObJxyrw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229503AbjBERsu (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Sun, 5 Feb 2023 12:48:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjBERst (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 5 Feb 2023 12:48:49 -0500 Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 182B11CAD2; Sun, 5 Feb 2023 09:48:48 -0800 (PST) Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 3F6AE6047F; Sun, 5 Feb 2023 17:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1675619326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5x5jw/lnJazoXzv3c6IXoN93KLrXvZK0c1wXgqRmz8M=; b=rObJxyrwiG/VjAXWpqAbF9wqNgBjSp4W15IbrZ/S7aC2UDQVE97stsmFgHga+4Av7PnzRo Hv30INctB+bt/WDFDRAGkROzCmYrzelJgvoHsS8euQtEEK6MJU0OjsSm9EaWugDHnSsC/a ufuh4S4aVjzBXYQnQwRAHIP0aYqzJGs= Received: from frank-G5.. (fttx-pool-80.245.77.40.bambit.de [80.245.77.40]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id 0936B1226B0; Sun, 5 Feb 2023 17:48:46 +0000 (UTC) From: Frank Wunderlich <linux@fw-web.de> To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich <frank-w@public-files.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: mt7986: set Wifi Leds low-active for BPI-R3 Date: Sun, 5 Feb 2023 18:48:33 +0100 Message-Id: <20230205174833.107050-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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?1757014383354232679?= X-GMAIL-MSGID: =?utf-8?q?1757014383354232679?= |
Series |
arm64: dts: mt7986: set Wifi Leds low-active for BPI-R3
|
|
Commit Message
Frank Wunderlich
Feb. 5, 2023, 5:48 p.m. UTC
From: Frank Wunderlich <frank-w@public-files.de> Leds for Wifi are low-active, so add property to devicetree. Signed-off-by: Frank Wunderlich <frank-w@public-files.de> --- arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++ 1 file changed, 4 insertions(+)
Comments
On 05/02/2023 18:48, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > Leds for Wifi are low-active, so add property to devicetree. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > --- > arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > index 33bd6febc160..2b028141f1f7 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > @@ -446,5 +446,9 @@ &wifi { > pinctrl-names = "default", "dbdc"; > pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>; > pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>; > + > + led { > + led-active-low; > + }; The binding is missing this property also the driver implements it. Could you please update the bindind description properly? Thanks Matthias
Il 06/02/23 21:20, Matthias Brugger ha scritto: > > > On 05/02/2023 18:48, Frank Wunderlich wrote: >> From: Frank Wunderlich <frank-w@public-files.de> >> >> Leds for Wifi are low-active, so add property to devicetree. >> >> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> >> --- >> arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >> b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >> index 33bd6febc160..2b028141f1f7 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >> +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >> @@ -446,5 +446,9 @@ &wifi { >> pinctrl-names = "default", "dbdc"; >> pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>; >> pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>; >> + >> + led { >> + led-active-low; >> + }; > > The binding is missing this property also the driver implements it. Could you > please update the bindind description properly? > Thanks > Matthias After and only after [1] is picked, Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> [1]: https://patchwork.kernel.org/project/linux-mediatek/patch/20230207133504.21826-1-linux@fw-web.de/
> Gesendet: Dienstag, 07. Februar 2023 um 17:17 Uhr > Von: "AngeloGioacchino Del Regno" <angelogioacchino.delregno@collabora.com> > Il 06/02/23 21:20, Matthias Brugger ha scritto: > > > > > > On 05/02/2023 18:48, Frank Wunderlich wrote: > >> From: Frank Wunderlich <frank-w@public-files.de> > >> > >> Leds for Wifi are low-active, so add property to devicetree. > >> > >> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > >> --- > >> arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++ > >> 1 file changed, 4 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > >> b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > >> index 33bd6febc160..2b028141f1f7 100644 > >> --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > >> +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > >> @@ -446,5 +446,9 @@ &wifi { > >> pinctrl-names = "default", "dbdc"; > >> pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>; > >> pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>; > >> + > >> + led { > >> + led-active-low; > >> + }; > > > > The binding is missing this property also the driver implements it. Could you > > please update the bindind description properly? > > Thanks > > Matthias > > > After and only after [1] is picked, > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > > [1]: > https://patchwork.kernel.org/project/linux-mediatek/patch/20230207133504.21826-1-linux@fw-web.de/ Hi Matthias, Can you take this patch into your tree? binding is already merged https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml#n114 regards Frank
On 22/05/2023 10:26, Frank Wunderlich wrote: >> Gesendet: Dienstag, 07. Februar 2023 um 17:17 Uhr >> Von: "AngeloGioacchino Del Regno" <angelogioacchino.delregno@collabora.com> >> Il 06/02/23 21:20, Matthias Brugger ha scritto: >>> >>> >>> On 05/02/2023 18:48, Frank Wunderlich wrote: >>>> From: Frank Wunderlich <frank-w@public-files.de> >>>> >>>> Leds for Wifi are low-active, so add property to devicetree. >>>> >>>> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> >>>> --- >>>> arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++ >>>> 1 file changed, 4 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >>>> b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >>>> index 33bd6febc160..2b028141f1f7 100644 >>>> --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >>>> +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts >>>> @@ -446,5 +446,9 @@ &wifi { >>>> pinctrl-names = "default", "dbdc"; >>>> pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>; >>>> pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>; >>>> + >>>> + led { >>>> + led-active-low; >>>> + }; >>> >>> The binding is missing this property also the driver implements it. Could you >>> please update the bindind description properly? >>> Thanks >>> Matthias >> >> >> After and only after [1] is picked, >> >> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> >> >> [1]: >> https://patchwork.kernel.org/project/linux-mediatek/patch/20230207133504.21826-1-linux@fw-web.de/ > > Hi Matthias, > > Can you take this patch into your tree? binding is already merged > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml#n114 > Applied now :) Regards, Matthias
diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts index 33bd6febc160..2b028141f1f7 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts @@ -446,5 +446,9 @@ &wifi { pinctrl-names = "default", "dbdc"; pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>; pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>; + + led { + led-active-low; + }; };