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: 10632845 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 4172B933 for ; Tue, 9 Oct 2018 14:47:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24E6C28D0C for ; Tue, 9 Oct 2018 14:47:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 152D128DB8; Tue, 9 Oct 2018 14:47:41 +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=ham 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 83E2728D0C for ; Tue, 9 Oct 2018 14:47:40 +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=2Ha67awyivn9SPO+Kzu8/YxTKCi41yvGcmpOKamNsL4=; b=Js+ yVV6IdjWfalz/KUHL4GHX753Z43M8L7CZpFM5GCLgnwPIA62DSom4ilTagDaGQwykeo1DdaDamPWE 98tk4fmddbQTkYg86/RSDnGqD7hivEoUxs8GwrdMNU0C///BXW4K/FI8y/OPYylLUYt0gmM9Y3loH MqxQNLcJB51CQD2V4ZrD5DxdoNJLUN5lA8IJaob/5/la75wBOW1cMlWNnvRildj1lz8IBMcRjfc2L ZWWVEaKkNamn39KrSJmbXL1k0nTiTyL/jHqSoT1bmcXLkNzthZOavUBlL5e/TZe93j56luw2ZhzYh icJpqFQeNi5pbzP0rqI/KNLpEN7og8Q==; 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 1g9tIK-000668-10; Tue, 09 Oct 2018 14:47:32 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9tH0-0005SQ-Nx for linux-rockchip@bombadil.infradead.org; Tue, 09 Oct 2018 14:46:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=lCKWAfy1hQ1ZDniKX3lW7odf293Q6JjmEA+5zPOdh04=; b=ByaAcQ3qt3gFaFbNY764B0dXv 2Tqj1K4rDEB2XiItLl2VvabxfKH5AsV6DvZkJk+dhLxTBBQGWPkvbHB6EPdZOXCr9ThjSlSLayIiF InPdjf6yHA4Zy0DPal4MrmA904hbXiTzQfLDGF73Fxci7CR4KfaMRQIoN+DJHugumHuL5ylYWgNN3 2ymdQP7y1atHw4v8ORiRER6FtqabWHPkx1ZoVnqWzRHh5HSm/KUkYunFWvvyZ3JeV7loh32UPPObx CWAEv5IDjbITlTLW/l+nJ/ayy/8HYFtolHBNPE6ZgnbzyyyQcyO56xXOkDFSHH8ioiA3OpNLp+Jxg O7vife9VA==; Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9seB-0005HS-DS for linux-rockchip@lists.infradead.org; Tue, 09 Oct 2018 14:06:05 +0000 Received: by mail-pf1-x443.google.com with SMTP id m77-v6so898106pfi.8 for ; Tue, 09 Oct 2018 07:05:50 -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=FRfV/sc+Rc61MLz4xsScvd0YEhbPizdWwrxTeGgdYpkl8OxTKZTLZOl0c4qcSuXed/ CAz95dqgtJ4tL5R3XWIDntxiKs/C4H/rWMX0Or1Yhfu8LRRULh7+7ewg8XVJIiKdV4+P tz3/xRgZJZA6e9A434Ts/q6KK2VA5YB1icdvVaeQk4dRiljPI0qW8sVKDgdc5KY+jZSY bJi8T1uW15MIwQsnuh5broriglZ1QdxMJRL/Dij3OWc64/oDL3ZpHxITscRbrUQbM4jR 6vJwPepIwKjhaK1hYUI1+w5q7E2gidMhfnHMUqrWDdUJqvLp2cO4wdnKWg/co6niKmgs SExQ== X-Gm-Message-State: ABuFfogORYOjHP55z7X6MKtfwmktB5Dda/Cwxqdg7FFpy+rM7gwzmshH VZdXLFBcSoPBJyf0eRCRiS/J X-Google-Smtp-Source: ACcGV62NXwfa6dZTUGCBNJY+h0lLeoZYQwovqNK5BfOMBkIYv2snVWWYrdgMNTb5g5U+IIAiv3uRvQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181009_100603_492244_A1D4A545 X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. 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, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-rockchip@lists.infradead.org, koen.kooi@linaro.org, Manivannan Sadhasivam , 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: 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(-)