From patchwork Tue Apr 18 16:43:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 84958 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2989320vqo; Tue, 18 Apr 2023 09:45:07 -0700 (PDT) X-Google-Smtp-Source: AKy350ZeqmHFUNns6s4ElgqpxPfB87EHX/TW3e+WpVz+dO5/vpcDgS4eJ/Fct215l0m1j59zO1FN X-Received: by 2002:a17:902:b7c4:b0:1a6:d763:3736 with SMTP id v4-20020a170902b7c400b001a6d7633736mr2169803plz.58.1681836306926; Tue, 18 Apr 2023 09:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681836306; cv=none; d=google.com; s=arc-20160816; b=TeWfdQmZmbZDP5p8d68NpfDhHTJH8XLl84JkIOZN/lGAndAAemA4hbP28OB85zslZY N1vsP82lcRxK0yNK3nVrFJtADYJ6XB58VUuvMzTq7oETP+KTns9ZfUxgpfbDKT8jbvAS yrdjleS23swwdpIpGyz64fZATgwLiCSYdaKQsFzSPPb8uYJcd4k9VGjc4OKP1bJMeWPn d/1zMj5YiGFSwGdRmHoAIoxmhtM7AdnHqfGiyqyq+nk62ddRLRTHZV1WYTtOyAPFXUEr L5EyiKosOshFppEVR7g50A2mZGbjPMyEoiNDWjQ3IUsz9oyn8R0rDhRL3yWOtCvv2bXH TXxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=ZyE3fi1DCH2FziW10FNjPnhBgYLZK8uaSEAwz7i2TI8=; b=xkVShrGmAzkoAXjnHuZAug7XKnInSQO21oYMJlRpRIOj6SDei0CqBh41WkupgIzBdM 2GwxWvvvKK6BaajiKpaXr/AnjGgDYnftbtN+Hpgu9OxUTDfoaSyaIRSvhGnQ0h+psnWj H4wd8GBRjm/SxzodI3ur1LkXgMug60uqf7vIfK/6yFdmNmEeSO0TXYKn5JYWNnYE9qGD 76scu5PGeXEOZM25LjdGyt30DdfO9zuijb5dDvK18f7ZTKhZSZ1eS16Y2OvnjH4WtQTZ No5f37AqePieUPrXkdd1HJvEGiSDwHIWalSL8ijiGQ+WQOdXSZ/CQ3eiVKgWl/pUTWcj QZEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=ItGVjgWc; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a170902d51200b001a60e787d36si1086742plg.266.2023.04.18.09.44.51; Tue, 18 Apr 2023 09:45:06 -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=@z3ntu.xyz header.s=z3ntu header.b=ItGVjgWc; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232597AbjDRQny (ORCPT + 99 others); Tue, 18 Apr 2023 12:43:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232568AbjDRQnt (ORCPT ); Tue, 18 Apr 2023 12:43:49 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C414740EE; Tue, 18 Apr 2023 09:43:46 -0700 (PDT) Received: from [192.168.178.23] (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id F202ECB3CB; Tue, 18 Apr 2023 16:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1681836225; bh=vIuKvsLduKbdJuLqS3gE6yL7XCUiBq1e88KkTbfWTJA=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=ItGVjgWcNdo/Uswib8zZNt18Zfz4kbVzUdCqBxQ5VGD5vchb9bo68cvDKGviLBb3u H2BX/Z6zBC524zyumfeDRa9e7Roqht+9iRXI8zfkmXi9FCBI0QYf4E83Usn0G6hO/d zu5FkfnhmbS+6mjGkAG92V1oCjiqJWI/4CjASH/s= From: Luca Weiss Date: Tue, 18 Apr 2023 18:43:24 +0200 Subject: [PATCH v2 8/8] Documentation: leds: Add "rgb:status" path MIME-Version: 1.0 Message-Id: <20230414-pmi632-v2-8-98bafa909c36@z3ntu.xyz> References: <20230414-pmi632-v2-0-98bafa909c36@z3ntu.xyz> In-Reply-To: <20230414-pmi632-v2-0-98bafa909c36@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Pavel Machek , Lee Jones , Jonathan Cameron , Lars-Peter Clausen , Stephen Boyd , Jonathan Corbet Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-iio@vger.kernel.org, linux-doc@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=728; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=vIuKvsLduKbdJuLqS3gE6yL7XCUiBq1e88KkTbfWTJA=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBkPsi9m5afxit5T1vzibsBn+zy17heWoOlFzh0L dsKpRleV7eJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZD7IvQAKCRBy2EO4nU3X Vr2qD/9mYq9OTIzbUKwzqEA/BbJJX5bd0Oe7VKDxIfeNJ40qCYV//lXBjQIJamulELHCBuS0HtO jHDFmjksMA3gg1I+A7QmpTLn9TQY5AdnR5Oo+1XRd5O6135LfzAe/AGUaNdTOnzFK/opBAjyXH8 EY3tBL3M9Rb1nHaa/i4AGL0Md1iEaUs58Z5euTzf1Rp4XNy/VcOtoNRkSKOvDz+JGKn4RSVT/rh 2PkgVswxeQVsp5jLe/hha1BdKdsuzn13RwkRt8i8IjIFCVdtNODlo2dVc+KqafCIWBBf1QsW0dP gPtDlMVAdUX9KFUy8HbIkFxqwMHspc+fRtbg5G1Oxlo1cx/qCjiraYXLw2E8NSznd41ICyglBYa S8rRRLIQyys/1IgsF8o8qNtB/5BcZV4TVCNo5DjMkXSuDNZ/QfyDIcI5W8Lh5HMSn3wrBDPsfAE 1dz3tS8V5pgXgXiq0t0x7ZFMAqZUKXWLqZt/uGAnORnSDRzhzciiCm6QYqLq+AbKy7bxVhagyBu /Mt4FH78hED1WjSTe2tbCQRSeQ5fUqJB2pWhbC6uenH6PaI6XMMib/ev5cLVaR+cZPskqYBQRc8 e5wpPamgx7kwA3bP+NJ6Uw82+dC00rCSXhMB0nGzCSeNgc4FNKE3Us4DFdMdQjErFr6C8zj9+WD tn5NejdQLbgjE1w== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763533187267556220?= X-GMAIL-MSGID: =?utf-8?q?1763533187267556220?= The path /sys/class/leds/rgb:status is already widely used with the qcom-lpg driver and others. Document it. Signed-off-by: Luca Weiss --- Documentation/leds/well-known-leds.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/leds/well-known-leds.txt b/Documentation/leds/well-known-leds.txt index 2160382c86be..439d4dac4472 100644 --- a/Documentation/leds/well-known-leds.txt +++ b/Documentation/leds/well-known-leds.txt @@ -58,6 +58,7 @@ LEDs on notebook body, indicating that sound input / output is muted. * System notification +Good: "rgb:status" Legacy: "status-led:{red,green,blue}" (Motorola Droid 4) Legacy: "lp5523:{r,g,b}" (Nokia N900)