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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A7C2C6FD1C for ; Thu, 23 Mar 2023 12:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TChbKJ7LVkGxjdrqtuomDgXZtlOhI7/yrQu5iO9jHIE=; b=r5aTiE4OfjSxbzsQ1qDhaimZ47 +hpX2y9QIvzdCgx7f/HAQKFyoNfB7z1zWYCxRuh+KQBHyIRpNJVxI23SguVDEq7vRQ9baIcG1QbK8 TATfECBPB4N6EOct2phFK/BLSfFDnW4LsObnS/MT8E0MMdKAty2Solqu+J267VFiO2pWmE02xbf0R KGzIMdWbws0VNEcI/2vNUR94eVK949iXPFpFhggfpqygWokZQ36KXtQOr/uCRMbZ2I8Wsiol3xg6G a2YAFcqclA3Fa3VLnoKGY/6+MvT5SPaucOg9MUm+LSerfKbRGXDD+HNPVXzXo59XDzNMZor0v4OAX lkBr0vrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfJc6-001opt-1O; Thu, 23 Mar 2023 12:00:14 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pfJc3-001oov-2R for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2023 12:00:13 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 65F781C0E45; Thu, 23 Mar 2023 13:00:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1679572810; 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=i6g24iXeL9/ShWvEYoM0S6zS1IAwwllZY3vf7uOY3BQ=; b=FUd82qEkq+eW84cAEji9+56Yzv2dhP9NcP+rEBPwkgQcu38rU4qSxXQN3Iyd+/LGu6pe6G TI7cog3eHrcVT+7wxVkneHkY8YGz5YUGYLLv2joiddVHP8rRxoOclT8tHt2RPVQ+wp1Bdm Km8X54avX15p43UoP+idujHY7IEQQ4Q= Date: Thu, 23 Mar 2023 13:00:09 +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, Jonathan McDowell Subject: Re: [net-next PATCH v5 13/15] arm: qcom: dt: Add Switch LED for each port for rb3011 Message-ID: References: <20230319191814.22067-1-ansuelsmth@gmail.com> <20230319191814.22067-14-ansuelsmth@gmail.com> MIME-Version: 1.0 In-Reply-To: <20230319191814.22067-14-ansuelsmth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230323_050011_941304_E773818D X-CRM114-Status: GOOD ( 17.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4062323355543721688==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4062323355543721688== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zouinu9G3n7jzOuo" Content-Disposition: inline --zouinu9G3n7jzOuo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2023-03-19 20:18:12, Christian Marangi wrote: > Add Switch LED for each port for MikroTik RB3011UiAS-RM. >=20 > MikroTik RB3011UiAS-RM is a 10 port device with 2 qca8337 switch chips > connected. >=20 > It was discovered that in the hardware design all 3 Switch LED trace of > the related port is connected to the same LED. This was discovered by > setting to 'always on' the related led in the switch regs and noticing > that all 3 LED for the specific port (for example for port 1) cause the > connected LED for port 1 to turn on. As an extra test we tried enabling > 2 different LED for the port resulting in the LED turned off only if > every led in the reg was off. >=20 > Aside from this funny and strange hardware implementation, the device > itself have one green LED for each port, resulting in 10 green LED one > for each of the 10 supported port. >=20 > Cc: Jonathan McDowell > Signed-off-by: Christian Marangi Reviewed-by: Pavel Machek --=20 People of Russia, stop Putin before his war on Ukraine escalates. --zouinu9G3n7jzOuo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZBw/SQAKCRAw5/Bqldv6 8oFMAKClNfnf4Qid7kCyj0YBbLipLy2WhQCffrRvBkk2AKCW09Vxt7sn/z9R3tU= =MGkU -----END PGP SIGNATURE----- --zouinu9G3n7jzOuo-- --===============4062323355543721688== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4062323355543721688==--