Message ID | 20221028064141.2171405-1-clabbe@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp658598wru; Thu, 27 Oct 2022 23:43:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5iFlCmoRlmnAwUXZnfiBKIrkjBJJy2YnjNkgyhVhoaY2WP9ftPlMFavA93TH9cQ1KcSU8g X-Received: by 2002:a17:903:124b:b0:179:da2f:2457 with SMTP id u11-20020a170903124b00b00179da2f2457mr53036824plh.156.1666939388734; Thu, 27 Oct 2022 23:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666939388; cv=none; d=google.com; s=arc-20160816; b=Bvl72cZv+JKvAcE+rzh0VweH8ESVoBKw3SmOOg5v48d/Ti+jsOA09va20qu0ZZxx8u GDyLw/KBiIfhmjdb81ZnNFzQW+i3dVSc7vJpD5pAo4fsYpB6Qw6bfqmTZyX3ByqWbhjU f9VxKL5F7BNeeBaXG84xtkClZ1KdN20ib0dZeBTCtunEAp6OPjw31tAI5B6S6wGbPxfw cWDJyLGAQ703ZVzwKXgi+lBiVEArRr/ItUzb6kbg62rLcwfhAT1RflGS07vR/pyKBqZn Eb7/68vAMJaH4CBu/h1oBt+jBU5juZsR2dT8t1RyVjbiASPkCfxzgC+4amKInogbERR2 kaoA== 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=pW67w54VW6hMiwBpE+8e4feStlkLZps5VX75c4wE11Q=; b=dIL2IwojnBhtKxbxwb90kPjGygUdU+7Ei8L5qYkWZoh7woyr/hHFWs/spjK7vHNRjD 2Hv1JphNO4Axomx4i76jo5sY8sgUGXjNlnjWTRbc/81dybg47qww94somWg73ZnnhuQU j/oA664X9JaXLq63fb/VK426eiIKLdeY8ZI124+xuZcZ2QGPrz4APWfc2mcl/1lDM1E6 RV0Erj792+bSuWFOZLhnrzcoUMa4elyNj4EU2M80n8vqPG2rIkaujcr0qs7K0qe97qW7 Tx75jQHcbcBiPXxvRrQ7w3jwhXprRht74BPjJVlunWfRwooEk+S2e/DS+EP86Yz0gRXk +9oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="vzESmk/p"; 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 l12-20020a17090b078c00b00212e4f65e71si8040253pjz.31.2022.10.27.23.42.56; Thu, 27 Oct 2022 23:43:08 -0700 (PDT) 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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="vzESmk/p"; 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 S229930AbiJ1GmQ (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 28 Oct 2022 02:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229870AbiJ1Glw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 02:41:52 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1067415B305 for <linux-kernel@vger.kernel.org>; Thu, 27 Oct 2022 23:41:49 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id bg9-20020a05600c3c8900b003bf249616b0so2849062wmb.3 for <linux-kernel@vger.kernel.org>; Thu, 27 Oct 2022 23:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=pW67w54VW6hMiwBpE+8e4feStlkLZps5VX75c4wE11Q=; b=vzESmk/pqrKW0wWW8snVPstmmTABNdIAlBU5Vnebpsdu9zEU/vvi0ukbWnHaddtL+j 1m1Hyk6dxr+NCsQL4QBnO05peXndx8IWFxZCIutHo1M/6cy23CQyJj71po6K/fWwXoC7 Poh2RFiv6FypKR/8IYfEVoeKWxYKi8qfy8W3RO6HEhbrXx1KJf7XRm2Svc8xE+EgU3R9 lOBKTbsvATwvgdVEY3ryAkMnxOZ46XVndz+AB1xnrJVMaO+fHCI8OR3y9mTlEpxre4Ke Z8Ss2e45hN0Y6xzH15MgGRMf6bI5LfLFAW8tRYmtD2PDGlC9lYQKKB+uRKjQTs/6J8gm 1/LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pW67w54VW6hMiwBpE+8e4feStlkLZps5VX75c4wE11Q=; b=jRhQcRGb78NeKFpzZ9pS8J1Pz1XspQRGxDHIrBbPVyj635RyqGb5TOgn+0uizHqyvw oCSqgPne2hH7gxz0M45C7SSBzbYzW7XnRP/NAKv00ojNCZJJmktKSQ5OYLmJDIbsQ+zB zKTcaW5+H4EjbH8MhMm9p5DaFWCYKuLY7he+B1Mu2n3rwhS+jQXlI+3EGrW8CjZlihPI SMB3mMzu1sNUw6tm4jj1GwG2zQ7U6K8rh8dClvp6mjxD7R7RWNZon7OunsVMmZ0GgirI FpKN5EmerBwat8N8BGYzQyWwf4yBhD7ld8VJL92W5i5XKzXlsAAQDfHLWFqYEeOKKoJP B4gA== X-Gm-Message-State: ACrzQf0TYPnEDs3jVA1pR9zRBmF+TA2WxamgFL5AzksEblLt/cgvUZkr vgDevUlv+rLwgweXyyHrqvEeFg== X-Received: by 2002:a7b:c34a:0:b0:3c6:e069:d41c with SMTP id l10-20020a7bc34a000000b003c6e069d41cmr8316994wmj.180.1666939307626; Thu, 27 Oct 2022 23:41:47 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id h17-20020a05600c351100b003c7087f6c9asm7253979wmq.32.2022.10.27.23.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 23:41:47 -0700 (PDT) From: Corentin Labbe <clabbe@baylibre.com> To: pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Corentin Labbe <clabbe@baylibre.com>, Rob Herring <robh@kernel.org> Subject: [PATCH v3 1/2] dt-bindings: leds: common: add disk write/read and usb-host/usb-gadget Date: Fri, 28 Oct 2022 06:41:40 +0000 Message-Id: <20221028064141.2171405-1-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.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=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: <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?1747912636574989830?= X-GMAIL-MSGID: =?utf-8?q?1747912636574989830?= |
Series |
[v3,1/2] dt-bindings: leds: common: add disk write/read and usb-host/usb-gadget
|
|
Commit Message
Corentin LABBE
Oct. 28, 2022, 6:41 a.m. UTC
The triggers enum misses 3 cases used by gemini DT. usb-host was added via commit 0cfbd328d60f ("usb: Add LED triggers for USB activity") so we add also as valid trigger usb-gadget which was added along in this commit. disk-read/disk-write were added by commit d1ed7c558612 ("leds: Extends disk trigger for reads and writes") Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> --- V1 can be seen at https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20210508193654.2596119-1-clabbe@baylibre.com/ Changes since v1: - rebased on recent tree Changes since v2: - rebased on recent tree Documentation/devicetree/bindings/leds/common.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Comments
Le Fri, Oct 28, 2022 at 06:41:40AM +0000, Corentin Labbe a écrit : > The triggers enum misses 3 cases used by gemini DT. > usb-host was added via commit 0cfbd328d60f ("usb: Add LED triggers for USB activity") > so we add also as valid trigger usb-gadget which was added along in this > commit. > > disk-read/disk-write were added by commit d1ed7c558612 ("leds: Extends disk trigger for reads and writes") > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > Acked-by: Rob Herring <robh@kernel.org> > > Signed-off-by: Corentin Labbe <clabbe@baylibre.com> > --- Hello Gentle ping Regards
Le Fri, Oct 28, 2022 at 06:41:40AM +0000, Corentin Labbe a écrit : > The triggers enum misses 3 cases used by gemini DT. > usb-host was added via commit 0cfbd328d60f ("usb: Add LED triggers for USB activity") > so we add also as valid trigger usb-gadget which was added along in this > commit. > > disk-read/disk-write were added by commit d1ed7c558612 ("leds: Extends disk trigger for reads and writes") > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > Acked-by: Rob Herring <robh@kernel.org> > Hello Pavel Machek and Lee Jones The two patch are reviewed, could you take them to your tree ? thanks Regards
On Mon, Dec 12, 2022 at 1:59 PM Corentin LABBE <clabbe@baylibre.com> wrote: > Le Fri, Oct 28, 2022 at 06:41:40AM +0000, Corentin Labbe a écrit : > > The triggers enum misses 3 cases used by gemini DT. > > usb-host was added via commit 0cfbd328d60f ("usb: Add LED triggers for USB activity") > > so we add also as valid trigger usb-gadget which was added along in this > > commit. > > > > disk-read/disk-write were added by commit d1ed7c558612 ("leds: Extends disk trigger for reads and writes") > > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > > Acked-by: Rob Herring <robh@kernel.org> > > > > Hello Pavel Machek and Lee Jones > > The two patch are reviewed, could you take them to your tree ? If the subsystem maintainers are too busy to respond, maybe you can propose it for merging through the SoC tree? It's a common last way out. Yours, Linus Walleij
On Mon, 12 Dec 2022, Corentin LABBE wrote: > Le Fri, Oct 28, 2022 at 06:41:40AM +0000, Corentin Labbe a écrit : > > The triggers enum misses 3 cases used by gemini DT. > > usb-host was added via commit 0cfbd328d60f ("usb: Add LED triggers for USB activity") > > so we add also as valid trigger usb-gadget which was added along in this > > commit. > > > > disk-read/disk-write were added by commit d1ed7c558612 ("leds: Extends disk trigger for reads and writes") > > Reviewed-by: Linus Walleij <linus.walleij@linaro.org> > > Acked-by: Rob Herring <robh@kernel.org> > > > > Hello Pavel Machek and Lee Jones > > The two patch are reviewed, could you take them to your tree ? I do not have access to these patches. Please [RESEND] them.
diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index f5c57a580078..8ebe602419b5 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -90,6 +90,8 @@ properties: - heartbeat # LED indicates disk activity - disk-activity + - disk-read + - disk-write # LED indicates IDE disk activity (deprecated), in new implementations # use "disk-activity" - ide-disk @@ -98,6 +100,8 @@ properties: # LED alters the brightness for the specified duration with one software # timer (requires "led-pattern" property) - pattern + - usb-gadget + - usb-host # LED is triggered by SD/MMC activity - pattern: "^mmc[0-9]+$" - pattern: "^cpu[0-9]*$"