From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03E2FC77B61 for ; Tue, 28 Mar 2023 08:31:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232208AbjC1IbW (ORCPT ); Tue, 28 Mar 2023 04:31:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230263AbjC1IbU (ORCPT ); Tue, 28 Mar 2023 04:31:20 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082E0C7; Tue, 28 Mar 2023 01:31:18 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 54CDF1C0ABB; Tue, 28 Mar 2023 10:31:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1679992277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NZKxrePiLV6l9V0HmcTkJ0mbMEOMo46hydocfIMAsEM=; b=TaQUejS3XvePiDrGtbQ3Wr4dI+7/5Ann4SxcWJnc33K3QFtaE90LrCi65fNBrL6leBXaFY caltXj6eY/KUdYbTwcLVSYBx/D3/C+URYSLi2W8eFxu6Vapd7eDoRMlpuR0R7efR5KJ4YC AqrjXY8FKBXLwFGBQLqDO6nrIiTOtJg= Date: Tue, 28 Mar 2023 10:31:16 +0200 From: Pavel Machek To: Christian Marangi Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiner Kallweit , Russell King , Gregory Clement , Sebastian Hesselbarth , Andy Gross , Bjorn Andersson , Konrad Dybcio , John Crispin , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH v6 16/16] arm: mvebu: dt: Add PHY LED support for 370-rd WAN port Message-ID: References: <20230327141031.11904-1-ansuelsmth@gmail.com> <20230327141031.11904-17-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M1XUwPa0tTn2VCRg" Content-Disposition: inline In-Reply-To: <20230327141031.11904-17-ansuelsmth@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --M1XUwPa0tTn2VCRg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2023-03-27 16:10:31, Christian Marangi wrote: > From: Andrew Lunn >=20 > The WAN port of the 370-RD has a Marvell PHY, with one LED on > the front panel. List this LED in the device tree. > @@ -135,6 +136,19 @@ &mdio { > pinctrl-names =3D "default"; > phy0: ethernet-phy@0 { > reg =3D <0>; > + leds { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + led@0 { > + reg =3D <0>; > + label =3D "WAN"; > + color =3D ; > + function =3D LED_FUNCTION_LAN; > + function-enumerator =3D <1>; > + linux,default-trigger =3D "netdev"; > + }; /sys/class/leds/WAN is not acceptable. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --M1XUwPa0tTn2VCRg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZCKl1AAKCRAw5/Bqldv6 8oOMAJ94SXgT/9W1NuDgolccPqIAuAiokgCgo5aEvcznB5Zg1V+9XSXaeddQA6M= =n8Nw -----END PGP SIGNATURE----- --M1XUwPa0tTn2VCRg--