public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Frank Wunderlich <linux@fw-web•de>
To: linux-mediatek@lists•infradead.org
Cc: Frank Wunderlich <frank-w@public-files•de>,
	Felix Fietkau <nbd@nbd•name>,
	Lorenzo Bianconi <lorenzo@kernel•org>,
	Ryder Lee <ryder.lee@mediatek•com>,
	Shayne Chen <shayne.chen@mediatek•com>,
	Sean Wang <sean.wang@mediatek•com>, Kalle Valo <kvalo@kernel•org>,
	"David S. Miller" <davem@davemloft•net>,
	Eric Dumazet <edumazet@google•com>,
	Jakub Kicinski <kuba@kernel•org>, Paolo Abeni <pabeni@redhat•com>,
	Rob Herring <robh+dt@kernel•org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro•org>,
	Matthias Brugger <matthias.bgg@gmail•com>,
	linux-wireless@vger•kernel.org, netdev@vger•kernel.org,
	devicetree@vger•kernel.org, linux-arm-kernel@lists•infradead.org,
	linux-kernel@vger•kernel.org
Subject: [PATCH v2] dt-bindings: mt76: add active-low property for led
Date: Tue,  7 Feb 2023 14:35:04 +0100	[thread overview]
Message-ID: <20230207133504.21826-1-linux@fw-web.de> (raw)

From: Frank Wunderlich <frank-w@public-files•de>

LEDs can be in low-active mode, driver already supports it, but
documentation is missing. Add documentation for the dt property.

Signed-off-by: Frank Wunderlich <frank-w@public-files•de>
---
v2:
- change commit message to mention that driver already support this
---
 .../devicetree/bindings/net/wireless/mediatek,mt76.yaml      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
index f0c78f994491..212508672979 100644
--- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
@@ -112,6 +112,11 @@ properties:
     $ref: /schemas/leds/common.yaml#
     additionalProperties: false
     properties:
+      led-active-low:
+        description:
+          LED is enabled with ground signal.
+        type: boolean
+
       led-sources:
         maxItems: 1
 
-- 
2.34.1


             reply	other threads:[~2023-02-07 13:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07 13:35 Frank Wunderlich [this message]
2023-02-07 13:36 ` [PATCH v2] dt-bindings: mt76: add active-low property for led Krzysztof Kozlowski
2023-03-30 17:09   ` Matthias Brugger
2023-03-31 14:22     ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230207133504.21826-1-linux@fw-web.de \
    --to=linux@fw-web$(echo .)de \
    --cc=davem@davemloft$(echo .)net \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=edumazet@google$(echo .)com \
    --cc=frank-w@public-files$(echo .)de \
    --cc=krzysztof.kozlowski+dt@linaro$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=kvalo@kernel$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-mediatek@lists$(echo .)infradead.org \
    --cc=linux-wireless@vger$(echo .)kernel.org \
    --cc=lorenzo@kernel$(echo .)org \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=nbd@nbd$(echo .)name \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=ryder.lee@mediatek$(echo .)com \
    --cc=sean.wang@mediatek$(echo .)com \
    --cc=shayne.chen@mediatek$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox