Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp2503172qtg; Thu, 23 Mar 2023 05:03:29 -0700 (PDT) X-Google-Smtp-Source: AK7set8c8J9sXtZyFQF2SP6uTv6juHk21CtFTXUTIS5XyMu7GYt4FvNEbYBAPB5DdGDN3hG65E2i X-Received: by 2002:a17:906:b4d:b0:933:44ef:850d with SMTP id v13-20020a1709060b4d00b0093344ef850dmr5332630ejg.20.1679573008674; Thu, 23 Mar 2023 05:03:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679573008; cv=none; d=google.com; s=arc-20160816; b=diuTpBCx9nUINDmsKpN94KgkXJmr82jBMPgPtbfn38cuQuUpAOeeKeo09pIktdH95n Vi4La0RCdx3uIbBnDNn95OWqLFs+HFntDbGwXSmRZTw0c8BBT8aeHphC+MjOhs/LKsCe /WJfTTc7iVhrcYtNZyYjbsIEXfaqMaunqY7M/u44tN3KoZQlbVerJqxKLgEq0X4pnjei RUH7xeQHBuPRY5XO+I+AweIv18zAZZHHb+iu2dUiZER8U2YXq8t+f438eJtvnDemJH+Z QGz40JcDBcYpYy+BDaJ19v1PuDIhcYrvjvBu6yWLciMTkaD2DjQYO/YQZBqlVkfPFh9x ahWw== 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=i6g24iXeL9/ShWvEYoM0S6zS1IAwwllZY3vf7uOY3BQ=; b=B3eFlGlO1aIOMBM2aWvt5GC4XlonhmCQnKOv6H3RkZBQwTIoDjLgx8zWNZQpT0/tIC AgnI3kvZtZ/aTyrdwSykFuQB8ASIp3Kevq90BJ2PHE3FMJ/6l986DSMOebllFJk1cMkM aSWJQxKe5k8BQQQbfyQxKhths/bPD0OXRGcd2M5f8aMxWCh5CZti67U4gxvvsCAptvIO inB3AH4ZBmRMvbI4/Vc77zRJZ0MCc9ox+qJY8JHBhcMmUxY3KJaKb/Vvu5Hli/AOt3S4 imYtu7Xh4qzQMka3g3GN7ZtVLhknuAp+EBk/f4zE+J/EnNTpJPX6aiaj6a1KSFDEhIbb +Oww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=FUd82qEk; 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 y10-20020a1709060bca00b009302e1c267asi15886048ejg.724.2023.03.23.05.03.03; Thu, 23 Mar 2023 05:03:28 -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=FUd82qEk; 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 S231500AbjCWMCW (ORCPT + 99 others); Thu, 23 Mar 2023 08:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231446AbjCWMB7 (ORCPT ); Thu, 23 Mar 2023 08:01:59 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BED8D83D6; Thu, 23 Mar 2023 05:00:11 -0700 (PDT) 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zouinu9G3n7jzOuo" Content-Disposition: inline In-Reply-To: <20230319191814.22067-14-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 --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--