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: 10658891 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 7EC681734 for ; Mon, 29 Oct 2018 09:00:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74C2D29821 for ; Mon, 29 Oct 2018 09:00:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6918C2981D; Mon, 29 Oct 2018 09:00:35 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF220285C6 for ; Mon, 29 Oct 2018 09:00:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729455AbeJ2RsQ (ORCPT ); Mon, 29 Oct 2018 13:48:16 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42334 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729482AbeJ2RsQ (ORCPT ); Mon, 29 Oct 2018 13:48:16 -0400 Received: by mail-pg1-f194.google.com with SMTP id i4-v6so3551012pgq.9 for ; Mon, 29 Oct 2018 02:00:33 -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=mQ/jqbpCJ7fND3/G1machpomF3Za2ORqYufSc00AhuvoQ1A6ynDBKyWPo55f8pq7Ao 9RjlZjYV0fvfVppyfA7tMxp4d/2vxjQEwgj8HWjFT3lxmon32ZBLErqoip2Ez1g4K1rv qs32pG/E6nVqEVyC1a784/c6g+1yQIsQ+zWIKF+Mv+dtiOptPCceQqjm4kNLnYLXcbgA DFc6fx/tMdmSQUa2gD4f36ejqKgOna5qvvHJQlVKJh0+TY66x62CUjx4qBUN+gm1FOQC nR1vlMl/w3LEG3ytulacUP4dZ1f1rjnrZ0CmbNvsXNFom0iuIdgG+vitLj/kAXykmjjA u5zQ== X-Gm-Message-State: AGRZ1gKgHipbZR80VEE2wa8sE8RLU93i57kWgw1ssr6QJVUeiy6yymnk cs3zhYDvocFCNJviV+ZZMN7d 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 Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, koen.kooi@linaro.org, nicolas.dechesne@linaro.org, Manivannan Sadhasivam 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 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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(-)