From patchwork Tue Oct 9 14:05:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 148493 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4947402lji; Tue, 9 Oct 2018 07:05:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV62oQI5AAmSaohw4fPVHS/JKmqwr/W04/ZJtKc+SgnEzQZtxlZ31+tjWIEaLhsQ+lPViyvQn X-Received: by 2002:a63:d917:: with SMTP id r23-v6mr26231560pgg.0.1539093950249; Tue, 09 Oct 2018 07:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539093950; cv=none; d=google.com; s=arc-20160816; b=M6KAHnwZTNiOsSVodrApSnfZi89KwXwdz1TZhAdPELdwZkFtv8alv5LffeOP9ASiP+ wAvGqIft/nMw5j5VdrOa1MP+fxxoMDlaJvW6hlmYh/l6PQSxqbRbwnW/4X0c+EtUgV9W xuzo+xvTWjS+Gpy1wMpFs4uILvyq0IsYcUOG23yxmRZX4EF1TsLjLcAmLylO/Wtdmod9 Fo1CiwdriapWprGLc8ng/SpchSqvkTwd84iTBuiNnc9nKmZIVTehvUM8u6efHac20edb /Qqea/UEsGphULWU+Ck6dRCtogINLcJ5ECoif+23XkXA0K6ga1lfcwKfs6rMzNiz9YKG 7rgg== 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=lCKWAfy1hQ1ZDniKX3lW7odf293Q6JjmEA+5zPOdh04=; b=fGYFTeOuVZug9FnfCnhZnWnBSGscacFHHv1/4pYnS2e/8pwxsSypoB45pOkPRjHs2i mlyhxbYUZQOSdtp3lyeEvo+byf8ZpnoJt04Hczg9njT9Xa/HYvLJ2dbRYAAZTvakJhAO uT0A4VHY2Npdqhoh9mX7B8q/h6k7noHYYMvSiNPryvFSzmjZozjvlx1BwQ6RgaqPWA9n olUznNFJFWqbfM34W+QT9VQnvef2vvifNybgKkzHEnpn4Q9b8rshaWdG0zrLcHqRDei2 zmQhE6SpiIMeoQG7GjLM9fu0aZM/p7Tq+6GwipOKFnF9OBsYtEdAT0H3PTO2POqccpO2 jUPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZRT1fb/+"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 z191-v6si19574046pgd.451.2018.10.09.07.05.49; Tue, 09 Oct 2018 07:05:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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="ZRT1fb/+"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726795AbeJIVWz (ORCPT + 6 others); Tue, 9 Oct 2018 17:22:55 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:43184 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbeJIVWz (ORCPT ); Tue, 9 Oct 2018 17:22:55 -0400 Received: by mail-pf1-f194.google.com with SMTP id p24-v6so893595pff.10 for ; Tue, 09 Oct 2018 07:05:48 -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=lCKWAfy1hQ1ZDniKX3lW7odf293Q6JjmEA+5zPOdh04=; b=ZRT1fb/+AyasXSQ2cjs6XXslhqaUi6FAkjlB7Acd7Rtb6D4g5RMoy4ckWH0OKsIc/2 L9wKD4bSo/wMcKYeF9efcAjybaWJmYCmo6O8Ej885LtmmiEC9GZse2YyQ8/YG2gHll99 F5FddPdO7n5u7HQWG7M2UaHiAO2Qz4F93nid0= 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=lCKWAfy1hQ1ZDniKX3lW7odf293Q6JjmEA+5zPOdh04=; b=GueHdTwsQrNdftSlV8rR1o/q54TT9LcLabo7eLi4VObKQ2jjXCYAAIweZl0iGNtlSt 3bErgI67nmPquIIr9SJGUegdMNpZNg3FZ85GZO+WyG9LQWwk8Qa5LFTKa/N1bfKf6S6o Cf71P6ZHVEvKlzEfj1BrgVbnL3HwhJHd+hovRRdgwxFKMPFrIKf+7krNHdpkzvfA6m6O /kmFWbzUzvzsgR5UIowYmC8YqwdNeK37it8uWDyGOKlICY3oKjIY0zVKM20KWcwtQasE 3FgX0N/32BZT3Y89TvDIK81W410WHgbqENzu1d1P0VdGjtiANKzGYgdJ//a68Jem8nGq W+kg== X-Gm-Message-State: ABuFfoi8P73q1Fn3Wf+ewWOexNfcj7B9t3dAheSaTIlijzx8pHO+qovc xWTncOepheQ0h7pHEl0L7f71 X-Received: by 2002:a63:1066:: with SMTP id 38-v6mr22352161pgq.254.1539093948077; Tue, 09 Oct 2018 07:05:48 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id e64-v6sm28947722pfe.55.2018.10.09.07.05.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 07:05:47 -0700 (PDT) From: Manivannan Sadhasivam To: robh+dt@kernel.org, heiko@sntech.de, ezequiel@collabora.com, xuwei5@hisilicon.com, michal.simek@xilinx.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, koen.kooi@linaro.org, Manivannan Sadhasivam Subject: [PATCH 0/6] Standardize onboard LED support for 96Boards Date: Tue, 9 Oct 2018 19:35:16 +0530 Message-Id: <20181009140522.6492-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patchset standardizes the onboard LEDs on 96Boards by maintaining common labels and triggers as below: device-name:green:user1 default-trigger: heartbeat device-name:green:user2 default-trigger: mmc0/disk-activity (onboard-storage) device-name:green:user3 default-trigger: mmc1 (SD card) device-name:green:user4 default-trigger: none, panic-indicator device-name:yellow:wlan default-trigger: phy0tx device-name: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 Manivannan Sadhasivam (6): 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 .../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/rockchip/rk3399-ficus.dts | 78 ++++++++++++++++++ .../boot/dts/rockchip/rk3399-rock960.dts | 79 +++++++++++++++++++ .../boot/dts/xilinx/zynqmp-zcu100-revC.dts | 15 ++-- 6 files changed, 190 insertions(+), 30 deletions(-) -- 2.17.1