From patchwork Tue Feb 7 10:25:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 53827 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2777318wrn; Tue, 7 Feb 2023 02:51:37 -0800 (PST) X-Google-Smtp-Source: AK7set92OxjsgtzFAt494IQBao3DqWX8fBiJusAEvMFZI6kt6/cpQsIsLW+aSQusGgqCouNJGt5c X-Received: by 2002:a50:bb44:0:b0:4aa:ab5b:99d3 with SMTP id y62-20020a50bb44000000b004aaab5b99d3mr2861056ede.30.1675767097401; Tue, 07 Feb 2023 02:51:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675767097; cv=none; d=google.com; s=arc-20160816; b=XR6d+XSJJ2m1Kiae2AHnS8qsVHqt4iSww7kPirdF5RwG6eTCJ5NUPQFDqC6wxRWDbO /b09cY3UhuNyKGm1r6YQZpzRRnibnUkgLoL/fQxpU7+BJFipHFMHvyN+UXQB/nEigidm zDWNo+e2i1rk0FrneJmnkR10tBSoPX1cnf0sr+UW42JMD/zLK1KqWNvJUxST4Do/cI3H XZ6896I9+hAa6KyciPW5M7f3wqX3gDf+X3L2vxijyEhLBSurxqK0dMkxwSqFv3upSXUt sVQtwVML2KiXGgHqf5vExP+6ntDqN1eWg5/Jf/fv6yo+P+cDh2aMDbDE7pSuKGmiPn/D NB8w== 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=uj3s91N95T2F3BwhUboKahqX3DOnIiHlbQ37Lz6ta+g=; b=J2Wz4eQfdwJmFyI0Y5UMyqUcODPPH90TKVrhZvmlSOn5gVLjyQ7CTCQG3iaZesn2Qg B/aS2ZBPXuqxU+c3omGHiobivEX8upOoI0Bf2OAYCbiK57B3s8MMe2cH4hpjkRRcvCMF nxUf5J27lRKa5XVn/GoWL3td0aU1rQADD6ydJKj+mroRMJl2VH5z/D6ZBsCYcJdeNS6t PdLYtMMdJS8uiFdU0DTeIP/fNXhVLX4Wv9gQ+EJhkbjwU10VSzcuQfQtg4djbVYCXu9Q SX0r2ub5dvU8sNhVSUvJ++g4iWg8HjuVi+gkpTEQmPKJahe2hZVemBuEkk186dO1lRgi g/xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=JOp9XjaF; 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 p9-20020a056402500900b004a08f43bb56si16535355eda.527.2023.02.07.02.51.14; Tue, 07 Feb 2023 02:51:37 -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=JOp9XjaF; 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 S231259AbjBGKmz (ORCPT + 99 others); Tue, 7 Feb 2023 05:42:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbjBGKmx (ORCPT ); Tue, 7 Feb 2023 05:42:53 -0500 X-Greylist: delayed 593 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 07 Feb 2023 02:42:18 PST Received: from mxout3.routing.net (mxout3.routing.net [IPv6:2a03:2900:1:a::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 909AA7A97; Tue, 7 Feb 2023 02:42:15 -0800 (PST) Received: from mxbulk.masterlogin.de (unknown [192.168.10.85]) by mxout3.routing.net (Postfix) with ESMTP id 546166003B; Tue, 7 Feb 2023 10:25:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1675765518; 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=uj3s91N95T2F3BwhUboKahqX3DOnIiHlbQ37Lz6ta+g=; b=JOp9XjaFJmuJYY2z436g99uQ5iccj+m5ZbLs0A6C0TTT9Y72j1wYnqHqrmi1dG2o+u74Yi JqipeNbljDl8LdBejFBhwpLWcJ4ABa99YWUkEn34ncqn6/T5E3L4o9yonq9DmsW6OAJYsx fLNRy2vea1KYTeErgeP4iGjBCVXeeAs= Received: from frank-G5.. (fttx-pool-217.61.159.155.bambit.de [217.61.159.155]) by mxbulk.masterlogin.de (Postfix) with ESMTPSA id B6FA31226E8; Tue, 7 Feb 2023 10:25:17 +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] dt-bindings: mt76: add active-low property to led Date: Tue, 7 Feb 2023 11:25:01 +0100 Message-Id: <20230207102501.11418-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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?1757169115530491422?= X-GMAIL-MSGID: =?utf-8?q?1757169160003938696?= From: Frank Wunderlich LEDs can be in low-active mode, so add dt property for it. Signed-off-by: Frank Wunderlich --- .../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