From patchwork Thu Dec 10 03:12:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 342261 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=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT 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 73947C4167B for ; Thu, 10 Dec 2020 03:15:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A22D2332A for ; Thu, 10 Dec 2020 03:15:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728146AbgLJDOe (ORCPT ); Wed, 9 Dec 2020 22:14:34 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:8974 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgLJDOe (ORCPT ); Wed, 9 Dec 2020 22:14:34 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4CrzWg1lz1zhq4w; Thu, 10 Dec 2020 11:13:19 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.9) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Thu, 10 Dec 2020 11:13:34 +0800 From: Zhen Lei To: Pavel Machek , Dan Murphy , Rob Herring , linux-leds , devicetree , linux-kernel CC: Zhen Lei , Darshak Patel , Manivannan Sadhasivam , Shawn Guo , "Dong Aisheng" , Guodong Xu , Wei Xu , Linus Walleij , "Lad Prabhakar" , Marian-Cristian Rotariu , Geert Uytterhoeven , Heiko Stuebner Subject: [PATCH 1/1] dt-bindings: leds: add onboard LED triggers of 96Boards Date: Thu, 10 Dec 2020 11:12:03 +0800 Message-ID: <20201210031203.1901-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan default-trigger: phy0tx blue:bt default-trigger: hci0-power Link to 96Boards CE Specification: https://linaro.co/ce-specification Signed-off-by: Zhen Lei Cc: Darshak Patel Cc: Manivannan Sadhasivam Cc: Shawn Guo Cc: Dong Aisheng Cc: Guodong Xu Cc: Wei Xu Cc: Linus Walleij Cc: Lad Prabhakar Cc: Marian-Cristian Rotariu Cc: Geert Uytterhoeven Cc: Heiko Stuebner --- Documentation/devicetree/bindings/leds/common.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index f1211e7045f12f3..525752d6c5c84fd 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -97,6 +97,16 @@ properties: # LED alters the brightness for the specified duration with one software # timer (requires "led-pattern" property) - pattern + #For all 96Boards, Green, disk-activity(onboard-storage) + - mmc0 + #For all 96Boards, Green, SD-card + - mmc1 + #For all 96Boards, Green, panic-indicator + - none + #For all 96Boards, Yellow, WiFi activity LED + - phy0tx + #For all 96Boards, Blue, Bluetooth activity LED + - hci0-power led-pattern: description: |