Received: by 10.223.185.116 with SMTP id b49csp5106873wrg; Tue, 27 Feb 2018 07:55:53 -0800 (PST) X-Google-Smtp-Source: AH8x225jBVNMFevVoxH4N6H/I/XyYvLel8w+fV8986eQG50OPtSkh2rWMees0I99jMxKbk46e9Lc X-Received: by 10.101.82.139 with SMTP id y11mr11673430pgp.68.1519746953467; Tue, 27 Feb 2018 07:55:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519746953; cv=none; d=google.com; s=arc-20160816; b=vKPfHVmbJoC51Qj7Z53Ey3OMTD+oSeNdX+KlFPJdfgJowF8aT39+5xSqrIAydXlf2p z9fsaFjd+JWNPS38edGcv0eKjEG4152F2S2BpXYyb+inedIdG1F+/MCVqD0amR1dezkD 8VRaup2P5jRJkxePTr0P7C7gTpwKdevvgLetKRrcHa9BJMyMbPAYHQnyf5yQOWVBXeWf 6c9mgDZcwjAvZSCM/joUbzSSENkYROKGoPgUrQPoHHcxJw4Fd3huFHREjWyVqv57cZ/N Lb2lDEbLpWiifGEXtxZ90gC5o75nt29V4Mh9pPSxHBwBx9WMSTSZNRuQLa1KHtmEfsdJ 71Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=vmxQiTP9B65CXTaYh8uOlI2O7cSQ14mrsqatAAtFOqo=; b=x1eZARJq78zdUADH0TrTupWcdxXF/TZzfYMEgNJR2QpL63eaiF6/uxosW7OFvgzEiS Dm9llxOuURTx2+5TkqRddW3NruVfYVorSiiN6I9Ikt+OAkvMlE86k/ukUVpmK1FV7oqf 2KvsCNCEzF6KsF4fxpo91SjwT5c2ea8Ag06l4aK2eMHNfvbYo1tu/+9zsW1WhIloWr86 Xemdyt4LmDW9o9LPfbnCqCgrAe0NYrJjRfOMzFQFpTMr4p01JHJMZfmPNrHz3i51fdqt slJEzSk9cEXgb45JPd8HBo9AQfmDQfkDHcuA/FRiobpZ//5NfU2Wg7fI7HDMtr8Z1aDr JUtQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e71si1889107pfc.276.2018.02.27.07.55.38; Tue, 27 Feb 2018 07:55:53 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754211AbeB0Pys (ORCPT + 99 others); Tue, 27 Feb 2018 10:54:48 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:60262 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753644AbeB0Pyq (ORCPT ); Tue, 27 Feb 2018 10:54:46 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1RFnGCJ026228; Tue, 27 Feb 2018 16:54:14 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2gaxpwf5bk-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 27 Feb 2018 16:54:14 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5201831; Tue, 27 Feb 2018 15:54:14 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 290115215; Tue, 27 Feb 2018 15:54:14 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.46) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 27 Feb 2018 16:54:13 +0100 Subject: Re: [PATCH] ARM: dts: stm32: Add leds support to stm32f469 Discovery board To: Benjamin Gaignard , , , , CC: , , , Benjamin Gaignard References: <20180117094005.20728-1-benjamin.gaignard@st.com> From: Alexandre Torgue Message-ID: Date: Tue, 27 Feb 2018 16:54:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180117094005.20728-1-benjamin.gaignard@st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-27_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 01/17/2018 10:40 AM, Benjamin Gaignard wrote: > Add nodes for the four user leds. > > Signed-off-by: Benjamin Gaignard > --- > arch/arm/boot/dts/stm32f469-disco.dts | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts > index c18acbe4cf4e..5e9994840a24 100644 > --- a/arch/arm/boot/dts/stm32f469-disco.dts > +++ b/arch/arm/boot/dts/stm32f469-disco.dts > @@ -70,6 +70,22 @@ > dma-ranges = <0xc0000000 0x0 0x10000000>; > }; > > + leds { > + compatible = "gpio-leds"; > + green { > + gpios = <&gpiog 6 1>; > + linux,default-trigger = "heartbeat"; > + }; > + orange { > + gpios = <&gpiod 4 1>; > + }; > + red { > + gpios = <&gpiod 5 1>; > + }; > + blue { > + gpios = <&gpiok 3 1>; > + }; > + > /* This turns on vbus for otg for host mode (dwc2) */ > vcc5v_otg: vcc5v-otg-regulator { > compatible = "regulator-fixed"; > Applied on stm32-next. thanks alex