Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3596239rwb; Mon, 16 Jan 2023 10:03:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXsLFKd5nxSWKE3xyYgiqq+xNOTdyLWF5Ud3fdeiz/oR7Eg/cwfzNvca6aiiGgqm4JoXY0AH X-Received: by 2002:a17:906:b1c5:b0:84d:14c8:b669 with SMTP id bv5-20020a170906b1c500b0084d14c8b669mr33114497ejb.77.1673892192893; Mon, 16 Jan 2023 10:03:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673892192; cv=none; d=google.com; s=arc-20160816; b=WKVk6NDsBcw9N5iTx+vUih2Zy2duhBzgeYx0VkHU8FHJW+mi5LZ6tU4BmjvA7Gyens PQtTzMyU2JJf2f0YSmPaNEh5IcN+1wOyXo2naP6FXay4iA/viqkBPtxNytotX0UV59be aCMtkwic5hvpDLOd/PRXt1LQ8M8JJqw5tsTrUZXKzG9Bytg//X0z2pPFSWBpz4zD86/9 5Ngf4rgp3ixYd3MVouyVOKVsH4Np4D9N8FuMX0sgItRf+45SqTmlA5CkUtKiEGrxhu5P idLwVjC4FAlOyOvv1wf+K4fUTOv2WURUHKLyI/8K90o7YhOCucjQeEP0RpHFQk0z6SAF k0FQ== 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 :user-agent:message-id:in-reply-to:date:references:organization :subject:cc:to:from:dkim-signature; bh=UD4ZhaHjRcn1J2dnBAvslht8N8U56Uf/Euv/eC9LvAo=; b=JWXY+6jtEH4rnnAy5AT0Pyr8NuUfxiQJelCPtsPIVU1N57dMKg9JQNR8yw6DMR+/Dz 7RebVc29NAgtWaOjyH6Y75N55rOz18/fc6lEKOLI2JDnos/sr9jTfy/LOKX6ycur1TpC 0hXY7d/j6+kAFnNcG9qqv+UCftoh4fm/BxYnJrbPAfM2GwjwXMfbwMKPC8JxIujYvnCO jui3xJOiO5FGabzhA6Oe6Z4Ci0KEzFIGND/X8yQySeKt8EP9f6AS/6Bdid5Et5Lx43RM GgPwKxsv8H6SECovHn3pLWlEZsOgTwmmMtNeffZZ913qub9mTAKel0f0695k/GScImrI Q+zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mork.no header.s=b header.b=PTdLyuia; 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=mork.no Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa9-20020a170907868900b007bea4cb61d6si6343120ejc.424.2023.01.16.10.03.00; Mon, 16 Jan 2023 10:03:12 -0800 (PST) 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=@mork.no header.s=b header.b=PTdLyuia; 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=mork.no Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233867AbjAPRJi (ORCPT + 50 others); Mon, 16 Jan 2023 12:09:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232958AbjAPRJM (ORCPT ); Mon, 16 Jan 2023 12:09:12 -0500 Received: from dilbert.mork.no (dilbert.mork.no [IPv6:2a01:4f9:c010:a439::d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 403F323C68; Mon, 16 Jan 2023 08:49:37 -0800 (PST) Received: from canardo.dyn.mork.no ([IPv6:2a01:799:c9a:3200:0:0:0:1]) (authenticated bits=0) by dilbert.mork.no (8.15.2/8.15.2) with ESMTPSA id 30GGmpaU2102783 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Mon, 16 Jan 2023 16:48:52 GMT Received: from miraculix.mork.no ([IPv6:2a01:799:c9a:3202:549f:9f7a:c9d8:875b]) (authenticated bits=0) by canardo.dyn.mork.no (8.15.2/8.15.2) with ESMTPSA id 30GGmjDj2045637 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Mon, 16 Jan 2023 17:48:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1673887726; bh=UD4ZhaHjRcn1J2dnBAvslht8N8U56Uf/Euv/eC9LvAo=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=PTdLyuia0bJNc5u9zqdnDShXdiE3GeI5ngqK4fbBuVluwBjD87vjwLYx+IzeNJZv/ taALeumzB0roYExAe6bLKOftCFkFWWhbdUomsV6d83GY5tsvqNetimULAxzYSvGevl dGFFWwI74DAMZsAEcTMM6rq4JHme9kXjXVMurB0A= Received: (nullmailer pid 377843 invoked by uid 1000); Mon, 16 Jan 2023 16:48:45 -0000 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: "Russell King (Oracle)" Cc: Frank Wunderlich , Frank Wunderlich , linux-mediatek@lists.infradead.org, Alexander Couzens , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net: mtk_sgmii: implement mtk_pcs_ops Organization: m References: <87o7qy39v5.fsf@miraculix.mork.no> <87h6wq35dn.fsf@miraculix.mork.no> <87bkmy33ph.fsf@miraculix.mork.no> <875yd630cu.fsf@miraculix.mork.no> Date: Mon, 16 Jan 2023 17:48:45 +0100 In-Reply-To: (Russell King's message of "Mon, 16 Jan 2023 16:43:18 +0000") Message-ID: <87v8l61l3m.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 0.103.7 at canardo X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 "Russell King (Oracle)" writes: > I found the document for the PHY at: > > https://assets.maxlinear.com/web/documents/617792_gpy212b1vc_gpy212c0vc_d= s_rev1.3.pdf > > It seems as I suspected, the PHY has not completed SGMII AN. Please > can you read register 8 when operating at 1G speeds as well > (VSPEC1_SGMII_CTRL)? Thanks. Both phys at 1G: root@OpenWrt:/# mdio mdio-bus 5:30 raw 8 0x34da root@OpenWrt:/# mdio mdio-bus 6:30 raw 8 0x34da Bj=C3=B8rn