Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2063490lqt; Sun, 21 Apr 2024 23:24:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUoB/6/v66bgaMrSe3gfmTjYKINsjqrR7iflp2HYBdBX61Ae1RvnutXuPK9xYS2POJn7tZfhCCpUiurfil0qgfEWsKAz3IGNN74DC27QA== X-Google-Smtp-Source: AGHT+IFnKm/VtC+gaaRJ9O7ApoX+hZRSWLEpD1kT8coTRektMd2oPkm7EJl4rT/DwpckdVyMMx10 X-Received: by 2002:a05:622a:50a:b0:439:75a5:396a with SMTP id l10-20020a05622a050a00b0043975a5396amr6452222qtx.23.1713767077173; Sun, 21 Apr 2024 23:24:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713767077; cv=pass; d=google.com; s=arc-20160816; b=joPinuzRRezookHfiqGxke3mHtpa568tFmWwRbrfO6fu/2RS296FcADoYGQP9l9ih+ bGhdqZBvsVZzwqlhKRd9k//4oNWFcOeCbKOyCxyDXfbl9AKc9r3ydGuYbBG4t/i03Yln pPXfJx9qFqhlG3imMTe4UJoWxUpbp+d5RO/3Do8wt1VEcYdIXiI67ik4DTVIG6D9j3CT BOaoxtsOmQIUr6UjjL2I1ZV0hKTsQEs7oF0zqnKPMXWNVYdj4UCd7ADg5LxH7PKB0f1f OkfmoSJPhV6PVL6FKZGOP8bMLYBy+mFQ4MBvbydr4rHQWFzS88yLOWjL+i8a8x5B6iyo mx/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:cc:to:from :date:dkim-signature:subject:dkim-signature; bh=r+XvQYzy6Ph8/Uv8nnwgb09heFwJUgvhjSISPDnv/24=; fh=QzmPSyNi8ne+5oNe2PLE7aZfiYGNcaa6S6l4NjLxB+s=; b=CXmAP2FZlfa3uAi65ymZuwbQKDIlGcVWtopABOHeqcGN5IHw/Sf3wEEw7Vqr4jv5pm iGtFMZ1WTLly37INsUNMMwN/L+uZ0OKa7+2Cgv8hC8LmpnMzN6QuL3YJ+opGfkSwQinH JIbe2d4c7jujmgUYQh+OhmzUF81WrRL6tdoAbo+t94u4yIBiQA/P+yjTzSNumQ6IDWvO 3ahJGwUXMSx+z5VpT5EklGAEMAGCXHD5Uq0Z6tQ8ysiSNMVR72ZSZSUln8quEopCf0qi jv+6lQ0LkREDwAjna1OVQra39YTWIaf27VnA7zM3jxy24pbQzBgXH/KnOKzLnwri3qvM 54dA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=mZzzk5R+; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=iqFMA+Aw; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-152780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h2-20020ac87d42000000b004364f330955si9601060qtb.291.2024.04.21.23.24.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Apr 2024 23:24:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=mZzzk5R+; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=iqFMA+Aw; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-152780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E02301C21C85 for ; Mon, 22 Apr 2024 06:24:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 677A7433D7; Mon, 22 Apr 2024 06:24:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="mZzzk5R+"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="iqFMA+Aw" Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73C473FBA0; Mon, 22 Apr 2024 06:24:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713767065; cv=none; b=n4nQg62HDgczViR6GeLlrSa1I/OQfL6/0jWwZNL+21F05+pKS2aQRW3j+Yt/+ozCrRo8xJbK+wiLXVzCN3loAQ3VsbtnhjIRRhB5oksg1zBRYbedFv59FSceKfoXxuHzh8r/AWHXRMUR36nCLNPSZqUMAFdg6yHDzwlv9dGC4Fs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713767065; c=relaxed/simple; bh=rrOViBBJsojVDyanVvalso2iEQYg5szP2F0RIMK8g64=; h=Subject:Date:From:To:Cc:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S+bATITUai9cYHquyzjzXFlJZXExHLBlc3bzROexZGEWNuOpp9dXvzHsMz1dFsPE9j5EMfLLu3FQXbAcQkJdDgdNS9SHDCz/mPzrDn3JVfL5bPOnpMBvwCOTeMCEq7uz+nt2KY9jCqpeD7OWCRWUxxL2tVscOHmi5X12a/W64xk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=mZzzk5R+; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=iqFMA+Aw reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1713767062; x=1745303062; h=date:from:to:cc:message-id:references:mime-version: in-reply-to:subject; bh=r+XvQYzy6Ph8/Uv8nnwgb09heFwJUgvhjSISPDnv/24=; b=mZzzk5R+T+UbaTYYgGAWY7A8QQEqBxAW8RDH1Nin5rGndHTg1bHcZu67 BmiHVbehyww7Sy5480Q3HNiUvm/AEggkvcdMqJHyqdBfzEx8DU6FQTqJk cfnjCXMz34dvFDVBIen8fXe/wKra1ERPS+ZMG9JZ1GDgiZjdfVbKTslTM NBDKTKIVIN2oeGX4262VmVCNapWF0zZsFjChESyIKcFSW/IBBGCD3wGnE gnCh7snRmo2S0ddAyUjltxWthvLrrq+uk/uzHX/11kBr3v3+p9U5/CE3f bA4hBLACVZx2x8r21+arxspl0ru+RmZ46GiT9vuhPupS0UTzytN9q9qsv A==; X-IronPort-AV: E=Sophos;i="6.07,220,1708383600"; d="scan'208";a="36531127" Subject: Re: Re: [PATCH v2] net: phy: marvell-88q2xxx: add support for Rev B1 and B2 Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 22 Apr 2024 08:24:19 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E0F62160A90; Mon, 22 Apr 2024 08:24:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1713767055; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=r+XvQYzy6Ph8/Uv8nnwgb09heFwJUgvhjSISPDnv/24=; b=iqFMA+AwRSrbb9lzGdRFygud48xPGcj+st02VmodWAKPX5ipz/4IPly6RraG3G70COcyNx GY+tSPx4BCQLxKaMKcEepWzIsKJq+jRC9z0OkfpnvYOkNKDdpen9uiYrn9hVdlj5r9Foou RqVjyeXhCLY5KoxvgD8bDsmvavka9sr5k2Z8dOaqvXFJLI3fxApH1QiyVT3EgJIv35Tryb dHJBDQibamNwSm2WYR4sAhcr97cmXhux0J2Hzm0Po9OdjiHtJewz/Oew50JErj7U4AMmub QtP1b3AEoHcWvc6Y7GOM9NFnvmv/OZmRSruDxByr8IWzhAHBM00077eBv36Z2A== Date: Mon, 22 Apr 2024 08:24:07 +0200 From: Gregor Herburger To: Dimitri Fedrau Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Stefan Eichenberger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com, alexander.stein@ew.tq-group.com Message-ID: References: <20240417-mv88q222x-revb1-b2-init-v2-1-7ef41f87722a@ew.tq-group.com> <20240418123155.GA248236@debian> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240418123155.GA248236@debian> X-Last-TLS-Session-Version: TLSv1.3 On Thu, Apr 18, 2024 at 02:31:55PM +0200, Dimitri Fedrau wrote: > > +static const struct mmd_val mv88q222x_revb1_revb2_init_seq1[] = { > > + { MDIO_MMD_PCS, 0xFE07, 0x125A }, > > + { MDIO_MMD_PCS, 0xFE09, 0x1288 }, > > + { MDIO_MMD_PCS, 0xFE08, 0x2588 }, > > + { MDIO_MMD_PCS, 0xFE72, 0x042C }, > > + { MDIO_MMD_PCS, 0xFFE4, 0x0071 }, > > + { MDIO_MMD_PCS, 0xFFE4, 0x0001 }, > > + { MDIO_MMD_PCS, 0xFE1B, 0x0048 }, > > + { MDIO_MMD_PMAPMD, 0x0000, 0x0000 }, > > + { MDIO_MMD_PCS, 0x0000, 0x0000 }, > > + { MDIO_MMD_PCS, 0xFFDB, 0xFC10 }, > > + { MDIO_MMD_PCS, 0xFE1B, 0x58 }, > > + { MDIO_MMD_PCS, 0xFCAD, 0x030C }, > > + { MDIO_MMD_PCS, 0x8032, 0x6001 }, > > + { MDIO_MMD_PCS, 0xFDFF, 0x05A5 }, > > + { MDIO_MMD_PCS, 0xFDEC, 0xDBAF }, > > + { MDIO_MMD_PCS, 0xFCAB, 0x1054 }, > > + { MDIO_MMD_PCS, 0xFCAC, 0x1483 }, > > + { MDIO_MMD_PCS, 0x8033, 0xC801 }, > > + { MDIO_MMD_AN, 0x8032, 0x2020 }, > > + { MDIO_MMD_AN, 0x8031, 0xA28 }, > > + { MDIO_MMD_AN, 0x8031, 0xC28 }, > > + { MDIO_MMD_PCS, 0xFBBA, 0x0CB2 }, > > + { MDIO_MMD_PCS, 0xFBBB, 0x0C4A }, > > + { MDIO_MMD_PCS, 0xFE5F, 0xE8 }, > > + { MDIO_MMD_PCS, 0xFE05, 0x755C }, > > + { MDIO_MMD_PCS, 0xFA20, 0x002A }, > > + { MDIO_MMD_PCS, 0xFE11, 0x1105 }, > > +}; > > + > nit: use small letters for hex values. > Ok, will update in next version. > Hi Gregor, > > tested it for rev. B0 and it works as expected. > > Tested-by: Dimitri Fedrau > > Best regards, > Dimitri Fedrau Hi Dimitri, thanks for testing!