From patchwork Mon Oct 29 08:59:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10658937 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 1D63114DE for ; Mon, 29 Oct 2018 09:20:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CBBC2870E for ; Mon, 29 Oct 2018 09:20:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F17F62985B; Mon, 29 Oct 2018 09:20:55 +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 8BBBF2870E for ; Mon, 29 Oct 2018 09:20:55 +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: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:In-Reply-To: References:List-Owner; bh=vZF4kAP4NzESui/w8IEjatyWfFh2fmAprUD3Q/FA59k=; b=mxS LPGSnEke/ZtXRnfP5cuIH1FiuCg9+T5BO1jysqxVBAVf8IX74b2v1Pt6e8X7KjXqYNZs45m4dNJas 5de1QoLNyYPOteTGDSBb822nPMGzipoR8F8C5dCrOta6SClhVg/+jKJ0VNtycpf6UMDb4q78MdVRk y0eRs1uOc/MU83jYpGmMWcwRTfqxG8mVASLXqrMKXJtbW5ei52BSOsvFF4mH+baMWKCiOgg2vDyAY C95eku2zNjsuTochNJDYKGM02tHDgSqJem2dZUx+efvr3Okj3aqLQGot7L4r0QbzP6mVGbf5OG58/ IsPW7tpMQdhyyYxhKxY1Nlf7nXO89+g==; 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 1gH3j6-0004gf-P3; Mon, 29 Oct 2018 09:20:48 +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 1gH3eJ-0000mh-9g for linux-rockchip@bombadil.infradead.org; Mon, 29 Oct 2018 09:15:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=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:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3KfcbfdF/QvoJpqeoo5guntmz+o84tpvj5CBPyEWW0k=; b=Y2HE1YXtBcShX9IV2YuSqxi6e XG0diNhcYLP2An5u/CG4bi+vI7EEYYzQk/sSI4uOfyH1zvqkmHJ4R1cw0KyCyRHk/HiDgJAFPDMF0 dTLhF0HoLdG9JZYnH8pHGVw3WlVdmZ3sD5kqgE7Ip9fpZyDubGUFyygd+1vPPlGnUnJOFdl0KTen1 n4opF+U0llgw8DAMmO4nb6rDH6KythD37dUjIEP5/p1yyOBjcytkiGw85BMUs1x9yQMx7eAZ9z9+2 7gPqn6eWDCpj70WCfd5ZKxdt2BRItUdQooZKMMi2frG9lozJH7LkCe9Ksa8FPLNbRaw3jiKNP5lE8 o+wgvmrOw==; Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH3Pk-00039A-13 for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:00:48 +0000 Received: by mail-pg1-x542.google.com with SMTP id r9-v6so3557554pgv.6 for ; Mon, 29 Oct 2018 02:00:35 -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; bh=3KfcbfdF/QvoJpqeoo5guntmz+o84tpvj5CBPyEWW0k=; b=LAJXxz7/ffOIpHN2cet0xm2pGdfaF2BDAh4wzb24uhzFIt97KgYBIVrXOQgNOSTbbT LCMG0iIvpXXk9XzAeHRbHwkP79LyBG7G1fYHVWtja2Sq1NjvJke14FPDfkAMVYTGqMaV TdHgual/WPzXIpyeh+AYeRlxAk7an3pzfde38= 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; bh=3KfcbfdF/QvoJpqeoo5guntmz+o84tpvj5CBPyEWW0k=; b=IomXiEbPxSMX+tdLRzT4iUH7x1bTjixmZs3ZluXvDwz9SRZuidC5ZHveyUnbn0OIoQ MPi8LGYcmr3dAd60U595wYePMjeUopxEG3bbVgO2bbUOtGRyWg1sCw43tBJ2I22ASGrt mKqfNG0AR3BAYxo0PU02xooTtuEj6J5Xjv6SPlp3CWI9jhnmzlSP8JiyENES3FY0HEnk ixQ/CHXLhMhLrUGH2CELJ+oSO3HZoOxSQTcK/41eB5bsJxTOyWIFgLBuaQyslpzRTy9G Nm/jW7XIRrQUV/f1/kL8HH1yeR9ELOCDV0FmNJ6G/L7iTij2bednINkEUtsV/VPkV22T 1nhw== X-Gm-Message-State: AGRZ1gK++YlZmsIlaLdx9GewwNUCSYSIYhGkmy5qAxWE3WjgVsjZgPM3 IIYPvEEFbPoQqzmr4cN9UNyp X-Google-Smtp-Source: AJdET5fUENVaSxjZfkdQPpt9cLDfJlnd2uIBhh5ZLvWTmoyF6r9g6oyWTVg4ThU+i6/qUpc72IP2mg== X-Received: by 2002:a62:4896:: with SMTP id q22-v6mr14361431pfi.248.1540803632875; Mon, 29 Oct 2018 02:00:32 -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.00.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:00:32 -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 0/7] Standardize onboard LED support for 96Boards Date: Mon, 29 Oct 2018 14:29:59 +0530 Message-Id: <20181029090006.4353-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181029_050048_088892_66E06E93 X-CRM114-Status: GOOD ( 10.12 ) 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 This patchset standardizes the onboard LEDs on 96Boards by maintaining common labels and triggers as below: 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 This standardization is required to provide a common behaviour of LEDs across all mainline supported 96Boards and also making it easier to control it using an userspace library like MRAA. For Rock960 and Ficus boards, the LED support is added in this patchset. Rest of the boards are converted to adopt the standard. Note: Since there is no UFS trigger available for now, user2 LED trigger is set to none on HiKey960. Thanks, Mani Changes in v2: * Removed device-name from LED labels as per the suggestion from Simon and Pavel * Adopted APQ8016 SBC (Dragonboard410c) * Tested the Ficus patch on Ficus V1.1 board * CCed LED mailing list Manivannan Sadhasivam (7): arm64: dts: rockchip: ficus: Add on-board LED support arm64: dts: rockchip: rock960: Add on-board LED support arm64: dts: hisilicon: hikey: Standardize LED labels and triggers arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers arm64: dts: hisilicon: poplar: Standardize LED labels and triggers arm64: dts: xilinx: ultra96: Standardize LED labels and triggers arm64: dts: qcom: apq8016-sbc: Standardize LED labels .../boot/dts/hisilicon/hi3660-hikey960.dts | 18 ++--- .../boot/dts/hisilicon/hi3798cv200-poplar.dts | 13 +-- .../arm64/boot/dts/hisilicon/hi6220-hikey.dts | 17 ++-- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 12 +-- arch/arm64/boot/dts/rockchip/rk3399-ficus.dts | 78 ++++++++++++++++++ .../boot/dts/rockchip/rk3399-rock960.dts | 79 +++++++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu100-revC.dts | 15 ++-- 7 files changed, 196 insertions(+), 36 deletions(-)