From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 CBB92C5DF60 for ; Tue, 5 Nov 2019 22:04:21 +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 89C9721929 for ; Tue, 5 Nov 2019 22:04:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gMOu8luF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89C9721929 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZJwSO2pvqQHaSVQx1xAhthpm7c+IaWjlnfGivq8Uj6c=; b=gMOu8luF8VwXVy fjQjp/4FpVAzXdWcEXfilz6hhmlvi3IkWrFKDbZCIRWO/zaijjV223fSPHqBimSRMg57TPD39s6Eo UxyGNkogOymH8jRmr3ywtVavg1zs2C7REvU6uOVNuNHhq5sYZ48HYUphVRZoL4A/mji8jGaQ8dmyz 3VtsPCiOZ6rWOx80RfEleyzKYje7vI2/IrSnVOt4fmzbjDZ725elz78SA0jTQyrVgR7GMCTjyiPbL YsbHN+GYZ26G41rf1Cy53oZfIo5FV8QIH5+mB8xWrpMcgNSBdHSjCVywoLYhB1WfT/oWwpwqctoFz /5ADTbis8JKczMl1ufFw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iS6vt-0007i9-VR; Tue, 05 Nov 2019 22:04:13 +0000 Received: from mail-ot1-f68.google.com ([209.85.210.68]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iS6vr-0007hi-71 for linux-arm-kernel@lists.infradead.org; Tue, 05 Nov 2019 22:04:12 +0000 Received: by mail-ot1-f68.google.com with SMTP id e17so10520867otk.6 for ; Tue, 05 Nov 2019 14:04:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CZ2D2tQY2XYxt9UiuyFFNh/aMpMyVl8ybiw5lOJ9UsM=; b=gORFC9qeX83p3hy2/8XCdr2SczLMq27isVfNnw7EZmZwxF7MTJha8v86AGSZ3icpr0 JYj/KAc9yKnYxE3mDd++sDbc/DMG+QyVd+I2uhYzTFBvG9tYiHaFf7g0Q7HvWKpYWduD 7f7z3gY9hmD6qn6JvbvNK/5wuYNeApwbODMWJC+uMQAvBOeP5tlS9Vf/kuILJeUFDR7n I1QXzP8lIkUqL+fHBvFe9Ot6QnaAYLzPdlDeDr/DtxKi1nXaO6hbBtxGg6sw0MVf90qd IIud5peQmjfcko0vNB5bqehs1Z9CjFCZqyeOEc7sbXnZlnwj4WCBhYM5GsPldCxgEnhj lzHQ== X-Gm-Message-State: APjAAAWueUhXfAi04FgMq6BEjAze6IgMmpmFtlu592gJbac3lwHQ6kDw l+xFISBGgDsu/GPFxTat+0ks4Fo= X-Google-Smtp-Source: APXvYqxl9rK6tAOrYlktMp70iCJFHEU0MCT4jSTOGFY9S41OUYWigXQsydbUcc92xUHHvcx/LC/+vQ== X-Received: by 2002:a9d:634d:: with SMTP id y13mr24705915otk.202.1572991449843; Tue, 05 Nov 2019 14:04:09 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e93sm6812630otb.60.2019.11.05.14.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 14:04:09 -0800 (PST) Date: Tue, 5 Nov 2019 16:04:08 -0600 From: Rob Herring To: Manivannan Sadhasivam Subject: Re: [PATCH v2 1/4] dt-bindings: leds: Document commonly used LED triggers Message-ID: <20191105220408.GA555@bogus> References: <20191030090124.24900-1-manivannan.sadhasivam@linaro.org> <20191030090124.24900-2-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191030090124.24900-2-manivannan.sadhasivam@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191105_140411_256203_9C7DFB38 X-CRM114-Status: GOOD ( 15.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dan Murphy , devicetree@vger.kernel.org, Pavel Machek , shawnguo@kernel.org, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, darshak.patel@einfochips.com, Jacek Anaszewski , linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, prajose.john@einfochips.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 30, 2019 at 02:31:21PM +0530, Manivannan Sadhasivam wrote: > This commit documents the LED triggers used commonly in the SoCs. Not > all triggers are documented as some of them are very application specific. > Most of the triggers documented here are currently used in devicetrees > of many SoCs. I guess it's worth documenting these, but you plan to use 'function' instead, right? > > Cc: Jacek Anaszewski > Cc: Pavel Machek > Cc: Dan Murphy > Cc: linux-leds@vger.kernel.org > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/leds/common.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) Acked-by: Rob Herring > > diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt > index 9fa6f9795d50..2a6806161590 100644 > --- a/Documentation/devicetree/bindings/leds/common.txt > +++ b/Documentation/devicetree/bindings/leds/common.txt > @@ -55,6 +55,23 @@ Optional properties for child nodes: > "timer" - LED flashes at a fixed, configurable rate > "pattern" - LED alters the brightness for the specified duration with one > software timer (requires "led-pattern" property) > + "mmc[N]" - LED indicates [N]th MMC storage activity > + "flash" - LED indicates camera flash state > + "torch" - LED indicates camera torch state > + "audio-mute" - LED indicates audio mute state > + "audio-micmute" - LED indicates mic mute state > + "bluetooth-power" - LED indicates bluetooth power state > + "usb-gadget" - LED indicates USB gadget activity > + "usb-host" - LED indicates USB host activity > + "mtd" - LED indicates MTD memory activity > + "nand-disk" - LED indicates NAND memory activity (deprecated), > + in new implementations use "mtd" > + "disk-read" - LED indicates disk read activity > + "disk-write" - LED indicates disk write activity > + "none" - No trigger assigned to the LED. This is the default mode > + if trigger is absent > + "cpu" - LED indicates activity of all CPUs > + "cpu[N]" - LED indicates activity of [N]th CPU > > - led-pattern : Array of integers with default pattern for certain triggers. > Each trigger may parse this property differently: > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel