Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5078572rwb; Sun, 22 Jan 2023 02:55:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXvOInKc2TJuadeB60Gdmd6pPPDiPBCpy6sr4JMT3qocKRCYSQnS4lwxYD6J/v4LqIqNcNPB X-Received: by 2002:aa7:8286:0:b0:582:b7a7:de13 with SMTP id s6-20020aa78286000000b00582b7a7de13mr21104723pfm.10.1674384918757; Sun, 22 Jan 2023 02:55:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674384918; cv=none; d=google.com; s=arc-20160816; b=r2pIwKsU916Y+LF7RBuqEyR8fXeyz28R28u8VVHEKFBGtuBiwpCU0saFRcV2+pyqYL UZyyi2mGrn6ZehyA8TfGH8evccXhd1jj/+minbxMdkvfJfqOt93otwANenQBAe6JXo29 s8ExfhnHfqWWiKaLHFHOy+5llWcoAWAAOVvI6aH6lcyYcT5OWJntqNtM/LpWkVuTywiu VjzSGwmx964Oxz3L0hMw954Oz8taTqWrsn8OTh/tMDzqvRm38L4Ac52VQmxs1756zCxx F06hJhGyfASOxUgbis+qZI8yBj+8a3KAKUnsrpQxrCbpwbI9PxotvF2FO3QgwiB1rja+ 5vLw== 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; bh=MnW5ATuLHYgxejbLO9WgR2I25NbT6fKjB4hvtO3b0Tg=; b=qa6rk+PtE3k4+5I7qOCyQyDt/vkOD+mCJjdsPISN6urPL30Rj5e3OKau+gUdSMvloD zTBg+LGX+2vkuVj+svKRKPIEnsKkjKo+TcH92kUGSV11+dUarxEN80ODXJr5iCeyEnPu vbZCfSoCJUWXhjgBMPRrDat2sJJ5a0+xM34mg+OZ8DKG6+uy4Wpd0COA7mRIR3qE7WM5 OUDmKzfdq0nIqE7gCsbcFwXwl8zqWQewEQhpaOtXRiU8vxgJh5l5e+FA7TOlJQiWpIG2 VXhvJ2nYQEzlS5G/oaQqZ7XrUxqwf8Ai7poaNP+ANjDZ+xYVU4Kt/nij/je/mezXSV9J 366A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a056a00080500b005676e2c36b4si38340475pfk.47.2023.01.22.02.54.51; Sun, 22 Jan 2023 02:55:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-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; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229985AbjAVKs7 (ORCPT + 99 others); Sun, 22 Jan 2023 05:48:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbjAVKs6 (ORCPT ); Sun, 22 Jan 2023 05:48:58 -0500 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 125C6166D5 for ; Sun, 22 Jan 2023 02:48:55 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:4d08:7796:61ee:69a0]) by albert.telenet-ops.be with bizsmtp id Bmop2900G0XvA8106mopjH; Sun, 22 Jan 2023 11:48:52 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1pJXtx-006qbZ-IN; Sun, 22 Jan 2023 11:48:49 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1pJXso-0037wg-Qn; Sun, 22 Jan 2023 11:47:30 +0100 From: Geert Uytterhoeven To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Jacek Anaszewski Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , Rob Herring Subject: [PATCH v2] dt-bindings: leds: Document Bluetooth and WLAN triggers Date: Sun, 22 Jan 2023 11:47:27 +0100 Message-Id: <0d0de1bc949d24e08174205c13c0b59bd73c1ea8.1674384302.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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: X-Mailing-List: linux-bluetooth@vger.kernel.org Add the missing trigger patterns for Bluetooth and WLAN activity, which are already in active use. While at it, move the mmc pattern comment where it belongs, and restore alphabetical sort order. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring --- arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2.dtb: leds: bt_active_led:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'hci0-power' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'hci0-power' does not match '^mmc[0-9]+$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2.dtb: leds: wlan_active_led:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'phy0tx' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'phy0tx' does not match '^mmc[0-9]+$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml v2: - Add Reviewed-by. --- Documentation/devicetree/bindings/leds/common.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index f5c57a580078ea23..d34bb58c00371402 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -98,9 +98,13 @@ properties: # LED alters the brightness for the specified duration with one software # timer (requires "led-pattern" property) - pattern - # LED is triggered by SD/MMC activity - - pattern: "^mmc[0-9]+$" - pattern: "^cpu[0-9]*$" + - pattern: "^hci[0-9]+-power$" + # LED is triggered by Bluetooth activity + - pattern: "^mmc[0-9]+$" + # LED is triggered by SD/MMC activity + - pattern: "^phy[0-9]+tx$" + # LED is triggered by WLAN activity led-pattern: description: | -- 2.34.1