Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3127681imd; Mon, 29 Oct 2018 02:02:36 -0700 (PDT) X-Google-Smtp-Source: AJdET5d/UgewPBLpelefDftkXrsGsRTF2nngFvLRKX/I/u4f3d1nT6DlI/xKiDSXdH5qHY96LbIQ X-Received: by 2002:a63:65c7:: with SMTP id z190mr12980597pgb.249.1540803756751; Mon, 29 Oct 2018 02:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803756; cv=none; d=google.com; s=arc-20160816; b=WkL5lxy5Jxc7BsrmeSBXqV5UeVcEU7/E5z2O9ima7A3IxQIE1dAH+VZJn1bIoCkWKh Vq5EKQJ2vrhDz6VKUQoSPFS3Ui/aixziISZ477LcnwvVOZ/XQKeNl79L5dgt9NcAviGu ZpUemdCXOUO1wmlYx0UzSTMeNllt+LRIqQTAsA5dCUa1Smq5j0IQViyjc0aViNhuvn9Y UqTHul0OHRUCTdwDFZsMc3W+sMDQWXKMzWN/ssONIvJgGOk2/X6n5rdx8Z+tBuufHw0i QupCXGEet5IyWGYnBIwtUI+a7xY3p/eLSWdrk+Vkz80w6zNtYo/HOvTSgDPY62fjKJPg yLOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=3KfcbfdF/QvoJpqeoo5guntmz+o84tpvj5CBPyEWW0k=; b=AFrDUhuEKBqWQ/UXlZR1fTu/lNinWVSyymoYQgILBK+gGdODqmB79E42ee74eupMtz I0sLM0RuwiPUBCaxaTyW+ahzZwV4sJXa0LUSwSg8ghzXxS/v+Pt9GsCiNtEp+R3OQFma TzqinwJnQdNyeAWRQF3Tgg6Cr3BtzejMSjVYVGqbqkAfc18R6aGWGVeRwq1NzFHAk7af oca2bcgxDFPnVyBkh9PlqwZaa7BAkzs0GgjchDJJdj76+lHRqfVRraUbjJ7G3YBi7dWx DSjhfjQZZ5jkQDD7KdCnXccLPaMDdU64jqmVePPvg9Vf+UczXzE59foElfzVp/bDMF8J B5sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LAJXxz7/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e21-v6si20775329pgl.305.2018.10.29.02.02.21; Mon, 29 Oct 2018 02:02:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LAJXxz7/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729560AbeJ2RsQ (ORCPT + 99 others); Mon, 29 Oct 2018 13:48:16 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:44894 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729487AbeJ2RsQ (ORCPT ); Mon, 29 Oct 2018 13:48:16 -0400 Received: by mail-pf1-f193.google.com with SMTP id j13-v6so163764pff.11 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=lMoiWiIoiSJBJl63dz67lBwIVQ3yYBbOLijq/bqGFJPwwGjVbhD4puAZxxqLsGTCtT kBnk5n+J2F5AUjsqouysinhJn7hT6gvNxxSQiBLVT/ZcRqwdZtLZ0nMzvvXNEIxIymW3 6d1KXHn28gDY9D1lkv0Bv24htJ1ulbexb5NLVZxnR2KXUQoX3/Wc1gYHkP2OBPW0Gq/D 1EcOw85lrh3K3/diAta35TU3aK9tyIwde5J2PyB05MtMICu1Do7leieQ54Rcz41UTuBW EWHqi1MlKawCNGr0K6KUFPl4snkGjv070CcvavE5TOgGO6UjWJQSvp7OVXbshGW5O+G9 v8UA== X-Gm-Message-State: AGRZ1gLeE8wbflzxFxx2vmkw+RXrZ998QiNv8ZLjq5LIEeK8Lqr8JBKG hpiged5IT7xKsloLnXck2v4B 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.1