Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3127115imd; Mon, 29 Oct 2018 02:02:04 -0700 (PDT) X-Google-Smtp-Source: AJdET5esMoeXy8PoO6MwxWdN8wuRsjX33QBRzjbxEzt/ZqjolXwAJ8sqt2+F6gQDr/ug4Z7+NVQ6 X-Received: by 2002:a17:902:8ec2:: with SMTP id x2-v6mr13566487plo.157.1540803724245; Mon, 29 Oct 2018 02:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803724; cv=none; d=google.com; s=arc-20160816; b=uot8LRNI/FzukHfHAW7YXoZhEc6MEPdXTq7NrtkeMYB5yO5o4bp8Z3OwbpW/CRSxiS u0CoWSsisuhK32UWnUuH2sUQpeG9gw63NmGHZ4ya0KWiciSt7T3Fb/qpZCycAkS4g9d9 RFRfnFp+oDSHuZGpUK9rQpHFgiRCtx8kJbFK/QYdnnNZbKcSAOmV4fYtpXM4rbfDzzA3 esLsPMX/+0sEgu+MF7lJmrkNN4CSSKm2QjmdmFOi5cskxHAFZbUaXS4HhnUe2D0qzqzA j7khcPND6q/T9/WjqQNLhl2CKgk5U83QzSgtMfGYCXTetWVi11VHT4NdXhGQq+Rw4Ywy YUiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=j2cyl7pk/6O0Vid/aGybHYEdGtKHVLDUxG+HI9FVaoA=; b=xIpSENT1ZNOPU5Byw4bFMQCnxBKrOegabh0nGpzvzsCjLbFRDIiwXmxj4c1yuKeQmq 0Rb4NoVPqQ1PYRA+X1H9QiD3PejHa69pJw+WdPcHHZj4R4XUBZ6ql9ZFFuPIfcT1+Ten 9F8AEmPFE82e9+eOPuUcIHWW6SCGr8EoNjsF2aObHPe7nY9Jq7dfU0lSSQPE2iIVF3bn tnsjwhHOOAuu1m/eVMk1ECS5oW2/wv4P/JyZg7NdtbMlzCeRd3/od3FPFrG2gAXM5bPW h83s+hq7CYJlL/k6fPf6n/dfWiYu6xOEwbzVk1/4l3uP6j1C70D57FpfLIS6KiVXk13+ fuMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WXYEBIOS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si16640068pli.119.2018.10.29.02.01.49; Mon, 29 Oct 2018 02:02:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WXYEBIOS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729672AbeJ2Rss (ORCPT + 99 others); Mon, 29 Oct 2018 13:48:48 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46236 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729483AbeJ2Rss (ORCPT ); Mon, 29 Oct 2018 13:48:48 -0400 Received: by mail-pg1-f196.google.com with SMTP id m9-v6so850017pgl.13 for ; Mon, 29 Oct 2018 02:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j2cyl7pk/6O0Vid/aGybHYEdGtKHVLDUxG+HI9FVaoA=; b=WXYEBIOSHhZvGe/6kt/SgeSbslSJXkqbZ0fRzs5jy48Ai3Gc5kXSPFxH5AG+BZjr6C B8f0LxSrx+RoBc/wlrR8K3+o3ubakn5wC9RYOi0OH6DXdqpa4AqjNR/8PSzd70NoaSxV ckPCguDAiO4rZ6yBzcYnXf2ULxRM/JwZTjQYo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j2cyl7pk/6O0Vid/aGybHYEdGtKHVLDUxG+HI9FVaoA=; b=N2LQghxa8ZHzR6yoya4HxHBJkLv5hti5IrKMMkv0q4TXgBFW6+qmXFkicxuablrb9Z 1NuBavgvGRwLMjz8vCCI5kTEArWcHn+5pwePV7ES08V+CgWiufpu7DQ/yRu/WmplbGJC uts7CSffozfrHpDg1W1vjZwzBfInhxalOnqfwX8nV/pLyICX4BvuTOiAu0sxzhrO0Kdq rvhLcw5MkWdS3ElYipPU1WSJ26VmsL1oD3zV4iMXsa3tP4n/vagv/c/YlUQzJVleKCeA XXbAIJMpU2b14JNu7uDt2GIoGbZSoz/AGDH/cNTUG3MoF15n2CpGjj2zMq+90++SLrs3 CUZw== X-Gm-Message-State: AGRZ1gKiS0R0g02m406cJOvkV6OQhit3uw4IpI4qDI+2RzFmEXL4usnK 37LbMa9BSSmQDaxMO/utuErO X-Received: by 2002:a62:764e:: with SMTP id r75-v6mr14316497pfc.230.1540803664889; Mon, 29 Oct 2018 02:01:04 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6091:9d4b:9d82:66b9:3ee6:ffac]) by smtp.gmail.com with ESMTPSA id m11-v6sm28265245pfi.102.2018.10.29.02.00.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:01:04 -0700 (PDT) From: Manivannan Sadhasivam To: robh@kernel.org, heiko@sntech.de, ezequiel@collabora.com, xuwei5@hisilicon.com, michal.simek@xilinx.com, pavel@ucw.cz, andy.gross@linaro.org Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, koen.kooi@linaro.org, nicolas.dechesne@linaro.org, Manivannan Sadhasivam Subject: [PATCH v2 3/7] arm64: dts: hisilicon: hikey: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 14:30:02 +0530 Message-Id: <20181029090006.4353-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181029090006.4353-1-manivannan.sadhasivam@linaro.org> References: <20181029090006.4353-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 So lets adopt the same for HiKey, which is one of the 96Boards CE platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index f4964bee6a1a..d2bb5912dee7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -340,42 +340,43 @@ leds { compatible = "gpio-leds"; + user_led4 { - label = "user_led4"; + label = "green:user1"; gpios = <&gpio4 0 0>; /* <&gpio_user_led_1>; */ linux,default-trigger = "heartbeat"; }; user_led3 { - label = "user_led3"; + label = "green:user2"; gpios = <&gpio4 1 0>; /* <&gpio_user_led_2>; */ linux,default-trigger = "mmc0"; }; user_led2 { - label = "user_led2"; + label = "green:user3"; gpios = <&gpio4 2 0>; /* <&gpio_user_led_3>; */ linux,default-trigger = "mmc1"; }; user_led1 { - label = "user_led1"; + label = "green:user4"; gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */ panic-indicator; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; }; wlan_active_led { - label = "wifi_active"; + label = "yellow:wlan"; gpios = <&gpio3 5 0>; /* <&gpio_wlan_active_led>; */ linux,default-trigger = "phy0tx"; default-state = "off"; }; bt_active_led { - label = "bt_active"; + label = "blue:bt"; gpios = <&gpio4 7 0>; /* <&gpio_bt_active_led>; */ - linux,default-trigger = "hci0rx"; + linux,default-trigger = "hci0-power"; default-state = "off"; }; }; -- 2.17.1