From patchwork Mon Oct 29 09:42:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10658985 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 BE5D714DE for ; Mon, 29 Oct 2018 09:45:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0131296EF for ; Mon, 29 Oct 2018 09:45:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A205D29865; Mon, 29 Oct 2018 09:45:50 +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 18FDD296EF for ; Mon, 29 Oct 2018 09:45:50 +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=l43hQC7ABafmnbXu4Dl5D15qR+FKjGnA49TZvtQNkEc=; b=ABcRHGG9dqe0jrDRtrssxqttci Vz0OlEkAz5bGIkkn9I2Kch+gKm6+jUSkweBVj4/A71vkJo21OvqFViy2p0u5wOhw4jTEziYnHoUyB GTw8UbhmHDdBlOu0TwWFNw6F2wsu78J4RDE7wc7No90YoV+teruq+YUQOXWfu+XVlI7OmhB5xiHKq AZ07STGLI1aPGxyoSagQ3mlkt2O5suCwawoHUnpg3s8nnpXTnwGZy3cbMCGJQSbgGWJXPSDZYjwEn nInFgQhHVxMPcpaKFOeEYz4s2ZOH6f6Efeu2g6HUQhK3ua6bQgWdPKrNJmzC/UC30lRyv9rfkRT+D tbZKKGXA==; 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 1gH47C-0000bR-7t; Mon, 29 Oct 2018 09:45:42 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH44u-0006n5-Cp for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:43:40 +0000 Received: by mail-pg1-x544.google.com with SMTP id z2-v6so3629269pgp.0 for ; Mon, 29 Oct 2018 02:43: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=wUFCaMP2U/9XAPvBBvehrJOX1gaBUfBxuvntsZn9/3s=; b=C+RgILs3dUJi3yraFCTU5KozzhnQqfd6aNaaH6g/niqa6DtxemChy0W8NGhvefe0hc eXZhBhncQ68vRSxmRQKktJb0TZtI/J6x6Rq6MfoPajHK5VBQBSxK/spann2Yv2cBvsDI RRb8GoLdALuemVCAody9oaWDnCsVGkEliQCd4= 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=wUFCaMP2U/9XAPvBBvehrJOX1gaBUfBxuvntsZn9/3s=; b=RPTWH2uf2EGYIi7CCgEuYexmq0IG5IU016RZw8AL9HxeW2T4swiFFlS/B9pZVySMXJ REIqicuaZ0c3XfPxwBEMOwNs1OovRXCHc7bipXgAi2v7HBMzQCXiryiFNbB0FwdhQXHh q8OKbrU7tz5UGHlEDbn5soo+rbgFILaFiyhyHLRtKJucI73d82t4YK23zD2RTB5+DKqG XYcE5EYgm+GmI7LF7srqFC5uZTDwropJL7pFzmdt1mSzfG5YeFq57OWMwbE5asRpUYTZ 3D0C0w7QJKzrrsdvz1ZkWDkyAix/1fzxVmCYXVpPFYRWvdBYydQpogo6s7HEZw8FOpVG +WIw== X-Gm-Message-State: AGRZ1gLxybSLVOyPDO2BWxx53x7Coc9UvWpsJ7JsOuKgTAKfHgylwtUs DqOnoJ+sCPK9pGoPMWWy7blB X-Google-Smtp-Source: AJdET5fS54SjrO378Z1st9Q6dtXGznAhI4v8BaKMT7ORh4ePfM1UD/S6TF7rxeSXlreeNQeHE5nKhA== X-Received: by 2002:a63:1c1b:: with SMTP id c27-v6mr13211072pgc.351.1540806189478; Mon, 29 Oct 2018 02:43:09 -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.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:09 -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 1/7] arm64: dts: rockchip: ficus: Add on-board LED support Date: Mon, 29 Oct 2018 15:12:39 +0530 Message-Id: <20181029094245.7886-2-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_024320_593019_C48D6BFB X-CRM114-Status: GOOD ( 11.79 ) 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 Add on-board LED support for Ficus board based on the following standard used by other 96Boards: red:user1 default-trigger: heartbeat red:user2 default-trigger: mmc0/disk-activity (onboard-storage) red:user3 default-trigger: mmc1 (SD-card) red:user4 default-trigger: none, panic-indicator red:wlan default-trigger: phy0tx red:bt default-trigger: hci0-power Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/rockchip/rk3399-ficus.dts | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts index cce266da28cd..027d428917b8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-ficus.dts @@ -23,6 +23,52 @@ clock-output-names = "clkin_gmac"; #clock-cells = <0>; }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&user_led1>, <&user_led2>, <&user_led3>, + <&user_led4>, <&wlan_led>, <&bt_led>; + + user_led1 { + label = "red:user1"; + gpios = <&gpio4 25 0>; + linux,default-trigger = "heartbeat"; + }; + + user_led2 { + label = "red:user2"; + gpios = <&gpio4 26 0>; + linux,default-trigger = "mmc0"; + }; + + user_led3 { + label = "red:user3"; + gpios = <&gpio4 30 0>; + linux,default-trigger = "mmc1"; + }; + + user_led4 { + label = "red:user4"; + gpios = <&gpio1 0 0>; + panic-indicator; + linux,default-trigger = "none"; + }; + + wlan_active_led { + label = "red:wlan"; + gpios = <&gpio1 1 0>; + linux,default-trigger = "phy0tx"; + default-state = "off"; + }; + + bt_active_led { + label = "red:bt"; + gpios = <&gpio1 4 0>; + linux,default-trigger = "hci0-power"; + default-state = "off"; + }; + }; }; &gmac { @@ -66,6 +112,38 @@ <4 27 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + leds { + user_led1: user_led1 { + rockchip,pins = + <4 25 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + user_led2: user_led2 { + rockchip,pins = + <4 26 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + user_led3: user_led3 { + rockchip,pins = + <4 30 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + user_led4: user_led4 { + rockchip,pins = + <1 0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + wlan_led: wlan_led { + rockchip,pins = + <1 1 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_led: bt_led { + rockchip,pins = + <1 4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &usbdrd_dwc3_0 { From patchwork Mon Oct 29 09:42:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10658991 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 0AC4D14DE for ; Mon, 29 Oct 2018 09:47:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFCA9296EF for ; Mon, 29 Oct 2018 09:47:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3C8B29870; Mon, 29 Oct 2018 09:47:49 +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 49387296EF for ; Mon, 29 Oct 2018 09:47:49 +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=OiE69jMtz6t2hVoNo6QV1oeMqHD8IzRPsPsrcow6ulI=; b=eXqODs65ncpSOj6hVDas6n/lcJ 2vcMzk579ErUFZl7LHNcz7g22pgR3ccLHdzymfRs98faFln6fay77W9H0mfHb9fiqaeMnr0F8VH0l ze2SlYgf5cyuSVs9GOGpM6ZyHuuvlTHliGKG31yJ7a/SrY656B5wDuwp4U5lmMKLH9FnG2Msfyux1 pHIb88WOh0AK4RTNriFa7GAoqVnVmydNhnnH+71nKYb2iuEcTNfEzB6qtkqRfDiYVQWEHAi+0j9dv 9rI/nzBlw5xp/amkK6xs1LeCX/bqjUGwDTj+G9LOz+XakGhK2IUcq9IOTQmVQ+WVu2pGQIbaL2/hQ lLa9mnsg==; 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 1gH497-0001WI-LX; Mon, 29 Oct 2018 09:47:41 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH454-0006sR-Mr for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:44:03 +0000 Received: by mail-pf1-x441.google.com with SMTP id j23-v6so3736031pfi.4 for ; Mon, 29 Oct 2018 02:43:20 -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=pCPQcI73UddaBWggkh570wXZTWiaCyv6lTgOSiLnbCM=; b=TjAIwcBs595dTO4lawKU3u/xjBCzwU4vXj8rbWfbQ0EXBtVEaWjDjHH4NUoYIeO2Qn xMAjv9np6GTwAZ7UBXV/AQi/EUrY56ku4NcQS+7JqKSbKLTWcKRBGd4bqPFL859LXBV/ sbM0+UuKCihmKH+ky7DeUQ6H1VHcIY1wm/j94= 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=pCPQcI73UddaBWggkh570wXZTWiaCyv6lTgOSiLnbCM=; b=BNWdJZOtCDgngU+XAC1Agjc2VdW67XtYrG7USgIib7Qsp/2xzzqRl+Qzz0v0lhRZCM NKrBkgauKfF11CKbdDzRf30X+NP7Qtqy5FiyK2ye0aCYbS8UWwUgFQ76CJE3cLx0FtUu p915L4sGa/+XPRd0hMWzDZ4txMYtevquj3H8bMYMOxFfd5iJRss3WcPZ4Swc9iTAnT1h CM3Dslw+GVDXZ8ehDqpCChv5pm1yD3NS+wguAp/8XbumMUKDx0Nz9I33z4aAOSkG4eHA xDURU88/R+TRdQRVUwSeZ9bYrWbOVeIJOhXljjURafhLmusLu0lM+27716FxzVw+9EKE Eafg== X-Gm-Message-State: AGRZ1gI9yI/qnZG+nvFte16OLKik0C1DPGgiSI/edYQa8FXFdxRBdtFW 5egdtLxiMERYO9X73I6BSuNI X-Google-Smtp-Source: AJdET5e3W23iETWSuprcDsJ0+1FqdzhhfEwF7SvTEk1pZxm/5TUz62C250d18Z+ZO66+IaR+SYns3Q== X-Received: by 2002:a63:4343:: with SMTP id q64-v6mr13582181pga.276.1540806199372; Mon, 29 Oct 2018 02:43:19 -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.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:18 -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 2/7] arm64: dts: rockchip: rock960: Add on-board LED support Date: Mon, 29 Oct 2018 15:12:40 +0530 Message-Id: <20181029094245.7886-3-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_024330_778931_826E631C X-CRM114-Status: GOOD ( 11.35 ) 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 Add on-board LED support for Rock960 board based on the following standard used by rest of the 96Boards: 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 Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/rockchip/rk3399-rock960.dts | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts index 3c3308daec98..12285c51cceb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts @@ -13,6 +13,53 @@ chosen { stdout-path = "serial2:1500000n8"; }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&user_led1>, <&user_led2>, <&user_led3>, + <&user_led4>, <&wlan_led>, <&bt_led>; + + user_led1 { + label = "green:user1"; + gpios = <&gpio4 RK_PC2 0>; + linux,default-trigger = "heartbeat"; + }; + + user_led2 { + label = "green:user2"; + gpios = <&gpio4 RK_PC6 0>; + linux,default-trigger = "mmc0"; + }; + + user_led3 { + label = "green:user3"; + gpios = <&gpio4 RK_PD0 0>; + linux,default-trigger = "mmc1"; + }; + + user_led4 { + label = "green:user4"; + gpios = <&gpio4 RK_PD4 0>; + panic-indicator; + linux,default-trigger = "none"; + }; + + wlan_active_led { + label = "yellow:wlan"; + gpios = <&gpio4 RK_PD5 0>; + linux,default-trigger = "phy0tx"; + default-state = "off"; + }; + + bt_active_led { + label = "blue:bt"; + gpios = <&gpio4 RK_PD6 0>; + linux,default-trigger = "hci0-power"; + default-state = "off"; + }; + }; + }; &pcie0 { @@ -20,6 +67,38 @@ }; &pinctrl { + leds { + user_led1: user_led1 { + rockchip,pins = + <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + user_led2: user_led2 { + rockchip,pins = + <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + user_led3: user_led3 { + rockchip,pins = + <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + user_led4: user_led4 { + rockchip,pins = + <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + wlan_led: wlan_led { + rockchip,pins = + <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_led: bt_led { + rockchip,pins = + <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + pcie { pcie_drv: pcie-drv { rockchip,pins = From patchwork Mon Oct 29 09:42:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10659043 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 3983B13A9 for ; Mon, 29 Oct 2018 09:58:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2362C28CDF for ; Mon, 29 Oct 2018 09:58:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16ECC295FA; Mon, 29 Oct 2018 09:58:13 +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 1C37728CDF for ; Mon, 29 Oct 2018 09:58:12 +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=8k7Vyh2ql8AHh3gqVpBsTpT6Hxjo1a+HRojIkvpqul4=; b=dE4fdhvp30P2cxB87o6HnmjO91 7GU7g1dAaDA81F0+fbhrkJMrIopZzzlondvrsmPdnnX0md1d/Hxit4/e0slrEFf+YI1GDduU0Rpot Hh83FWIFogQc01QbUA7HAf9ssvx/2DBlBtkGp+f3pwAIlOD9bWXg4Hzegp+DacN0Krye8qzkG2Yi9 VsnM8mP8i2B6IIDDz4NzhtyEjF7ZIob0rk1VPEqXdovO/fUHJmUFgFca3Yv3mE84gPYhs92xTYjjN qAhmLJ2/DEiwyf/6WAiIfyCdAfTi3Zp05MzBVAZf4wXEk5da1C+ed1pB9GBhRubhp2C9J1frVDTNb cnf4vG4A==; 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 1gH4JB-0007Z9-PX; Mon, 29 Oct 2018 09:58:05 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH454-0006wy-ML for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:44:00 +0000 Received: by mail-pf1-x441.google.com with SMTP id e22-v6so693957pfn.8 for ; Mon, 29 Oct 2018 02:43:29 -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=eF7R+wV5XvQwulmXcDJVVSDaYAoMfcK0EngVpIC/pTQ=; b=T1oqIA+WZ4VaD4gwcVt/EeAQUL4LV9w5Bh7g8yYjkzfIfCAFcLVAnsA19+mO3LBBP0 PpkpGcOSbeMuVukpajaZrAZ0Pyau3UPtBCe5qq54srP8RuB1aBuHiv4te2jgNa24fiLE 5WRKUPHFDvMM5lqLKbVjQMkuvf0f40dJKoX0o= 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=eF7R+wV5XvQwulmXcDJVVSDaYAoMfcK0EngVpIC/pTQ=; b=RnX4cvxsIA+d5OGqWVNeqDr7HIHomkcyAI2eCDTJ74J4IVz12lvZ2eyf7Xyeced1ST DWRzGFJDKKebUrdgyL4yHOBlkH1aFiIKK3AE3BO1COT1diVSlX/kH/fATdK4AOELGzUw Ntsp5FWi4lflkJEu0gMS/s+DHHXOuJ1RSJ6FDdfCRV2FQH0b8TOOmLXGgEZg6ZFwuKD6 3l6gX6TvI/Nq4wSXduORf48/SlAHo8gNBD28DiRv9Hz3YizzvYonXnZv4U2Dg9abhmwv 4xdbKg5QaBD1unqyYlnoO1/iZ+SKtZaV4VS+TwzEpcdYCX2LxG14+Wuj8TVR8vIPQ6Ux zzqA== X-Gm-Message-State: AGRZ1gK0c7uR4R23Z5JTgf33ULYVrpD0ukD4DQ0cieb+LAXD72Kwq4x6 jJ6tGkMI14HQXVT69EYppfGA X-Google-Smtp-Source: AJdET5dV2bclnlsREn8R0dTaX1qfHV+FwC1BvmKMU/oD6xKGnnAEFNm/zu0Dnw3DX0BceVZOoDepDg== X-Received: by 2002:a63:2e47:: with SMTP id u68-v6mr13188980pgu.294.1540806208288; Mon, 29 Oct 2018 02:43:28 -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.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:27 -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 3/7] arm64: dts: hisilicon: hikey: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 15:12:41 +0530 Message-Id: <20181029094245.7886-4-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_024330_750023_5C5CCCF0 X-CRM114-Status: GOOD ( 10.87 ) 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 HiKey, which is one of the 96Boards CE platform. Signed-off-by: Manivannan Sadhasivam --- .../arm64/boot/dts/hisilicon/hi6220-hikey.dts | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index f4964bee6a1a..610235028cc7 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"; + + user_led1 { + label = "green:user1"; gpios = <&gpio4 0 0>; /* <&gpio_user_led_1>; */ linux,default-trigger = "heartbeat"; }; - user_led3 { - label = "user_led3"; + user_led2 { + label = "green:user2"; gpios = <&gpio4 1 0>; /* <&gpio_user_led_2>; */ linux,default-trigger = "mmc0"; }; - user_led2 { - label = "user_led2"; + user_led3 { + label = "green:user3"; gpios = <&gpio4 2 0>; /* <&gpio_user_led_3>; */ linux,default-trigger = "mmc1"; }; - user_led1 { - label = "user_led1"; + user_led4 { + 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"; }; }; From patchwork Mon Oct 29 09:42:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10659049 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 1277714E2 for ; Mon, 29 Oct 2018 10:03:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A651B28877 for ; Mon, 29 Oct 2018 10:03:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9930128895; Mon, 29 Oct 2018 10:03:44 +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 510B028877 for ; Mon, 29 Oct 2018 10:03:44 +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=V5yvvzUymK/MW2ykvWpfyJv80yDHpKDWK0QoV0a4NVQ=; b=FCNJ3n/92r7pYqpaAyeYibS0zO uKwrkH/FPbFbMPKPQ6+Ox7tFyeZmAykEvvj/84XNzgTVsvMhp0+KjXrnAULYZfUhuVkmWVqMC+LDZ bW2Fu3W9DZmFf8KwLRqGtjvhlNiq5SowuhgzVBP1Ad6Re2QK1Zv1TcmyBDTqrf6OYoIcHlLZm1LVg 6xjV831ysplZw4lRAzmFrC+WFFoIxzNJ6JfYg+Bm7Wc50l+tIL4o18qwfADHfd9BFor7tv7+TkGqO JGxUTqc6y91EnPyUgtiYGTI6GKFcuXmxOXUHAnDzsNAUyWT/a+YJfWv5cQ6HKkUTu/u2QL5Rx5AQm tXK0ixmA==; 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 1gH4Oa-0001U8-3x; Mon, 29 Oct 2018 10:03:40 +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 1gH4OX-0001Ed-CF for linux-rockchip@bombadil.infradead.org; Mon, 29 Oct 2018 10:03:37 +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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=DMALdM86vduo/bBVIVY4W0WGo ndUiR69XbTRIqCneKwginLq0/Y6L1H85EXouq9jvpggGXeJ7+NKVJ5Gn88twfdvAzjYzmnIliIG0Y xsnXeiY2Vw1K/otrXo2wxia5uIIHyk6efjvS/pKgXTHt+5gueG4dlHcL1AKtxXedUXtjgMNZkYhDh g7cLx6qZX1VgD/OTsoHTIRuiVlcGkRDwufy9NLHyJ6oxdOgyaz7Qz6vytdHvBzkXFOtStcS5UCIdx sjPp/PamneNVnLJREGS0+wTfNHxaOKtWLYR4agd0mvnAT+zheYs0Xa8ODHiApIim8Q6U1Uibxfp5X KzAC704yA==; Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH45N-0001eG-Rq for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:43:51 +0000 Received: by mail-pf1-x443.google.com with SMTP id r64-v6so3710892pfb.13 for ; Mon, 29 Oct 2018 02:43:39 -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=OB1EooesqrBOElL1r+qtAJKzfKREBosKFIkMyzQv+2UMDOiOpARouqCWScAJu1QTGE Btl0EVNcWJdcBwWAegdJFiTIqnFnKI5HgK00hhBrDeffmE1G/tmtXTfkZihKYhGwiNNN eybhqnvb0vdCW/3v7xf4OyxOhrcr/IiOBRTT4= 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=nW0ggpIy3EUQjWQZ2E3YPHLjvn5HMirT0ASVrqTHemQyDqxesslyjJXgHj6Y6wbfi4 zqTFkVjYhIzKs5JNB1F1EMJIvGRlT0i4jcEWkSVvW2BJR6pfihIxC3c5v5jXpW5BZnil 7q84IVDW/TFs2WDmp+PKsM+ZFZpD5H+S6zK5MBaJXlTSTZfSxIBqJLpwZXMBeB2KJ2ME zdGETnpxfLQ/8r58sP7y/5PERv5T8p3eNfwJwYbmyvm2HntL0tLd3xOwqi0Ck7t4xqh7 1m6LAgq8EUJlboVk2fwi55Y/W21FMBz1ndA5VG0nmUp2zh6L1ln8H1WVlkekUH51uzvw oG8A== X-Gm-Message-State: AGRZ1gIsWxAplsC3GPb0Hm3yyYoEJIlI4aP9quEJ2v4F2lU4M1pWpkNP 7q5OmZfhprYRwQTwxac6YEPs X-Google-Smtp-Source: AJdET5fVQbYOZNP7Oh3TdpW9cuMBHiyYjfY1J8Iaufdo/ZniQG03o0UHHIFsxjB8NSeoIxeAvXpfNg== X-Received: by 2002:a63:1b1f:: with SMTP id b31mr12984602pgb.66.1540806218119; Mon, 29 Oct 2018 02:43:38 -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.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:37 -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 4/7] arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 15:12:42 +0530 Message-Id: <20181029094245.7886-5-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_094349_910555_15C7865A X-CRM114-Status: GOOD ( 12.10 ) 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 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(-) 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"; 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: 10659045 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 7969E14BD for ; Mon, 29 Oct 2018 09:58:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6785229296 for ; Mon, 29 Oct 2018 09:58:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5922B292CF; Mon, 29 Oct 2018 09:58:37 +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 0316229296 for ; Mon, 29 Oct 2018 09:58:37 +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=Jh9cZL36y6R7jmfbQQ1BxJldkY hBb75YpQQuKFPxfn0OkHcZ02Cy877Go/xqsgtsaUL0k1FZVK1BpgVKP6QN7EFNOmxN4sraldHv5ht JBv6cpToG7TR4wAyPYUmUww+E1TOkp8o2ysVs1GOwA44J+IpupjXh4tBd6tPThNLJOHL+XHUwzLmn KffcQLYhiBfuGoOGBrff5z0pUlYkUbzrxJbVGabRN8D7tEYszsGdn+Kh5xyqq6kls2kHTrCViehlY t9IClKDmhGlwSK59uhv4etHjEau8BeGX2HTkhc0+c4d9hvpq5PhZon+1hOtgj4O998sn4ZvQyHuoX gBGDaCOA==; 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 1gH4JX-0007hj-9l; Mon, 29 Oct 2018 09:58:27 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH45X-00076A-Gs for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:45:30 +0000 Received: by mail-pl1-x643.google.com with SMTP id b5-v6so2911386pla.6 for ; Mon, 29 Oct 2018 02:43:49 -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=LVBq1/7pwUkY3W+Z+SdWmxZNIjMSB+vSu5MpQk38oTPXpx0woV+pA3gqy8IuDK48F1 HPiInfwOKe0llbgaycd3xkF8Vi7HXbqzAgHif0KSAlpKnXiDYUwAIOd/8QroH5TdjEDb Rqy/+1H5Kq6XtIs1l/v6T94zz/wJTeVx0P4k/kh7k/ZVLXDxR+8CGuq7R8GnVywlgcdL 0rMV0YEIw/e+cycF6eD0hGEkpvAPUYJ+ERNIUnDDGPzgqYQZIHoqA4fb4ADGjngdc5hZ 8PGioIx2p+n1ykUTrDDia6NTzVP4NF1NwEDL1b7ZPH3ETIi53LNMXbxeXV18jGC1volG n6Fw== X-Gm-Message-State: AGRZ1gICPz21Dsc8e8RK9ytGtF0rffeZNFqIzr4XqIQj16lHRwPIQQ/A 8BuFGF7ckC55ZOiz2qj3AtAN 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_024359_600503_53644E7B X-CRM114-Status: GOOD ( 10.08 ) 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"; }; }; From patchwork Mon Oct 29 09:42:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10659033 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 3ADAC14DE for ; Mon, 29 Oct 2018 09:52:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B15529878 for ; Mon, 29 Oct 2018 09:52:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F0942988C; Mon, 29 Oct 2018 09:52:06 +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 ABE4A29878 for ; Mon, 29 Oct 2018 09:52:05 +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=/+3J5xMYhvlC87MEF0GiCmqJj84VgWHuM99xKxTCJwY=; b=eQNba0XoxgVQ50nY3YZbcCK6/z 8bdBVWczHQGfe9lrgMdiBK6UhXIxqVgurC6CDb/6HM2CKTMhn/060fPZUWbW2pp/zYt1ESdriks5z ih08WCXxnoqAMaWbM8YAzdwcaSjGUjsrSM/1vDgiDxLnJbYOpOyLQYNpC5T1K03Bulv21IFqgnVxz wq351yZh0ilXU5BHK/RXP63ivfl+4u4NgVjy6UcxqfhijDQTNMLKJ0GFJAAbgRc0TqrMIGR5Xh7SI vFdVQg+yOGjsMJY/mOCXpizNJW/Ug/1AKXxTofy8XMgt4fGziPdCEqs+RPvK5BYKzO/04W0bRfAL0 R+2tNW6A==; 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 1gH4DF-0004WW-Eu; Mon, 29 Oct 2018 09:51:57 +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 1gH45m-0007F3-Jt for linux-rockchip@bombadil.infradead.org; Mon, 29 Oct 2018 09:44:14 +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=NLzRC/KoanQ3Q5K4K9dSGjby1oMGO+7mKnxsVzSkG80=; b=sAtc3LfdJUZMjpfxvdhWzfX71 oATM7vkbuLaXzTP8L3WpOSpKgvqO2QI2IKf0c96cHUTQWxdFsxSKLyJ+YCQovZgwaSPjXJ4Bge5kg stnqCsLp4YqEq4+wp7kWB4GzWh0rHO2uPUQ2cm+RpDvWeZFFcRNr/pfn8imsWAqKlYclL8k11wkkI OSNj9WJ1BVVNyBKKy918LM0kN6Lce/TT0/67GQVPuUweeF8R7B4QQNoDoe9hFNrBSpxsTAzjBvG3v eez/AAUSxtNQATg+sHoTjH20I0lyC4bMoHTB4iE2/O0oJFimOTYok5K6S9FL1aanKw8075IRQcLLV SSSfIaf2Q==; Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH45k-00042Z-2a for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:44:12 +0000 Received: by mail-pf1-x441.google.com with SMTP id f78-v6so3737409pfe.1 for ; Mon, 29 Oct 2018 02:44:01 -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=NLzRC/KoanQ3Q5K4K9dSGjby1oMGO+7mKnxsVzSkG80=; b=UqpfGP0y4a0XVR5XmPWfmU2gcJBdOFyV/s6u1ofBMMYrnjTHVK4pBHDZo3FOVqiK/0 E8/VFEtos9QeFecDjI0WWI/VNe4Dngo2PZa/rDwJzDXOy/wECWzzl70mZiTaps1Oe1ks nwSE0dSujh4pAUV1LkO5bVT6uWmhX9Jej6AzE= 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=NLzRC/KoanQ3Q5K4K9dSGjby1oMGO+7mKnxsVzSkG80=; b=FJKLKcW4H2X4mLv8Re9k1HaUQ8McYZPfa979nhpj4vlXmkyd1hPlKcDw0Ul8zkSKhp hFGbZey1kdiEHkp6mDi0MM73KA8fvc50BSrXtYxAplk7dj5jUhgYZCY+5+A8Vws2a/kG eS0XBr7MhodPdLdtTrtd0InlRQyiZMuYkeFe5Zjq3uhp2gc+5491ujFVwr5BJz3pCK0k 7zDeKWBEc2/2R3GV4n5X39ma/SDLJ5wFi8X+EzlxpysaDc3nl9uzuY6Imr6LLabWFuAN bVYrhiakV40RpbPo9ecRoehPCB/6A8xBLnwVNYtQ5AWBZHYCzFj4VEyphC+SSB97ICI/ r7Iw== X-Gm-Message-State: AGRZ1gLPMqTq7ysBZ8G3S8yXd2kip4EGwIeBRkn8R/TEEHanHo2zUstd rrajkKeM3NzYiHgxtr4c8+G4 X-Google-Smtp-Source: AJdET5f9dQUx99LPWezamoSEHIQQSPgOUJWrajpyvuB9yqEtV7rpht2fw/LybeVhnX+x3OS1270qxQ== X-Received: by 2002:a63:c949:: with SMTP id y9-v6mr12958292pgg.331.1540806239504; Mon, 29 Oct 2018 02:43:59 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:59 -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 6/7] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 15:12:44 +0530 Message-Id: <20181029094245.7886-7-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_054412_152003_7DB34BB2 X-CRM114-Status: GOOD ( 11.16 ) 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 Ultra96, which is one of the 96Boards CE and AI platform. Since the WLAN and BT LEDs are hardwired onboard, consolidate only User LEDs. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index eb5e8bddb610..c08a8753215b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -57,29 +57,30 @@ leds { compatible = "gpio-leds"; ds2 { - label = "ds2"; + label = "green:user1"; gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; ds3 { - label = "ds3"; + label = "green:user2"; gpios = <&gpio 19 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tx"; /* WLAN tx */ + linux,default-trigger = "mmc0"; default-state = "off"; }; ds4 { - label = "ds4"; + label = "green:user3"; gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0rx"; /* WLAN rx */ + linux,default-trigger = "mmc1"; default-state = "off"; }; ds5 { - label = "ds5"; + label = "green:user4"; gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "bluetooth-power"; + linux,default-trigger = "none"; + panic-indicator; }; vbus_det { /* U5 USB5744 VBUS detection via MIO25 */ From patchwork Mon Oct 29 09:42:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10659047 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 B8AE814E2 for ; Mon, 29 Oct 2018 10:03:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B00C28834 for ; Mon, 29 Oct 2018 10:03:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F05B128880; Mon, 29 Oct 2018 10:03:39 +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 0DC7528834 for ; Mon, 29 Oct 2018 10:03:39 +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=PT36JoNI19srJTwrk10UodxkZDfF9eqcBCQ1HnGM5Mc=; b=VxXGAKDg+Ccaw0LycWg3in0VpV 8JVP+aNq7GF061A7Xh9IY9wAxDcn3fHXlYSrrglYAZPN6jEDJF8roW2n9UCUe3H1QLVPibkMFTD9H jyUF19ywm/ngtkSLywRd6x+T+s8bhvuhQYC6fqbY33PCjxonOlZzuRRcxYaYg33ux6yXT1s0YMU8D PDQ+NMe2T2Ni+w3pTwv5NH/iZCOJCQEoZUHnfHnmvV5JWm3Ahi3RiRHVEtUkJtrc5epPeU43/qWpx dc9MCb5DWJeyOTQhk7bkPnUJeube7E2/JNbfkU7LXHoTMIOm7nCt3YmEjM15dmeqV3ErlHk39ZKGo lX2viztA==; 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 1gH4OW-0001RJ-0e; Mon, 29 Oct 2018 10:03:36 +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 1gH4OU-0001Ed-5T for linux-rockchip@bombadil.infradead.org; Mon, 29 Oct 2018 10:03:34 +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=iuq32Mpk0vaszYzvXRhuQKiIl4nbHWKFjX6gYWdOdwU=; b=s8koX/BVnm+Gb3qiXnN3Qzic5 izcj9gkeflcYTBL5mNAzo97zkJUJVGvBq2A5UsHP6nVKkupPBjaQpvd4zEZwLYuE7ZaOboC36ANXo 8t1LErj9c0bBWVgfrLUn5XZ4oKLHPas30aiGtpdI9merxOvwjUIc0KRo1zcVq96i5K6pXC0tw5tXM dTvBh0GfYMKRHbyBh/8J92STfv8y7pRumzt17eZyNURUuuVodcaYPljr/gspZWFgOaSl0Y+qrf09j hVse7QxhiGZxzVqu7IDykVDUmaae2bxk2MSL/566rZQkqdVmXwPnQ0EHCsFEodduhruKrfbzBoKQe gb4+ELZPw==; Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH45u-0001gS-BQ for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:44:23 +0000 Received: by mail-pg1-x541.google.com with SMTP id r9-v6so3613109pgv.6 for ; Mon, 29 Oct 2018 02:44:12 -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=iuq32Mpk0vaszYzvXRhuQKiIl4nbHWKFjX6gYWdOdwU=; b=E/GmGliZXELDu7cEVJRJIqsKJbck9GtHx6wXKR+a7fgJ5zFzeK5Vjp7ZYEX1eBSmf/ /jAcysQLI9vxwNmOE4b3KBF8gOY9YvNEB0pVppDe0GQt4KCiRS0+G351HO8YH43ZPjyK Ncn2WifJJ41EKEguAIgM+htmHFgGKPpd51hSY= 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=iuq32Mpk0vaszYzvXRhuQKiIl4nbHWKFjX6gYWdOdwU=; b=mQFu3kQLIdQXxotxN8MtEml03VjZHfQFJdsSpu47/GitKx4xd1xwRQyg0bgCyaf4ro oecNrrBkB8H9yHOO0ZryFBMhyQAuKnIGoOmUvHqeKVLsWZ/7WAEH+CVNOMaa/HmWcL10 KLc7ezspXENYsAciNCg9I35KZMW4RDGJK9BDFdyBojv2zHMn1o1WOKRqk1V2GSv9HZfL yEGhABnineMBbt6/9q2UtPdsnvp/uM2f2Qhugvdy6dvO5LDur9hNfNOG/owo+dBXp1EG ykYBba9aH78UNA5QOSj7O/HKxg8Lx5aKL21FfYF7cTqmMQMRKsSUb/np82bNzOgQkXIi Sd6A== X-Gm-Message-State: AGRZ1gJkLRndNgKWDKGsls9NakEpgAlh5zXV7by4ex8g3s9wZrn/vAfS Wgn1OYYE+iyucSDGLQYMaUIZ X-Google-Smtp-Source: AJdET5dh26ozskmBKMA5GgwGQbYkZ/VwESeLq6Vc00fJ+16kUQiaRegGfWQFsMZ8bzagYFVZen2a4g== X-Received: by 2002:a63:2f86:: with SMTP id v128mr12722562pgv.407.1540806250535; Mon, 29 Oct 2018 02:44:10 -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.44.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:44:10 -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 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels Date: Mon, 29 Oct 2018 15:12:45 +0530 Message-Id: <20181029094245.7886-8-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_094422_399743_CD5F2F49 X-CRM114-Status: GOOD ( 11.86 ) 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 APQ8016 SBC (Dragonboard410c), which is one of the 96Boards CE platform. Signed-off-by: Manivannan Sadhasivam Acked-by: Amit Kucheria Reviewed-by: Nicolas Dechesne --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 46feedf7c989..35f95154316b 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -300,28 +300,28 @@ compatible = "gpio-leds"; led@1 { - label = "apq8016-sbc:green:user1"; + label = "green:user1"; gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "off"; }; led@2 { - label = "apq8016-sbc:green:user2"; + label = "green:user2"; gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc0"; default-state = "off"; }; led@3 { - label = "apq8016-sbc:green:user3"; + label = "green:user3"; gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc1"; default-state = "off"; }; led@4 { - label = "apq8016-sbc:green:user4"; + label = "green:user4"; gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; panic-indicator; @@ -329,14 +329,14 @@ }; led@5 { - label = "apq8016-sbc:yellow:wlan"; + label = "yellow:wlan"; gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>; linux,default-trigger = "phy0tx"; default-state = "off"; }; led@6 { - label = "apq8016-sbc:blue:bt"; + label = "blue:bt"; gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>; linux,default-trigger = "bluetooth-power"; default-state = "off";