From patchwork Tue Feb 7 13:35:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 53888 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2855873wrn; Tue, 7 Feb 2023 05:44:16 -0800 (PST) X-Google-Smtp-Source: AK7set9Il9CdUQH2duW6Ka0pUGLKmY/Oh2UtE+wVdGBdgzPZJLEmYznCpnMGG6Imffa0hzkc1a1t X-Received: by 2002:a17:906:858d:b0:88b:b823:dad9 with SMTP id v13-20020a170906858d00b0088bb823dad9mr3357253ejx.68.1675777455969; Tue, 07 Feb 2023 05:44:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675777455; cv=none; d=google.com; s=arc-20160816; b=kMjomIEFYIirUh9OrWBUrkon41wFVwWZgP/4C8/c9/qQcR655cK2Gw63bjk0qhcv7V qNQa0EEwqgmTz9SN06Acdv2bCDervW6zLANtieNATnZDBJMsVlrQHQNRF/QnTYivixdB vhmGhVcZlTwNq7i2hOwKN+UsFViSYrxz0EyaWjrWzboI5VwV+M+YXgD+M2sn72BNAtPQ 2kyfytpWJYDPgfUtoOnDLu+1rIUqJ7sBIlJ2O+UCkyfLOMCqdslNhJRtg7Es4V3L6A29 4r7snlXAQQI0Y/Ctur1Wijyz99+6FuQx8wW/sS0wz355xFd7GeUbZ911q/KAgIIBtCeb NM/g== 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=+qbv0n0dKcwpBoP7NvIb165bwtTu0lYmwjiFWAV1Qec=; b=CcDF9MFQ5kZvev5RPq3HndRFfcG21Gb7sJjiMLEziffl81yo4BaMrizwbrZpL3Xu4v BeubHJPkJEsfsn0CihwfvwHfXUKApVIKf/GE/1JNfndsuSeR/G6BOLI4mYO3KTaV6Ra4 qcupDZd5B4C/CThEE9C0r4P1JBUcoVEY3+hoXQUrM/abD3GhlNQcBQ7X3WzGSuumeMvv ArilQArMDiAe9iNKGuQmU289vcMKWNZAFl/kUVObNOFOqf3K7Hnuq2KdicNKRPKW0fxV KaY8XPHJQJauXHXgoBpRn9rQh0g0npfon7Hm34oc04CMlN8Z8KEqV1eIo/8jnxQVWQUX A/xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=yNgHg9+v; 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 p23-20020a170907911700b0088acf6e8c97si13825081ejq.531.2023.02.07.05.43.50; Tue, 07 Feb 2023 05:44:15 -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=yNgHg9+v; 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 S232053AbjBGNfQ (ORCPT + 99 others); Tue, 7 Feb 2023 08:35:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231280AbjBGNfO (ORCPT ); Tue, 7 Feb 2023 08:35:14 -0500 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3615E1E5F2; Tue, 7 Feb 2023 05:35:13 -0800 (PST) Received: from mxbox4.masterlogin.de (unknown [192.168.10.79]) by mxout2.routing.net (Postfix) with ESMTP id 192C36160D; Tue, 7 Feb 2023 13:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1675776911; 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=+qbv0n0dKcwpBoP7NvIb165bwtTu0lYmwjiFWAV1Qec=; b=yNgHg9+vnJZKImB57vUO5nu22PU4EMoYJ/Tt69w/2+hT9i9K+J7Du5ra0C7/p2pWScXM6a HC/i252pqdVyr7hfGnI34RmllWkXANxUIiBkmItXPPHtefEcBw6T7EVmuMEWdkjtKvYNQR ehxl75wS+cpaem5FsPx7BNed4k64aHk= Received: from frank-G5.. (fttx-pool-217.61.159.155.bambit.de [217.61.159.155]) by mxbox4.masterlogin.de (Postfix) with ESMTPSA id B407180D97; Tue, 7 Feb 2023 13:35:09 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , 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 Message-Id: <20230207133504.21826-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: fcc6f107-9e6a-4587-a7ad-a6af974cf1bc 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757180021448724769?= X-GMAIL-MSGID: =?utf-8?q?1757180021448724769?= From: Frank Wunderlich 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 Acked-by: Krzysztof Kozlowski --- 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