Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp6084725imd; Wed, 31 Oct 2018 06:39:56 -0700 (PDT) X-Google-Smtp-Source: AJdET5fAmFPIHwsRghzylCpLoHGv1PCV0guZpcN1s2sBq7HFQccf3HMSc1n2aNFd6xZS69n8K86E X-Received: by 2002:a17:902:bd42:: with SMTP id b2-v6mr3425566plx.148.1540993196023; Wed, 31 Oct 2018 06:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540993195; cv=none; d=google.com; s=arc-20160816; b=aR1pJsPsldd2uMWxYroIYJcbRk6ugrT3pF7pabc551+Ipqy+PBZV+QMKkFsZF0Xjnt KtX8gkxj8DORefGqSPOI4axo0AB9oC5LjMcYWNgDSYNn6AGaZBLVijO7rugU/EXtKeBu kT17Prh8pDmx4mOYz2EDmnRHTk+l3O8+cVwn6r/Q9rj2YRqYi1tdJF3YwPAo07mNBQgm m7mPvtQvtquTGWTBWwOVMwxjbT8CFg4Pq8BcVmiyWazTVzPRfuFYk3crpaIpHuFkiUiS eC40Mn53f5b9Ch55i2nApC892+a05ENOM39EzBXnzg6VyRm3d46LiYQw8GzpmT3at8zJ aAIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Qyvys34vf1qIimjNCAwNOfxOhRg3WtfSWWYeB3pwWRg=; b=SwyoQJYqlZnDpsNFHO1as+qhel3XIJM2wwpAHaS6IikuCC1ugfRpIrTEvh444OpZ29 1+ifIXS/S6DsbN+ihPu7zhu8N1teee6N4JHYr2Eqe5sfD8UytxqgVfgAX+t1h8Arqxz0 UvFTYutKdpr1s5H8PSNN27BQAxbqTIymZXvCXOCANEUJktNajfxPAF+1XXQddixKn3Vz 9lwB5yYnakN5OxWJZ/7qI9bTpS0rCk7wBETpwRRfdklH+sqCV4sZtMFgUuYuyAja3Xne p43y9Zeexay/i8sqY+8EW6n1IW5OelK7ko1i/tqtMgZ3ppW1vBppCv/ISIhO0lkZMdfP valg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J5wwlS5s; 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 i62-v6si21037843pfe.224.2018.10.31.06.39.40; Wed, 31 Oct 2018 06:39:55 -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=J5wwlS5s; 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 S1729289AbeJaWhO (ORCPT + 99 others); Wed, 31 Oct 2018 18:37:14 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:46087 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729220AbeJaWhO (ORCPT ); Wed, 31 Oct 2018 18:37:14 -0400 Received: by mail-lj1-f196.google.com with SMTP id x3-v6so14838517lji.13 for ; Wed, 31 Oct 2018 06:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Qyvys34vf1qIimjNCAwNOfxOhRg3WtfSWWYeB3pwWRg=; b=J5wwlS5sUPZceaxMdPGfKZpP9yF8JALB2L4QRk/8da3c++1H/xjn9nQxUtp89y+uBY 6fN/87PhLPgWlOtfScBM6FgPr3jnIQI7LZxNV1tAC3Wg410d/yIo/oTP6hrGlt56yAUZ mFLTixgb3OAi3Bbg5mYcxMMKzrmA58WmQEpIA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Qyvys34vf1qIimjNCAwNOfxOhRg3WtfSWWYeB3pwWRg=; b=ZSCCwKM2ExK3un4vFIxaIOCj812/G9W9kV7ozfIvrXgMhkJFk5dCiO2WZ7mF3707Uz aOACTLwNX9ifcDceCVytlYesL0Vq31spzLHpFUnKWdgJ9QPJ7hvBSK2iP4IM7Bi3FKWF bUsIrVLOZPTUINfbdC0oN1hPCxysRHq97VPLXIczRsg3/STjNIlW6mu/c3t0+1wnNkUL +BUpv3NBRlZ4EzosdD4ockFfW9iMchHk81ETcPCq2PBj5tGl79w0llAmmBgcn2S4oddz bbwwTcI5xA8yWxrzu+bfQ+sLZVIjsd1anNzvferoS6aaAo4/X5LY8qhDgM5/G7JoQvBE ukBQ== X-Gm-Message-State: AGRZ1gLW3kAd68e2mtQrDpeedddCy/kWK4zXHKl2vVKqDFYQNE+qRd8h khLAw95D2r8GSshJfkLm3o0bzqWA/gwR9r7FrD6qGQ== X-Received: by 2002:a2e:1510:: with SMTP id s16-v6mr2064317ljd.4.1540993148258; Wed, 31 Oct 2018 06:39:08 -0700 (PDT) MIME-Version: 1.0 References: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> In-Reply-To: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> From: Linus Walleij Date: Wed, 31 Oct 2018 14:38:56 +0100 Message-ID: Subject: Re: [PATCH v3 0/7] Standardize onboard LED support for 96Boards To: Manivannan Sadhasivam Cc: Rob Herring , =?UTF-8?Q?Heiko_St=C3=BCbner?= , ezequiel@collabora.com, Xu Wei , Michal Simek , Pavel Machek , Andy Gross , linux-leds@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , "linux-kernel@vger.kernel.org" , "open list:ARM/Rockchip SoC..." , linux-arm-msm@vger.kernel.org, "open list:ARM/QUALCOMM SUPPORT" , Daniel Thompson , Amit Kucheria , Koen Kooi , Nicolas Dechesne Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 29, 2018 at 10:43 AM Manivannan Sadhasivam wrote: > 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. This series: Reviewed-by: Linus Walleij It makes a lot of sense to try to unify the userspace ABI so we get some kind of order here instead of trying to counteract it with per-device kludges in userspace. It definately makes things better! Yours, Linus Walleij