Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp271369rdb; Thu, 19 Oct 2023 04:16:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGdWU7IYnvwktPPZ/+7dBXqpTEVvjrZULffBVVPjN4uZOeE5cu0xCCfyq7YqsEgU6d7Nqfl X-Received: by 2002:a05:6358:9fa8:b0:166:a821:334e with SMTP id fy40-20020a0563589fa800b00166a821334emr1600336rwb.18.1697714160003; Thu, 19 Oct 2023 04:16:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697714159; cv=none; d=google.com; s=arc-20160816; b=ET1jg+KCkn2OT6gjBYn0VZZJMSusPKaWVETcafcFwkGPELFoK+L4vvzSeetlSwQWPd cezHL03K1/odVhF1FWtRuzMo5lEMf4wUuNWU/WysaSb5SpRn2+Y5U9SKYw72DECx+xsi zFzcaYLkfiHCcA2+h+1pOPvc7PWR3VyIaEfNFS+9/raWTH4iDMTn4gtotRPYIdZJoDOX YeQnuG/MdNa86YJuISkcJVTFQfOjjesgyuO0BJAI0GYUjDN3yawcyi7JwTHvxovP/TkE vz5PE2x2zKoedCANKAxZwnOHUtLumlCceFefha+fBzRD7LAjHCMh3Jc3aK5ruty3M7SW xmXg== 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 :message-id:date:subject:cc:to:from; bh=cYnQWNtMOpx8I1ioU7M15FSyQKNkRShqcR7RSWwh9G4=; fh=oLQ93Jj/lOpIDL9R7QhdcwQr3NPpWnMdqx90qGj8Dkw=; b=dMz4DFsvwIo6lJkofgH7p6ORS/NGxJAsbAGZleMmt63Cg9/XAtamhE442DRQi43uGf piAQE9jwDVWjtrfGbZY4uP0vTW5NVDkagQd9kL9uheXIcjl6d+n1CfsdaaqOuuuphBcu PmSO0Tzy3EggAD+c3xI6YOgNAqaI2tcYVot14TbAyZJBPxODi7S9Mx7JmZs2Xv6FcZm0 8dI0PazTid4uezq8jwqLStxFJ0EmSG7u3nJUJlCpwBAJLXWl3jw3y2NNK+2mYzCtffMO 6IXGkQyTq+9d36Q0pHk5vtzThz+t7HIGEdC+r1W+hWsBPdwoZRzemldg5xt8BcwIoNN+ uVpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id y12-20020a056a00190c00b00690f74dd2ccsi6515158pfi.69.2023.10.19.04.15.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 04:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 4D93C8062904; Thu, 19 Oct 2023 04:15:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345347AbjJSLPX (ORCPT + 99 others); Thu, 19 Oct 2023 07:15:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345336AbjJSLPV (ORCPT ); Thu, 19 Oct 2023 07:15:21 -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 6D28C11F for ; Thu, 19 Oct 2023 04:15:19 -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 1qtQzV-0000sz-RB; Thu, 19 Oct 2023 13:15:01 +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 1qtQzU-002mGC-Us; Thu, 19 Oct 2023 13:15:00 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qtQzU-004CE1-2r; Thu, 19 Oct 2023 13:15:00 +0200 From: Oleksij Rempel To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiner Kallweit Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, Russell King , netdev@vger.kernel.org, Alexander Stein Subject: [PATCH net-next v3 0/3] fix forced link mode for KSZ886X switches Date: Thu, 19 Oct 2023 13:14:57 +0200 Message-Id: <20231019111459.1000218-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 04:15:42 -0700 (PDT) changes v3: - squash patch 1 and 2 - use genphy_config_aneg() instead of genphy_setup_forced() changes v2: - address kernel test robot warning - change comment explaining clearing of KSZ886X_CTRL_FORCE_LINK bit - s/PHY we create/PHY will create/ Oleksij Rempel (2): net: dsa: microchip: ksz8: Enable MIIM PHY Control reg access net: phy: micrel: Fix forced link mode for KSZ886X switches drivers/net/dsa/microchip/ksz8795.c | 86 ++++++++++++++++++++++++++++- drivers/net/phy/micrel.c | 22 ++++++++ include/linux/micrel_phy.h | 4 ++ 3 files changed, 109 insertions(+), 3 deletions(-) -- 2.39.2