Message ID | 20180307094815.32215-1-linux-kernel-dev@beckhoff.com |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=beckhoff.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zx83L5ql3z9sd6 for <incoming@patchwork.ozlabs.org>; Wed, 7 Mar 2018 20:48:30 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id A0890C21E4E; Wed, 7 Mar 2018 09:48:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1282CC21DD3; Wed, 7 Mar 2018 09:48:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1D8C0C21DD3; Wed, 7 Mar 2018 09:48:23 +0000 (UTC) Received: from Netsrv01.beckhoff.com (netsrv01.beckhoff.com [62.159.14.10]) by lists.denx.de (Postfix) with ESMTPS id C62C6C21C2C for <u-boot@lists.denx.de>; Wed, 7 Mar 2018 09:48:22 +0000 (UTC) Received: from lbs1.beckhoff.com (172.17.64.210) by NT-Mail02.beckhoff.com (10.1.0.27) with Microsoft SMTP Server (TLS) id 14.3.301.0; Wed, 7 Mar 2018 10:48:22 +0100 From: <linux-kernel-dev@beckhoff.com> To: <u-boot@lists.denx.de> Date: Wed, 7 Mar 2018 10:48:13 +0100 Message-ID: <20180307094815.32215-1-linux-kernel-dev@beckhoff.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Originating-IP: [172.17.64.210] X-OLX-Disclaimer: Done Cc: Ziping Chen <techping.chan@gmail.com>, Patrick Bruenn <p.bruenn@beckhoff.com> Subject: [U-Boot] [PATCH 0/2] This series adds support for gpio-leds "default-state" property. The X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
This series adds support for gpio-leds "default-state" property. The
|
expand
|
From: Patrick Bruenn <p.bruenn@beckhoff.com> main usecase in mind are LEDs which indicate a state like "power on". With this patchset applied, all you have to do is: Add a gpio-led node with 'default-state = "on";' property to your device tree. And the LED will automatically light up during U-Boot startup. Patrick Bruenn (2): dm: led: Support "default-state" property dm: led: auto probe() LEDs with "default-state" drivers/led/led_gpio.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-)