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: 10658955 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 2A6C914E2 for ; Mon, 29 Oct 2018 09:43:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 183A92988E for ; Mon, 29 Oct 2018 09:43:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 091CA29893; Mon, 29 Oct 2018 09:43:03 +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 98C172988E for ; Mon, 29 Oct 2018 09:43:02 +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=kBTcxUYgcNTvJ7XfEerCWbJVWJMux91I5kfr+FEXfys=; b=lUV 2mUmyA971+sNZlARNS1EpI7JuzvSPZIOYN+uPWH2teNu8BH2H95+5gTHxC1iJv/WFAjv/1UpXt1gG 98t+f1K/bzMkfG4K964XAA4Te2awvXf/9KODbM2g4sDVXRJJSkA/1EX9OX8jtAXroMSycguVZTdQK SloO0LKd7HhBtRIzCDCBEhwjZrge3pGnbtFd4oGmqjRH4lpbXJiCrWplX0Kzns4u2OVuira12jVux +bMSyWbwg9R3zkZjGyKfJ3NhTSNt+8z5Tky92S0p4MuWGUmgJtTCPcKpETzR/XbN2/HrnrEVl7ybU NgLXLczHe1LuG6RWzHqGlENk2Mh/csw==; 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 1gH44Y-0006hz-IX; Mon, 29 Oct 2018 09:42:58 +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 1gH3a0-0006Rl-Hn for linux-arm-kernel@bombadil.infradead.org; Mon, 29 Oct 2018 09:11:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=CksVZlJzr+ZIpRRprC9kvqV2z XSZWMyXrbJ9QVJSlTWRBPgTZ3pimGiIHy3i1nqk6CGBEUb/Kdp/LIFlyRY+u+c6dFasBP990o/Nuj MAPcteysGLvF1lZrFds2O+HYvmDqHKCAiXlZA7+VC7cEnxEtG4UE41qVRaKVVyqtekFQdT+G3L+s8 fY7ACUXrWk8D7vR65Sd8qb7NJVZdFm2XOF9hR22l7aVd6rb3wB/ucwCFi0tmzvoOH265INFuauQMn W8MNpA5qupm2DFILSsyERzjXU7tTCPKyWr4AJW2WJ9VSKvmCVBv4fFwkwwrB+agmWvtbFRKspXj54 PliFQzGug==; Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH3Ph-0008BK-GV for linux-arm-kernel@lists.infradead.org; Mon, 29 Oct 2018 09:00:48 +0000 Received: by mail-pf1-x442.google.com with SMTP id f26-v6so3664235pfn.9 for ; Mon, 29 Oct 2018 02:00:34 -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=mtD1CzP1wljCigCJdgHKf1PB8Y5Q5Ex4D/hyHSxx6datTuAU7jLOzCFgFsTqHfc0Vl UhUgrGpO3zuAH/y7QL4yLeHMxxKpQBPVjHdWBSIAJzkyuUid3K6qLln3Qt/sjn9jksVk AxBV68lUegablET4L5nJdLAJxtV9FQMq904z4e/FNDKJyhF128fkbv2fjRb5tSaY5zUQ 6Q3xfgf/7cX5zNubuxqDwmNKTnUOeNizLDaB9vfKj60YACZKv7FWVhDEMO/Nxa6m+f4m CoezR+9n5gxZa+GegV9eshQ3bUhwF6SbkRcbaTApfEeq51yCp7n+BuM08t8cEkZQGfLz LmdA== X-Gm-Message-State: AGRZ1gIyQi09V6SLngVcDB0LBssfhvXYUTwwrOKDSS0OAJ6PncQCzNDx ZMvltamhD3mAQMQeJv06zsEl 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_090045_542905_ED778578 X-CRM114-Status: GOOD ( 12.06 ) 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 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(-)