Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp920273rdg; Fri, 13 Oct 2023 05:24:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGb6gdapTlv45ZlcRMJEMboVvOO7RRoFGeFDinvmAxlSBTxAJTW9RDB4f0CcSvDGY2UBz28 X-Received: by 2002:a05:6a21:3284:b0:160:6983:91d6 with SMTP id yt4-20020a056a21328400b00160698391d6mr37688581pzb.22.1697199890499; Fri, 13 Oct 2023 05:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697199890; cv=none; d=google.com; s=arc-20160816; b=mdB3MloIqkDmmL/F8T33hnVIPDQuH9GWp5tmTnM3aSyW+nB9eEZOrOFs+P/xDpbHue jo36eD3a7GehIkfQKf9n4hbU3vyBNI0uqyBYb6rzOvwnAW+wKi7dELfTW/UXpLT4BM8N /kTiAivlV0TCq/pAsdbehNz/bil4427AEoGvrphjwcFJlKSW08GwpeRQhksuAHCuWvuZ IDaJZz4mYRuDn3YkAE4FhDv6XcjD9B0Ne7gaNm/6/+7zgxJ0kdX18qgRTs7eYW1HqzGJ d13nM0H8gLQ4M4Bm2ZjEgJWB/j/aLhZaA7dTJL4u1+VI+nbe7CmsUpNhxG0fgG2tLP6D pxmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=JcSreyPtdceAKLOfWxsZTvVj6arpBvNyQUVcLSnA4Wc=; fh=J4gjwt0mePoRaYCjaHLm28JnUFi5LyPM6ZZbSRFLAL0=; b=Xsd2qN4YtZJnxdVG8FvDPkFvqz4rjdS9EFJwmv5mreKyi0eKpFx52OJwSKZYB5m4RA TQS+Pd6FavM8s5a4CrQvjQe5hq/mGcZbbM3laUA8wHXjcEBkOzEPQpZNYfLodVzP+ZZP 3Si9xH0d47SR7CiRRlVw76wIWINs9pzHBP689t+F30Tj7KmwwD1gSN2ibAQ08gWC1WAu lvujUW9oMiNB+F7zxMEeDStKqloLH7ErNkBkpi2ChN3/c2uJcMZCC/7hbzFchTPCGScN DEktkpWXIvS7IX/BcJMDM8JcaHMQT8gYvoI3Du32jxX98C/tW2sh6wJasDWpZUY5a13F 3ckA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id f29-20020a63755d000000b005ad35f5a7basi626585pgn.507.2023.10.13.05.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 05:24:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3024380F9270; Fri, 13 Oct 2023 05:24:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231734AbjJMMYb (ORCPT + 99 others); Fri, 13 Oct 2023 08:24:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231548AbjJMMY2 (ORCPT ); Fri, 13 Oct 2023 08:24:28 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E3F5BF for ; Fri, 13 Oct 2023 05:24:26 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qrHD6-00016E-4V; Fri, 13 Oct 2023 14:24:08 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qrHD4-001OKh-VV; Fri, 13 Oct 2023 14:24:06 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qrHD4-00FiNc-2t; Fri, 13 Oct 2023 14:24:06 +0200 From: Oleksij Rempel To: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Woojung Huh , Arun Ramadoss , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org Subject: [PATCH net-next v3 1/7] net: dsa: microchip: Add missing MAC address register offset for ksz8863 Date: Fri, 13 Oct 2023 14:23:59 +0200 Message-Id: <20231013122405.3745475-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231013122405.3745475-1-o.rempel@pengutronix.de> References: <20231013122405.3745475-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 13 Oct 2023 05:24:46 -0700 (PDT) Add the missing offset for the global MAC address register (REG_SW_MAC_ADDR) for the ksz8863 family of switches. Signed-off-by: Oleksij Rempel --- drivers/net/dsa/microchip/ksz_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index b800ace40ce1..02fab1adb27f 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -441,6 +441,7 @@ static const u8 ksz8795_shifts[] = { }; static const u16 ksz8863_regs[] = { + [REG_SW_MAC_ADDR] = 0x70, [REG_IND_CTRL_0] = 0x79, [REG_IND_DATA_8] = 0x7B, [REG_IND_DATA_CHECK] = 0x7B, -- 2.39.2