From patchwork Mon Oct 29 09:00:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 149636 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3869348ljp; Mon, 29 Oct 2018 02:01:17 -0700 (PDT) X-Google-Smtp-Source: AJdET5f3uiy57Y+1ts1cn9hpbp9wKkuhSZSp4GU1xafBTKWe7lsh/owFKxZvICv+8R024P7r0vOA X-Received: by 2002:a63:14e:: with SMTP id 75mr13176239pgb.340.1540803677461; Mon, 29 Oct 2018 02:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803677; cv=none; d=google.com; s=arc-20160816; b=CEBpOmCfXZixCrsA7Euqzc1H7Ies3gbJ8OI3DwncRfCb0UW+noZGgtdb4tHHRNcVKk H8EJ94kHt1slYu4vn9f5z4eCoZ0+MBLyC5/EmnlStJdQIq3+LsfQfpM8OgulXvYXaces Hi7LcNH9AIrXU0liAan0YjAskC5140Fg4xH7XjTsfWpaPadlo0BTzaIhnwYiI2463alp rMm3ixG2/kEpDdXbI711uCrMKFWbpH+Mo17spSXG37HdaeTmyFNvKQH3dq+Zc3KBUKu/ 1FXl/ouvgFVRja/baxsIw+M3IYA3T8g1FxWGb5TZZ/TFqcpoewdr7512ap3pmGLdYcKQ YQwA== 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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=yKdlXJcITs3S7rqat5hfWeQsPV7hvBlPOq1/BuB8Q1jS2qpc7mvHZT/Jb/5GH5/k6D 2igL4qDv5L1RY2trVLoODzbqAU8+KxLm16rGWt7F8d5/Dbg7X5W2ymaHE//sQTRwwss8 qJsVLayjYYSqX1VTZ+x6PeDL1pFlBBQEHkcP3zm0GSAnz0emtHgiFp+is4C1UruTgyl9 Yf+mXJaXI7rBHlz87K0L2yaGH4ogLg+te8P0tyTCzOD3kTKg96h4AnbV8yiNVknmx1UW /x9gvsyIyb2HheHedjOXZ5Ja6IRNQkrMUkhXllF1RhbpMtga67kmkJ5vFvbe3kS+x48k N6SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ELZ5WO0S; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 l26-v6si20029897pgb.251.2018.10.29.02.01.17; Mon, 29 Oct 2018 02:01:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-leds-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=ELZ5WO0S; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 S1729487AbeJ2Rs7 (ORCPT + 1 other); Mon, 29 Oct 2018 13:48:59 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:44959 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729694AbeJ2Rs7 (ORCPT ); Mon, 29 Oct 2018 13:48:59 -0400 Received: by mail-pf1-f195.google.com with SMTP id j13-v6so164820pff.11 for ; Mon, 29 Oct 2018 02:01:15 -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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=ELZ5WO0S/23V0UdRmgKRvDxZVuNu6bYA5IenqCxz5yktJa7MW60rvS+wcD1cZ+MkIS Xkl3eWIzSiIb1K93HoSZorED2aIJUgUBg2IcoCM3glPbjDopmMz5WrutlClBCFMoK85u OjbR/cap8ylCkd+J/bUjSRLirqaumdi+9CBic= 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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=OIeLvDVDK8x5xOfceMWITyaylZG0EscIBibZORzvLNZAuTXCWDbxcN/eOI1xudGj9o ROGJQ2DIokORGgWyiM3M+A8Eva8tdoAe29M0hGiLPykGkpqkIb2bgECycmevKGHlqhSg 82SBEskQlInr7nQ+lDO3/60JuEx3xuQ1r4A2rM3rgXcwx1DXJL+B/yCgGGcu7ptL/6EL ot9HK2lt87Mp+2Hcdi2FLwFb1EX/9Xt7PRmNA/6NIQuiVhG4HQKrot4Hb+E7f0b/NOwM ReMncGEUanK2SFrZlYzniRQgGOObI/YBNIO8eiSUovqibEMW0mLf+CXc9ICCkhVSnVMG M2Og== X-Gm-Message-State: AGRZ1gLCPmJ8rQwKQZY35nK3w6x4so9jsNATLE8rEkAG4VGOE5vi9RVC 0mk7q+isXgqYW0eUPggoHJAo X-Received: by 2002:a63:e40e:: with SMTP id a14-v6mr13070918pgi.28.1540803675488; Mon, 29 Oct 2018 02:01:15 -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.01.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:01:15 -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 4/7] arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 14:30:03 +0530 Message-Id: <20181029090006.4353-5-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-leds-owner@vger.kernel.org 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 So lets adopt the same for HiKey960 which is one of the 96Boards CE platform. Since there is no trigger available for onboard-storage UFS now, user2 trigger is set to none. Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/hisilicon/hi3660-hikey960.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index c98bcbc8dfba..46435466f1ab 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -85,36 +85,36 @@ compatible = "gpio-leds"; user_led1 { - label = "user_led1"; + label = "green:user1"; /* gpio_150_user_led1 */ gpios = <&gpio18 6 0>; linux,default-trigger = "heartbeat"; }; user_led2 { - label = "user_led2"; + label = "green:user2"; /* gpio_151_user_led2 */ gpios = <&gpio18 7 0>; - linux,default-trigger = "mmc0"; + linux,default-trigger = "none"; }; user_led3 { - label = "user_led3"; + label = "green:user3"; /* gpio_189_user_led3 */ gpios = <&gpio23 5 0>; - default-state = "off"; + linux,default-trigger = "mmc0"; }; user_led4 { - label = "user_led4"; + label = "green:user4"; /* gpio_190_user_led4 */ gpios = <&gpio23 6 0>; panic-indicator; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; }; wlan_active_led { - label = "wifi_active"; + label = "yellow:wlan"; /* gpio_205_wifi_active */ gpios = <&gpio25 5 0>; linux,default-trigger = "phy0tx"; @@ -122,7 +122,7 @@ }; bt_active_led { - label = "bt_active"; + label = "blue:bt"; gpios = <&gpio25 7 0>; /* gpio_207_user_led1 */ linux,default-trigger = "hci0-power";