Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7493312rwl; Thu, 23 Mar 2023 05:15:25 -0700 (PDT) X-Google-Smtp-Source: AK7set/cdp9+cdDWK10TsPdp0TPRRyZWOuuDP89tOZ8IXziLaxk7cQ6ovu1tmF+bsm34GiT/b8S9 X-Received: by 2002:a17:907:60c6:b0:931:fdf0:7eee with SMTP id hv6-20020a17090760c600b00931fdf07eeemr8536024ejc.56.1679573725089; Thu, 23 Mar 2023 05:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679573725; cv=none; d=google.com; s=arc-20160816; b=ZzSIYFyPZt7PnicjJWJmtw7whAu+Y+fuORzDZca2avsBjZdhkXnudXjHeprPXxnRQN WozFTKbC9Fkq59/hENEC7D73MvmPEJuhzJ1zeP5f5/Do7tvifrm/DNxXoxIFZPP6fkmt KOnpWtiXdXd6QEIS0kYReTBEYf0SE2Y15J0AEIis7jjr4+CntrJRb/yv7WUV4yOdlQeL 0/CZMGi6x+7unOAwNh8p5GHtKEUQ0FZhJkcZka82+gwlic8bCcR+qOYbQxC/l6umLNqV cKW/Uh4k0N0XK+/BXxgutQR1xNs2ZAiHOGu/WFk6puQJ9RO8SSlMAuRnZvgptiGEdKNo FAeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=a/KoMv72J5IIz0NM8GNmcSDXPLFS3Vkv0wZ+gg3A9vc=; b=GFKbe2FeIvJC8oNeMg+2UGAVgfyTqsDM0r5WK7UWELMVWmrewNyZJZnH8Q36wYR1ag czcUPpq2R7oAFM/QajI9PaqFjenrOB3Ap/GIE8LY6O0gNDLyCijekWBiGRDpl7HN8wZl U+2UKYmObWyVK2KZQP3zT1OTadXVa+7l7k1oPdaXc1PqFsD3cLy9QeSdoaM2Gbhwf498 W2oKAIIkyuHJUjJYpAsMUnsffMi/zI7Wxi5JfUuUXNsxaJK2dClRtjUVIT3ooOZCQ0PM qUyXDxs3IRtZ+wx6FOKT1Fma2g44UoahVoj00yvRHbJRasz53+HibJe2HTFYJIPhKjWs K/3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=D3RWeS7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a056402079300b00501da04d094si8375217edy.523.2023.03.23.05.15.00; Thu, 23 Mar 2023 05:15:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=D3RWeS7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231454AbjCWMG1 (ORCPT + 99 others); Thu, 23 Mar 2023 08:06:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231761AbjCWMGH (ORCPT ); Thu, 23 Mar 2023 08:06:07 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 950D310E0; Thu, 23 Mar 2023 05:04:55 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 4576E1C0E49; Thu, 23 Mar 2023 13:04:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1679573094; 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=a/KoMv72J5IIz0NM8GNmcSDXPLFS3Vkv0wZ+gg3A9vc=; b=D3RWeS7ZzdCwgmaip0tK7qF1pk+0eq9crqm8wlRLN0VwU4ch5LoLGN9GkYiUKbHStOHQG5 ip72ixYlxxhVXDeZWurv7JvDnzYRhY38H53HaSB392q1stZiSOrW5vqP4OKqBXNebHqlHi jS7wZujiZ36L/6mjm/7tRHZFq4pMD+4= Date: Thu, 23 Mar 2023 13:04:53 +0100 From: Pavel Machek To: Christian Marangi Cc: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Heiner Kallweit , Russell King , Gregory Clement , Sebastian Hesselbarth , Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , John Crispin , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [net-next PATCH v5 15/15] arm: mvebu: dt: Add PHY LED support for 370-rd WAN port Message-ID: References: <20230319191814.22067-1-ansuelsmth@gmail.com> <20230319191814.22067-16-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PW0UYIpUfo2k2zdg" Content-Disposition: inline In-Reply-To: <20230319191814.22067-16-ansuelsmth@gmail.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --PW0UYIpUfo2k2zdg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > 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. >=20 > Signed-off-by: Andrew Lunn > Signed-off-by: Christian Marangi > @@ -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"; > + }; > + }; > }; > =20 How will this end up looking in sysfs? Should documentation be added to Documentation/leds/leds-blinkm.rst ? BR, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --PW0UYIpUfo2k2zdg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZBxAZQAKCRAw5/Bqldv6 8pImAJ980SFJLWibENGuBRgkO7NwT1wjugCguwbshHgsV+9S/7u61KaJxx8XEEA= =1SzX -----END PGP SIGNATURE----- --PW0UYIpUfo2k2zdg--