From patchwork Mon Oct 29 09:42:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10658981 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 3553B14E2 for ; Mon, 29 Oct 2018 09:44:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22E83296EF for ; Mon, 29 Oct 2018 09:44:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1586829865; Mon, 29 Oct 2018 09:44:45 +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 7930C296EF for ; Mon, 29 Oct 2018 09:44: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: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=N689iv573wYVgl3apWjieExdev2CpM+rYzK9pl4w7Wo=; b=LgK L9iBRcFrQcbplhlkAwe/gDUXSEoAFm1ipkiFnlLZWXGD7T/s1SInH+77GMf1qnriKAzS9Li8M9dWR tz/s4dHth44+QhhlhvxEDTukrDjIAF7HPgtTHtpI5CF55wg5KkVwLeieu1u7hL2ohYj9nGXMcV9tF 6LsYgBy4DCQeO9OEXRBwKOj8+n1th6cYvEDe+MzMhNp93uFfV23UbfaG4BwGEb8SGTPbncCGqcssO yRme73xhTzRCu21hE5/L4Yzt12E0e0h6Z2NB3wQ+nw/6kGSiTS51ieknT6oaXHkIMnlCD76rezRKC wWCjCLcdGTeDNYo5LT1DIOc//leEt0Q==; 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 1gH467-0007Lc-EP; Mon, 29 Oct 2018 09:44:35 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH44l-0006j9-EO for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:43:22 +0000 Received: by mail-pf1-x444.google.com with SMTP id r64-v6so3710161pfb.13 for ; Mon, 29 Oct 2018 02:43: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; bh=OZP8Inh49iXIb0437lQ+4o3hyTQZdb+CFCCyilHmvkA=; b=TTOFD26RuZniRvsjRVyvUxVislQP+1vhMTpOV7SzVLeBI9s46CWaqAHxDEi/iM6Cj1 Wcsqxe2v8MzVEUxoJyQELfRR46immRCuxORz0eCDr1T+VU1OSvMhWLK5Wd0WpTszJ941 gyBBZKEL623GKcwviZUyxprVEoojFqQTDp4CI= 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=OZP8Inh49iXIb0437lQ+4o3hyTQZdb+CFCCyilHmvkA=; b=oUxLkghDPjoBIr63FdNIHl8h2SxTLplZgZKj0+zJ2zhTu78nndcRr8ugN7+ve/jLSi tkXsAx27xDytnKQGoNJkJ/yezBqJwCVFsc+z7Sp+Qaf2jkj+iQAPCPqCu4MQjbRZmhq2 7jEjNX1ri25sQyTeLahsydCTgGuCckm4xAAMpYRiNJFwNCzqMMz17FHXZpy2tDgys7ol 0yhxQFgnVTBJtt+pEP/wVax1vYaDLznwMNHt3k9sBGAhShrnQ/IRkUzqoDcuYyWpV0iV ADAHO4lKW1NkaltIF1ocMZuuOveOG+2ndAIJCONWmLg7e4eBEQZMbFLmGF3YPE4B64jI SvTA== X-Gm-Message-State: AGRZ1gJ4O8fUg4xSWBwJUOPWp6OB/GLwsd2JukZ55J6kyfs55aZ+Xi5+ nMesLdKkQL4P7gNZR7ucOEws X-Google-Smtp-Source: AJdET5eoL7cH6BScLxi+SsHWX+Do0uTl/cX+hhur9XePoMU1nEeYwZq28usjxmhr+CFCKjhKR0912Q== X-Received: by 2002:a63:5308:: with SMTP id h8-v6mr12856165pgb.358.1540806180500; Mon, 29 Oct 2018 02:43:00 -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.42.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:42: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 0/7] Standardize onboard LED support for 96Boards Date: Mon, 29 Oct 2018 15:12:38 +0530 Message-Id: <20181029094245.7886-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_024311_533983_E27FC729 X-CRM114-Status: GOOD ( 10.02 ) 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 v3: * Added missing Signed-off-by tag for APQ8016 patch * Added Acked-by from Amit * Fixed user LED node names for HiKey board 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 | 25 +++--- 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, 200 insertions(+), 40 deletions(-) Reviewed-by: Linus Walleij