From patchwork Thu Sep 23 06:54:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 12512037 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55F9DC433EF for ; Thu, 23 Sep 2021 06:58:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2564961107 for ; Thu, 23 Sep 2021 06:58:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2564961107 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cY0vIqfnEyOSiicf+qyPRnwlU7hO8U0kELTE7iBC2oQ=; b=MBxC6pCWKIR8Ky trc1sID6kTcFH+3LIpgDToqirCE6tjB414zhmUaYieZooetxds81FEPOPO2SU8sD8YUi/PoUBf06/ c7pRWQ03IpdcBoHKUvTLW56bD4I+JCYPiXL+TpZ/n7U+eZo8PKimVm7n1tc3M4sC0ZxhhcFrutIWy pJjkVwuAApoDNqzEZ8+LmV15JU30TJuAoeV38x8xclPP3CnTnCr1Xf43UuAdPK3DrhTbC6ahOOa+3 So3CfF++0Oj8nGUCsQP9nMnDkO7lmZe6ONOid4AQaJaVLQG9NV3k8eNMEA640ZqVX6Z/pm9E42UDH cO4JLHRSfLyQBQnpzjeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTIeo-00AQHa-Ap; Thu, 23 Sep 2021 06:56:34 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTIe3-00AQ2A-6W for linux-arm-kernel@lists.infradead.org; Thu, 23 Sep 2021 06:55:48 +0000 Received: by mail-pf1-x431.google.com with SMTP id y8so4853633pfa.7 for ; Wed, 22 Sep 2021 23:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KMdCHA5e/4Tgus56dgPDaFFyXU7i8m/R/NCEHCrJVKw=; b=Cc0+nswv7bSuFIfFow9ov2u5aDDh9Fr+y2+Pq5+z7oyrlzCkKarIPH63VpSzvdtjnG R2eRHdo88PzkCqjnd4Y9mvc/bopVjjy3ejKzsleHMQ/GcVDwK9p2Z0CNBsHqPOgvN+hB B49JKJEpat0jdGxGKQNLDkeK9dX7Xr+3HqV2c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KMdCHA5e/4Tgus56dgPDaFFyXU7i8m/R/NCEHCrJVKw=; b=HXLpGfFDQYnKTEO7DfPE2MCaKVNcU3tf9jxJgJFjapsAsRrnnJKuM+xJxaWK0saD5M DdDGjR3ciDErxdQ3KLmAXEi7UrxWS0nRAZKhHbTzejvqlhPp/VU5liLxnuaNXJDU3ASL tP6v1i5/at5bXVV0m6eDM7kYj2t2WcSvJckbSE4DYJiL5gTjzVByyh3deWfJix+1CHzh Hm4mh6D71zdkgpDF135BU+6MWlahtWpmOE1X9RYkD5vqjqjWA03h4RgBTRdJcMil/acI SJ7OP9f/FVFls7a9PXGkQPPNDYBdMF8zaUzoGqW+S/dAa/TU1HtMOg7/NrlwLrRZQB07 eYng== X-Gm-Message-State: AOAM533rleosqB1OURwGHLdkQzanLpyZ6R2n9RrHu28p2L65BomN2dT8 e7KYNzplI9o7iL2zII1O47ECiw== X-Google-Smtp-Source: ABdhPJyPGmgR22y0B/bQvS6QxZMSDO1N5mNWbEVlZwKyFsGrSilrXYdEjMRVRGG0c4vFYU3hzuUX1g== X-Received: by 2002:a63:d806:: with SMTP id b6mr2777380pgh.395.1632380146517; Wed, 22 Sep 2021 23:55:46 -0700 (PDT) Received: from shiro.work ([2400:4162:2428:2f01:7285:c2ff:fe8e:66d7]) by smtp.googlemail.com with ESMTPSA id e12sm1581888pgv.82.2021.09.22.23.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Sep 2021 23:55:46 -0700 (PDT) From: Daniel Palmer To: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org Cc: linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, pavel@ucw.cz, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Palmer Subject: [PATCH v2 03/11] dt-bindings: leds: Document "activity" trigger Date: Thu, 23 Sep 2021 15:54:52 +0900 Message-Id: <20210923065500.2284347-4-daniel@0x0f.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210923065500.2284347-1-daniel@0x0f.com> References: <20210923065500.2284347-1-daniel@0x0f.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210922_235547_359193_AC4E90FF X-CRM114-Status: GOOD ( 10.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The "activity" trigger can be used as the default but it's currently undocumented so validating a devicetree that uses it causes a warning. Signed-off-by: Daniel Palmer --- Documentation/devicetree/bindings/leds/common.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index 697102707703..8160a5073728 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -80,6 +80,8 @@ properties: $ref: /schemas/types.yaml#/definitions/string enum: + # LED will flashing will represent current CPU usage + - activity # LED will act as a back-light, controlled by the framebuffer system - backlight # LED will turn on (but for leds-gpio see "default-state" property in