Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1053098ybe; Mon, 2 Sep 2019 13:34:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFtvuAl15RJmfBWqYab6ftL5rln1fOr2k4HyVSLeD4kZJU0IaO5VllNGHWkXENpJdKdA2U X-Received: by 2002:a63:6fcf:: with SMTP id k198mr26641087pgc.276.1567456441738; Mon, 02 Sep 2019 13:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567456441; cv=none; d=google.com; s=arc-20160816; b=tPoUcqLCRdysRSBGswBPccgu0kqiwd7fZ0Pcv0lxgf2pjl4ovwm41I5pyyoPIRfwwT 5jeD8dNJyeY7BzLrsUhVSNC/rAcsZiWrmFMuxEwrhNHhw3f6jLiXbJj5LLMatP22Gt96 nKjTUrQ+7XZkN4XheaOqtj4MI8rjVGpXHzwRxPbV80++Nw5M/iQ8PbjuuKw6xI4vvR2V DyunVxuREmhzRm0RMeqwrI+favmCEYVUxJ5IXPkUNi7IIzhtUkUWfe/elYgWQv1eZm6/ +G9WZ7j7wxL17+goQQmyyDnTOFcVGyah0rE8b/MzC/clVsp0hpDCG6KvAi7hDbWNqpxs EDlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Drxj/KHnGa7EKCsPvgXbavTbnN+8j1N204EqHu2zxHQ=; b=wbAWVFfq6LkHPWfMprb4GSQtEFTqrD2o15hQG6G/JjCQxDHp0s8RvUKioV58jHd+86 n87pnhZ4sq7WND8Cz59HeTJklJiSesTD40aDuGVp0iJgpYL6vQeOx2sR+olSQoa85Qjb 0Jn4lC1+2Vcc8MbLPz8jff7TLz1Wt2gJnHjSrqpc7MKCnOJytBxHPrcPFbdReiqDtX4m zPnpdEJXQjKjIZfNKCuMk2G8lpSDJSoSQFu9xsCugvKEhFE+NXJGxCJ7iCIe89W66nIC 6NUcVeGYm+Z70nz0COnWtGhmAqRzSJv2LIkJJyOCm6TSqtg+dqwL55i/wTE7EiGDx2nW k9zQ== 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 s61si12550154plb.102.2019.09.02.13.33.24; Mon, 02 Sep 2019 13:34:01 -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; 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 S1727320AbfIBUbr (ORCPT + 99 others); Mon, 2 Sep 2019 16:31:47 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:49121 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727143AbfIBUbr (ORCPT ); Mon, 2 Sep 2019 16:31:47 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 6836A82130; Mon, 2 Sep 2019 22:31:31 +0200 (CEST) Date: Mon, 2 Sep 2019 22:31:44 +0200 From: Pavel Machek To: Anson Huang Cc: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] arm64: dts: imx8mn-ddr4-evk: Enable GPIO LED Message-ID: <20190902203144.GA4787@bug> References: <1567457138-3002-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1567457138-3002-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2019-09-02 16:45:38, Anson Huang wrote: > i.MX8MN DDR4 EVK board has a GPIO LED to indicate status, > add support for it. LED maintainers want to be on the cc list... > @@ -15,6 +15,18 @@ > stdout-path = &uart2; > }; > > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_gpio_led>; > + > + status { > + label = "status"; > + gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; > + default-state = "on"; > + }; And we should really standardize labels for user-controlled status LEDs. Mentioning color would be nice, for a start. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html