From patchwork Mon Oct 29 09:42:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10658993 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 3C1AF13A9 for ; Mon, 29 Oct 2018 09:47:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A7DD296EF for ; Mon, 29 Oct 2018 09:47:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D4EA29870; Mon, 29 Oct 2018 09:47:54 +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 75B68296EF for ; Mon, 29 Oct 2018 09:47:53 +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=5eR83KzdEoNjVpXrnGMobFfxh+Q593cGW8wnA+S0yGM=; b=k7+zLjC/KpVQvWfZqStNk7XQWb 12/1bUDuLLRA1llCgELz4X2PL8N8G5AylZmGRh1bTUd/SQ1jIRYaUbo+HADelJTauPE7ZyQIYWdZF TL4uL75hA1lOiaX8RL//a8yxRQ8sRucLBNxW6vWV5ORhbq3EhWm8k8nT3kUj61uxqQwHTglZ5ADVf JG5OFT9VUKBkMSm4J2tqVs1nVjh0Mz/+p+fK38yPrlJGHp/0HT0P5Xm6bW6QskDYbj0TtY4W4CzR+ CKWNpZIpylxcNC4tgBp4x4SNMC3n4stQi5lR+t2Fug9ZxYsx+RAsAettRyFUZcDfnk2YJ0bOtKlRS ovZnw9lQ==; 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 1gH49C-0001XG-MJ; Mon, 29 Oct 2018 09:47:46 +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 1gH45c-0007Ba-0J for linux-arm-kernel@bombadil.infradead.org; Mon, 29 Oct 2018 09:44:04 +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=Vbqz/FFQSiZYMz4Ct6V+6er7vQMDEB5XowGv/dcExWY=; b=HgOXDA+28blB4oSTe8NXTyW9l vVLbENr7CUkr46mL2BI0M0SgMUiD18288wN+BK4iqe+oSedzMs5tfWNuX9r9uCLJ8x8yKjytym0yY SAJiMyN7MxjjT9DGyrKWS/JzCeumg3EJr6b3VkSD2zLmP8qe7x7JzgOk7F9nF80+cj7aV9trHsKsy exxUqPrfpPD2r4yF871IBgkPNxjYjX7KBa/oxusGWO/DH40RjB71Po3FVT9JrAynSyy5eW0S/2hEZ Ir5tQAxEsWUZayXXA1Fx8UGMHCbqhruCFtd0ioTa6Edf6m76m7B8q0uuo4qKXkUFxYYa33HLk1e+v 4LnEWECcw==; Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH45Z-00042D-6y for linux-arm-kernel@lists.infradead.org; Mon, 29 Oct 2018 09:44:02 +0000 Received: by mail-pl1-x643.google.com with SMTP id bb7-v6so3514540plb.13 for ; Mon, 29 Oct 2018 02:43:50 -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=eLuO/mrFrZhhfoTh7+ecSofPtV9INZyKge0eYhB0pd+HlMYW0bFQAN/PIf/pJIqKN9 73CuoW05pQJZ4MfnyiA8r0ZAk0pyRiYpGFUV0jbJuYTi7L90N23UIpQknS7+0GrD6XK/ XtDCMn04D+SenZUROSTtA8xPnONcQWNh82CWQ= 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=Cdjp+4oqBX9xmgFwHe9yjjxJvk0JV3bzt9CTc9UtufD4OIghWn02hRu1Px20ADxUkH DS59hKgSSqbSh3TQW+unC4trKz5hH0AlkYxJscbc6rOtH0a1eFYWba24j9C4wOPVxRJI Fy0ypuR/04V5dJAGWtrTalqFaXvm0qH/OZrYvhQqsLIfKFk9GeO2Avn0Sd69tnZrz32R 7NIq7KIfk3EUCgXWbmFtjgVs6uSPjvls4VC2cpxnuIK0ZvoMXntP0vLZp9SuLDVN+ZbU PG9NlNUHwf/QpwANW/vFV2Z85EMXPBJ56uLMC6Rqrench17qYGgBO7ZDHNjOcjsufrp1 L1UQ== X-Gm-Message-State: AGRZ1gJGTqGbcBV6gAewkIMthKmGPCq5j9oWrunRtHTdDb34OEbv6aag 9eBH8huOGxX2pR/WtXQAlW+c X-Google-Smtp-Source: AJdET5dltGBViApNzdW4O3zaw77ibbuqkNGO053tu32LBaUFE/QrVgZH4jUkL03KBIHWlQUtprcYVA== X-Received: by 2002:a17:902:bb96:: with SMTP id m22-v6mr13451926pls.117.1540806228450; Mon, 29 Oct 2018 02:43:48 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6091:9d4b:9d82:66b9:3ee6:ffac]) by smtp.gmail.com with ESMTPSA id b62-v6sm21162056pfa.159.2018.10.29.02.43.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:47 -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 v3 5/7] arm64: dts: hisilicon: poplar: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 15:12:43 +0530 Message-Id: <20181029094245.7886-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> References: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181029_054401_281481_67589DB7 X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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"; }; };