From patchwork Mon Oct 29 09:00:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10658915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73BD614DE for ; Mon, 29 Oct 2018 09:11:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68BC6298E8 for ; Mon, 29 Oct 2018 09:11:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6624F29821; Mon, 29 Oct 2018 09:11:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B2B1F29821 for ; Mon, 29 Oct 2018 09:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=s+mC7Hxx3ojjbLXgPZvQuqo7HwJpgMDehg33HZDZ8AU=; b=WnMw5iRN34bPiDhbyeFIGwbVe4 kMKZ1YG+lNUd2LnDR/FnYx5+t/Y3b08oIY6BAo7SbIngvjhk+QfPnEfiEwQhSuN/wkcB2X3/PD7NR M+FJgRr2f+wGt7VBwKTT4IK7ZyT6ZVW39UZC1/RuvTQqcxZ2ZDs1Ap1myvKjpg0I5eLtxWT5t6H7E 3QVkImtSEktZBD/mjnYBWJnxQ6xZtQ1CDb7kPrVQH4dPeoQIFx4uLKrT7Di3OTSkLk3mrZeern45K sPO8vl5IgXly6g7Rr0Heo1IivnPoaPa2UtV4Bq6KDEJNxAiFBmGbewzgZjLxE2IGZXo9e7/EUlJN3 qtyBsGSQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH3Zq-0006WD-H4; Mon, 29 Oct 2018 09:11:14 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH3Zp-0006Rn-59 for linux-rockchip@bombadil.infradead.org; Mon, 29 Oct 2018 09:11:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Vbqz/FFQSiZYMz4Ct6V+6er7vQMDEB5XowGv/dcExWY=; b=EnqgzNzcednZERa++8tynsRjz Pn6zEd/jqsR48hfA2cRz/DrOVhCBq88LHgiSJt/fQIWjG2a+2DLUgHJbvasDDTWDdVs/7zPa3d+2I McRsDhx4D5883DN7U/WBVuTbF1eJtL5ajLPdijQu4R9AGokmq01U+RgtFW6y0AL7hnAoZyxh0Soav O10rTz8LaDhQJvfgf0wCochfnBZfoa0syC1PCxw0NQM895EN5Bvh22rNfXRTBJVCuucZz7oreYZEm T1WVPhN4HATHTYa8Gfs+n12KEG6VHFee368Yn/ZvEsGgfXQ9PGGLQ0hADbR6Z3JBMFbc924DaAq4t nepVfV6UQ==; Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH3QY-0008GZ-20 for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:01:44 +0000 Received: by mail-pg1-x542.google.com with SMTP id c10-v6so3564466pgq.4 for ; Mon, 29 Oct 2018 02:01:27 -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=Vbqz/FFQSiZYMz4Ct6V+6er7vQMDEB5XowGv/dcExWY=; b=ebZDNOIlEKX7hx6BlBHcemhr+HLPaoSt2U0XQFC+CPJBEhjHMe7qiFAeOXuC7T4XVs bmPNma2YUkdycffAOC7nyECgJ5M2TlpIt/vauRBNOp9QcgN019BNj9UYrHPeYiGqsGqb ogA5vbqtg6LuiRXUgHDGDwOvc5/kmp7U04osE= 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=Vbqz/FFQSiZYMz4Ct6V+6er7vQMDEB5XowGv/dcExWY=; b=puGfktGYhZArEq6MzDn+lrwnleKNGLukP4sNMPR6NiIdJC3TKnLbYiZvhCHXVDk7Zd LCnki+0NWQNOqBs803mXX/PFevZpUkM+qL7RM5CJ39jnfBqInzAKkJH+UYF+M+UvpHyK yyCNtyI+BudqAMAxyBZtUl6VJvIqkDPl2M/+aVmtxpteCCEyZ8o3Kaqo6zuG2nu80qGl P2cVUxufXW35t0sWBIN3WlrsxWJKg2Isndm3+6UWkn+8thbcSmsDA/XiNe/Lz/uxY9Z9 q6/Gaw3Am6wmd80GHZCgBKDFZNg5amkeH3vLGfbi6KUIA7tZD8V5bQ1C64iORH5RPfIi pIuA== X-Gm-Message-State: AGRZ1gJ0V3yTaee1M6gmhRty09vAqQTJ3bJHF3hLBEv+vcT/T38LUUr1 fecGT0o++iYJ1kt6tTnHTd1q X-Google-Smtp-Source: AJdET5e3QeUReF9X4kWXeWZOBl9EJIP0WP+hIpU5igB4fbS1kv0fMu5WdNZLxaWv2jaqr0KAFGxOGg== X-Received: by 2002:aa7:8603:: with SMTP id p3-v6mr3225827pfn.247.1540803686248; Mon, 29 Oct 2018 02:01:26 -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.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:01:25 -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 Subject: [PATCH v2 5/7] arm64: dts: hisilicon: poplar: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 14:30:04 +0530 Message-Id: <20181029090006.4353-6-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181029_090138_093520_1798C196 X-CRM114-Status: GOOD ( 11.75 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, daniel.thompson@linaro.org, linux-arm-msm@vger.kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-rockchip@lists.infradead.org, koen.kooi@linaro.org, linux-leds@vger.kernel.org, Manivannan Sadhasivam , nicolas.dechesne@linaro.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Poplar, which is one of the 96Boards Enterprise edition platform. Due to absence of WLAN and BT support, corresponding LED nodes are not considered. Signed-off-by: Manivannan Sadhasivam --- .../arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts index d30f6eb8a5ee..32716c96b457 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts @@ -35,30 +35,31 @@ compatible = "gpio-leds"; user-led0 { - label = "USER-LED0"; + label = "green:user1"; gpios = <&gpio6 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; default-state = "off"; }; user-led1 { - label = "USER-LED1"; + label = "green:user2"; gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; linux,default-trigger = "mmc0"; default-state = "off"; }; user-led2 { - label = "USER-LED2"; + label = "green:user3"; gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; - linux,default-trigger = "none"; + linux,default-trigger = "mmc1"; default-state = "off"; }; user-led3 { - label = "USER-LED3"; + label = "green:user4"; gpios = <&gpio10 6 GPIO_ACTIVE_LOW>; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; + panic-indicator; default-state = "off"; }; };