Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4374919pxb; Mon, 27 Sep 2021 15:56:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/HAX7mWqeADyGIFCPS4OX5DBM1gom0EBRRp8p4UuD1YoH2nHFgMaH9KkQqwpt8I5s9vlz X-Received: by 2002:a50:bb09:: with SMTP id y9mr3394995ede.89.1632783361461; Mon, 27 Sep 2021 15:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632783361; cv=none; d=google.com; s=arc-20160816; b=NOAPv/shHu1RJNgU7rHGh552VI79BP7pvI8TqnYkgh5H6tPPOCjQrtZRd2wUC2er0E IQqd/YM+hILlS8u0wgH/CtOP/t9FaXCQ2dypecYPdV26ueB6I5I+GEHWh8Cqs6uMxGnv 6IFFqy1Xz7pIa9m0SuFA3LranlgRg6cbkiu9szHIPrqOftls6kPn/axEu/uzq0rL7mFQ eTg5abNZNtRtc45OdHGR0gh7U5lmnuwmVkePnuMzjizCeyRaS/tj/7yoJZ1bBwMp+TAQ q2ZvFaubcbKsffdS0RfqCzU3/eQoNx7GU2G48BZCou9jf5h2RGjO5yInOtZoYfZTZsD4 y9zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=l3Govj1Ggv6fnK3dXfFXh4R4w4mAAKZUo/5Lt6qGfhI=; b=ovjrCal0KwcX8EJ2sWsOoXpbmkanGd8j6ibop6aERlsebTUtWXFHBUN+tJg5bAiPO5 Sk3avEJBFg5zLCqyONJI1f9o0jwtp2OKMOJIQbaM3GEM3C1EC9x9GAMGNOJKecKptVQJ DFLylh02VV1CFcynB/6k8EOZ6S9oOvbN+BQtHQ6n1XgGbhQb432/UmabAUgBhxYqJgax 7Q6/EeI20nWMVf1mjhxu2Y1z2Qjpzdk40vK0lemTX5TE2ipUgy54PQyyyk6m7xAtn+81 t6Q0NXiE7AX3LlfOm8BYo7IUDy27mSWwtKvFDXCMRbmzyF2KNFDuHGxNbf5Fqrl26Kyv oZBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=Iq5vAXCv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si19999832ejl.180.2021.09.27.15.55.28; Mon, 27 Sep 2021 15:56:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=Iq5vAXCv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238014AbhI0WvS (ORCPT + 99 others); Mon, 27 Sep 2021 18:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238009AbhI0WvR (ORCPT ); Mon, 27 Sep 2021 18:51:17 -0400 Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2705C061604 for ; Mon, 27 Sep 2021 15:49:38 -0700 (PDT) Received: by mail-ua1-x934.google.com with SMTP id 64so3777953uab.12 for ; Mon, 27 Sep 2021 15:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l3Govj1Ggv6fnK3dXfFXh4R4w4mAAKZUo/5Lt6qGfhI=; b=Iq5vAXCv2EMz7F+Lo3dTfVrteNUNq7v81PHVhbhOsX5XpUjjgXfRLR72Oozo+4Rd28 avv9yUHE6tuOtdTZvzc9WXaYi+m9yRhkz0esk2t4hBvj2j9/iNMEYnDKiLQv27KlzGnU KNtCEtConX/KW5Z8fpL4XbTssq9e8C35PemeE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l3Govj1Ggv6fnK3dXfFXh4R4w4mAAKZUo/5Lt6qGfhI=; b=sLTszKKUmXR109+XI58wwgSen46mxl9d1F3g695mybgGRSSW/J3wBgOFsdxe7A4DhW 5jZZuoEMf3ZWvqlDXbsgRHhiPJNwyCMQ3vXgWeXM0N7nJN4b3jfts9J+v1hNiCODVMac qL4wpwSaWcHx01cH3wIZTP/lG++1aV0iADoq3SnSPmOWicffMo+RasEZeGQHOpCrprlf nvRQl4VV8lAkhZ7Flw3uXCehpH543UwT+rtXtGMxLEjmZAn3HKNJbnLCYKRjJ2Uchd5L Zbq4/EZAfGTNi6zFBF1Xk5DpppiXHErlu/sgygmRdNjz3i8YO5XJ+T0sAlJAxQKI1bRb fwzw== X-Gm-Message-State: AOAM5313ggmEP4ALs4hEWdwuDBKN6YmXbSx0DeCx/+djpa2VVvlUX3qJ rdPfYvVpLx6ib2gFfHBIZBQa5Kaq98XV6Pxuv5RFjA== X-Received: by 2002:ab0:8c1:: with SMTP id o1mr2454160uaf.113.1632782977502; Mon, 27 Sep 2021 15:49:37 -0700 (PDT) MIME-Version: 1.0 References: <20210923065500.2284347-1-daniel@0x0f.com> <20210923065500.2284347-4-daniel@0x0f.com> In-Reply-To: From: Daniel Palmer Date: Tue, 28 Sep 2021 07:51:40 +0900 Message-ID: Subject: Re: [PATCH v2 03/11] dt-bindings: leds: Document "activity" trigger To: Rob Herring Cc: DTML , "open list:GPIO SUBSYSTEM" , linux-leds@vger.kernel.org, Linus Walleij , Bartosz Golaszewski , pavel@ucw.cz, linux-arm-kernel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Tue, 28 Sept 2021 at 04:52, Rob Herring wrote: > > On Thu, Sep 23, 2021 at 03:54:52PM +0900, Daniel Palmer wrote: > > The "activity" trigger can be used as the default but it's currently > > undocumented so validating a devicetree that uses it causes a warning. > > It is preferred to use 'function' and LED_FUNCTION_CPU. Is there some > reason that can't be used? LED_FUNCTION_CPU seems to be tied to drivers/leds/trigger/ledtrig-cpu.c which I think serves the same purpose but does it a slightly different way. Would adding LED_FUNCTION_ACTIVITY work? Thanks, Daniel