From patchwork Tue Oct 9 14:05:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10632839 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 BA80A13AA for ; Tue, 9 Oct 2018 14:46:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F22D28DB8 for ; Tue, 9 Oct 2018 14:46:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92FB928EB1; Tue, 9 Oct 2018 14:46:46 +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=unavailable 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 24A0028DB8 for ; Tue, 9 Oct 2018 14:46:46 +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=o9KD+899x++/WBF7n9B/aplSuKrlxXq+zAzYayBicDw=; b=l2EMKsmFS5YiteCJP9P0TH3WGN Uv+SFYH6l1vN9fKEBF0UKI3Rw041QWx8dz2dHRrC2MAphcypXrAZjGukz++eRgCc/qv3rx9veHORS 3z+ENcT0qGPZHx8d7fGDYisj71Q3x/x1m81+y5k1YPp9N8NoHMlkbGyBUndgJt6hZmji+D5qesv7o 1y1MgoOhlnH2SnIEj7k9uy5RprmXkHex3zLCuam5LHe4diMx38cVFk295N8klxUqqV8t0SkQ5wUZF Qw9LD0ErVINlClG0KMXCx7NaXIJPj5TLvC/MHm3CM/8E+iBFYVNz4iyiT5yHe928hRybM+1m6fbRA vySl3tlw==; 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 1g9tHR-0005hC-P9; Tue, 09 Oct 2018 14:46:37 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9tGt-0005SQ-7K for linux-rockchip@bombadil.infradead.org; Tue, 09 Oct 2018 14:46:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=Mjns9AO833DdTLlO/vGxzhXmWWgQNDuIJY3ha9Rxc70=; b=DCZNV+Z1fuTRYVcF1cZ+cPJ5K vtCnD7Rv7fRW/CnBmHCTctp4mO7zs4dU9ErL/toS+KtSlRjTArQajwmn9zWm2Yte2z7IzOO3d0SGZ 5xyDWL+qNMV3zKK4xGjjd0unEbtEvPdR547Y+IzI9+JhlTnm8mmZBAIg6kTSxjzM1gxUJ/HIwg063 vKwsqbWOO1wyXbdptY7WHALrdccIH+66yV1vDRjBe3cwAP1bxoNkH+PsN75sk4cPNkNHmVbTaJRfV Wx3oCboyrJGXG2JEBFyg1thKSBJC6N1jyuz42o1uUpPMs+JajeOi7neeRRqucXzqZf5OCch/A/OJq cfP1Nx92w==; Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9seS-0005J3-GU for linux-rockchip@lists.infradead.org; Tue, 09 Oct 2018 14:06:22 +0000 Received: by mail-pf1-x444.google.com with SMTP id m77-v6so898533pfi.8 for ; Tue, 09 Oct 2018 07:06:10 -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=Mjns9AO833DdTLlO/vGxzhXmWWgQNDuIJY3ha9Rxc70=; b=R+UTf16zmaJc7ZMBbNHwtbXPuEUJ/r0zyjbirplJ0qwSRSkepl+UXCqxKWAF/JbBl1 gX3Ha2zMfEriX1CsQIOnFTX7g8lvRiDEbl+wcI4fl60156xF3nwMV6mg52DGJ77bvOQx /EWNvn4wzKm8echOtZNCPGKaxcacC5F74bYOw= 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=Mjns9AO833DdTLlO/vGxzhXmWWgQNDuIJY3ha9Rxc70=; b=egSskRUeNUPzhRXPYrwl8KHq6OObZ/v4MGLcLRQAv8UghMYmoJM2IDC64KrsEtF5wx JLH5hz31UobeiA6IhqA1LJ907QAgOhd3+iUxFtCz2JxXQuFbdzvb3efjVn+gdcgi7RHi c4pgagcpWQH2UmH5jbD6Z1gKHlXlLb6FX8U1AiF/6dXdlWwuPysnGhqgA2R2pJRGHzUm ltbpWQ7SNnMZbMPuVDOJ7WQ17Gfw/QrSb48IMd8U/WEkd1qmMQxqaANimOHDegv4ukHO fROal06CjFUmOmLCLWyp/PcXejPlKYKfLeRKikLs9xmcM5At9EpFltdWWdAUoxDm1iwf dvbw== X-Gm-Message-State: ABuFfojDZ2InoafkVhrdY6fiV8Ii+eILUw+cyzGvmMHb+4qPg/1JdnWf eRKV2Se4bmVN5jtggtlZOJTf X-Google-Smtp-Source: ACcGV633CsOIak7VEAeH4jTt7NE2mZQPI6Ve4IekmecaD0HiGsuS+YsQJgrMuEm2gIIyQRpESwaXCg== X-Received: by 2002:a63:bf46:: with SMTP id i6-v6mr17390656pgo.378.1539093968247; Tue, 09 Oct 2018 07:06:08 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id e64-v6sm28947722pfe.55.2018.10.09.07.06.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 07:06:07 -0700 (PDT) From: Manivannan Sadhasivam To: robh+dt@kernel.org, heiko@sntech.de, ezequiel@collabora.com, xuwei5@hisilicon.com, michal.simek@xilinx.com Subject: [PATCH 5/6] arm64: dts: hisilicon: poplar: Standardize LED labels and triggers Date: Tue, 9 Oct 2018 19:35:21 +0530 Message-Id: <20181009140522.6492-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181009140522.6492-1-manivannan.sadhasivam@linaro.org> References: <20181009140522.6492-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181009_100620_562722_555E2425 X-CRM114-Status: GOOD ( 11.51 ) 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, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-rockchip@lists.infradead.org, koen.kooi@linaro.org, Manivannan Sadhasivam , 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. device-name:green:user1 default-trigger: heartbeat device-name:green:user2 default-trigger: mmc0/disk-activity (onboard-storage) device-name:green:user3 default-trigger: mmc1 (SD-card) device-name:green:user4 default-trigger: none, panic-indicator device-name:yellow:wlan default-trigger: phy0tx device-name: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..f6f3e928a54e 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 = "hi3798cv200-poplar:green:user1"; gpios = <&gpio6 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; default-state = "off"; }; user-led1 { - label = "USER-LED1"; + label = "hi3798cv200-poplar:green:user2"; gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; linux,default-trigger = "mmc0"; default-state = "off"; }; user-led2 { - label = "USER-LED2"; + label = "hi3798cv200-poplar: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 = "hi3798cv200-poplar:green:user4"; gpios = <&gpio10 6 GPIO_ACTIVE_LOW>; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; + panic-indicator; default-state = "off"; }; };