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: 340969 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp5275103ejs; Wed, 9 Dec 2020 19:14:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxD8dnBajjEF4My3Md9DKDubcFtRbfDcyWmUmuxVPElD70/fmpUhvjfW5sK2qLmwODztoSC X-Received: by 2002:aa7:cccf:: with SMTP id y15mr4875684edt.112.1607570075005; Wed, 09 Dec 2020 19:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607570075; cv=none; d=google.com; s=arc-20160816; b=PDemcntkSzCHuc/qnYgbGkekVLU9JOCoz1aUMQY5ucUp9LhCqHSSHYrokCb7ZYywCu NG8OO+rix7gRNQH4iBqlpyXPfCio8KXHWBljdYeijyRQ3jFMCI6X8Y6TmPgeSIbJh+Bx mWNhAqAqwCiafmVsNu93GgwG4w4QKaEL/uAoQIJW7TsNKp8igYtYV09tUr1GyokLIUbG 1Ym2C5yxSjk834PBJIA0NwMsGc42m71e4J6H8m00Z/fFqAHA+6kER3rLaBsmGTA8BSdD iu3puo9F76tVbzxwzMv+8/WYFnGrDT9i5xvAxvMnzJSH/L7XH1Za751kzEb8L+JHzxuY k59w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=D2qaf9ifK/FSIIhn4QgRAVE/+ufecQFdv7A0M6U2Kkk=; b=fJ19aEAuuz0sTso//uU9+4fZwjJ0Dprey7YM8W+oH0UQ16VgkH0JXjuinsgVOwC697 yGpdz6ogi/PkA6BGRRPkMi9ZMzjcoLB6Koc2CjxyANyCBeJGLv1fjoUEgL+OOXB1lb5Q 4OpKmHFwkc8jglvnAz3IoR0aUfODiUReJfCxw6sAZKBANo7TRiISSGknGfUqAZu5Cvrv 6s7LGqdxA/Dq0p40DPErYoQBQff+P3IZhmEG96ueqI1cZqu1cOvbOQbk5QNyT1jBKiGp HNf4p2I+fL9j6VFT/5lJfVxU0rqsvXZpLPIKH8PJTfbg44xyPuIDYgzuRL4VINMdtGMx CptQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 u8si1682867eje.57.2020.12.09.19.14.34 for ; Wed, 09 Dec 2020 19:14:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728493AbgLJDOe (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: linux-leds@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(+) -- 1.8.3 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: |