Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp561586rdh; Wed, 14 Feb 2024 05:21:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXmHcVK3ZiiBbjhxny3gBJv424kTstjjU8r/t5kcmiHRx6g5byFDREA4mKHzJ+UAQnafQBPMoi4UCP5n0sUDgE3GU8L3UFI9Kv91io8tQ== X-Google-Smtp-Source: AGHT+IEA2AXZv/j3ojvMRipbauEqonpW3fbBFSG7Vo0Kp+5OQh7Z+ak8hWNEgn07B4S/2pC4gjyS X-Received: by 2002:a05:620a:408b:b0:787:2529:6073 with SMTP id f11-20020a05620a408b00b0078725296073mr3000966qko.6.1707916886378; Wed, 14 Feb 2024 05:21:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707916886; cv=pass; d=google.com; s=arc-20160816; b=ZSD2N9Uszrco1sR5+3fxNHmGitd20lVTKhwGCJgO3H4zoI2ZJdmiFCnOROABRFad21 YYEvnThBwUj9nL6gGi3vnxwu1u2uokb46JVbOd8HFtAbIvE3ExAxRi3K7Qy8wCJyi9/7 HufC2LCDQIAomciX3w3Pe3PNxmqFhu0nnACuwWgVvqZA6FKRTF0+MH2yKa1TZfVddHsN yBX+4OBYiqmc6ZVFjF6ZYVidjz8JSiSl1hYQcErhMTZsmgt3c6Te2XcnQfbYtpJ6snIM sqSW5ZK4m7ZkjCAbjG9sO6DalW4m6vEksdbIyGZ9TIIVDWDK2Fifghg4yLAFjTd0KPBt twug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=yrrdWc24p8EoY0O9KXepRzsU4U8z8HdRzd2XY11wwMM=; fh=vaZKoBUs8wfNwM3+wOkF02svsWD51/qe6pY4N2oYRGU=; b=gEUeo+qkS+f/gRv2oYkjYeYkBDaeWmQ1xGuYVnBvEkIE+nW0FLShiLnN/SCbdMMRjZ qYQpTK+svDLUG4uKvXAmWU+OSP5gZ14sVpe77FIqipwJ1YtAdv6evBjrdr3eqF+gtHu3 BluJPJPdeA6IKP2sUTxPmzzrcx363JbaEF1BhIsSagPONKgjQRJAyjwiO11dR2jA4GTx IilynIUQf1UqpZGcLSG4G2v0Mu7icvKWJAtbP+LXfA4C90kZkwmNoyeyHFK6jEIhF+jc m3J2vwhhp2cuYi/Ku7CLds9vvKbOb+xXePKMZT9uNdEXVFUnet7465UIYFGRc0zLGszZ wOvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=dqA+1IG7; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=BsbGSXWK; 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-65264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com X-Forwarded-Encrypted: i=2; AJvYcCVMa/SZVoSGrgx6uLCvYANkucSLL/qpm51hiDZxBa72bRJcpZE0K+u8+aXGsplp+v1B+ml8TtaUS33KKJLs3gwUNZxBNJh1Ng6glAAqhQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vr13-20020a05620a55ad00b00785600855a0si10886410qkn.17.2024.02.14.05.21.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 05:21:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=dqA+1IG7; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=BsbGSXWK; 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-65264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65264-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 72D011C26ABC for ; Wed, 14 Feb 2024 13:21:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EEF254735; Wed, 14 Feb 2024 13:20:58 +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="dqA+1IG7"; 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="BsbGSXWK" 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 8C65C5466A; Wed, 14 Feb 2024 13:20:53 +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=1707916857; cv=none; b=Icu4cITwW3TdNAtiDyP24LT4h0BfQ3Z3PfiSZdSzBTCRVGkS+nW9f+4pV3/L9hsC2d1zVSAwk+SUWNXQQCJy8wg89vdtxuhhty7qwvlBH2muSAK31Z1WxQ5h0QRcs3uSRBDdT9pZucR49VBqxo5Wy3bNJlPDpUPo4b7GDzmY8ME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707916857; c=relaxed/simple; bh=NasOj5Rgwdnt2BKlk2KyEOGaXNw9z2FOCu2Yo3tJ+qA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dezZ4HsC6pKNNXLtRSy2QBAvP0Q4ZyayOv9u/Y0Gmg5YtxSkaEvxTRnNmKb7M7kkJz4KlXXJxVq7QxCxo4599bXBkDgnFGigOTXX1mndsqBCBDRChx3QZOcvR42LZc8BLf8Onzf0EgjBL/1K34b9dLU9KeyroFoUf/KujexJ35M= 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=dqA+1IG7; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=BsbGSXWK 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=1707916854; x=1739452854; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=yrrdWc24p8EoY0O9KXepRzsU4U8z8HdRzd2XY11wwMM=; b=dqA+1IG7iu1jfjWUgY6d5j06RbiW7wlLNvS5iMsbUb83Y+i/orr2IyKC eVgCBWlfLk6OY9PatGIjrqMrlGjO6Dhw0bw1AMQ3/lG11h5rwld74b178 wq8UIDETIEcdDDCKhi93JgJXswjCjloA26S2r5S6gkax85x/QZrg59WsR 1DzhsYsbM7bft5srSNvinqd2N9ZdSzzN2OuuldvL1GpIydaalCERfpdbt QX9gofawkSGYjjRHcxe+sb+T1uNLVHG8195GRiWGc8Yd92zWT+ntn7uZO lPFijvmbDQubIePZjWzU3EoMutsZm3v9CwE9YolRsS9LYW33Y9B5LQxKx w==; X-IronPort-AV: E=Sophos;i="6.06,159,1705359600"; d="scan'208";a="35404619" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 14 Feb 2024 14:20:51 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 96BA316E1E3; Wed, 14 Feb 2024 14:20:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1707916850; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=yrrdWc24p8EoY0O9KXepRzsU4U8z8HdRzd2XY11wwMM=; b=BsbGSXWK9tho49jJ39YbUE6Uo5TOWRI0lL8ji3WEhZ/Uy+KdKIX9EAXomsngooSSusykOG F2WIJaEwMDEkjvdBXDYTGNkUxEWCZOb1c0DiJf7DENtk/zSiZpUorpXQcg9VTg4gfrenuI UqJXS5kCI/c4zhBjDewqXUpqtk2jQlzci83r51waH8KTTX6S4WJk2YJ5RkkkJLzKIhK3/A E4Gh9WQ1LJjWfuh40g7u3S4tBG1Is6/WB/GB9iFl8FwxSImJKO70h0S12UrkAzhzVvlYQe 3AmUUSk4f+IEE1rVK8TIt8NOOCXP3BFkQEgBZpqEj/zBaiu8xaOj4g6Wm0Q+yg== Date: Wed, 14 Feb 2024 14:20:37 +0100 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 Subject: Re: [PATCH v6 net-next 05/14] net: phy: marvell-88q2xxx: add driver for the Marvell 88Q2220 PHY Message-ID: References: <20240213213955.178762-1-dima.fedrau@gmail.com> <20240213213955.178762-6-dima.fedrau@gmail.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240213213955.178762-6-dima.fedrau@gmail.com> X-Last-TLS-Session-Version: TLSv1.3 Hi Dimitri, On Tue, Feb 13, 2024 at 10:39:44PM +0100, Dimitri Fedrau wrote: > static struct phy_driver mv88q2xxx_driver[] = { > { > .phy_id = MARVELL_PHY_ID_88Q2110, > @@ -255,12 +439,26 @@ static struct phy_driver mv88q2xxx_driver[] = { > .get_sqi = mv88q2xxx_get_sqi, > .get_sqi_max = mv88q2xxx_get_sqi_max, > }, > + { > + PHY_ID_MATCH_EXACT(PHY_ID_88Q2220_REVB0), I tested the series on a 88Q2220 REV B1 (which is id 0x002b0b22). The driver works fine on this revision. I understand that in the Marvell API the initialization for Rev B0 and B1 differ. For B0 some additional init sequence is executed. I did not look into the details of this sequence. However this patch seems to work on Rev B1. Would you consider adding compatibility for Rev B1 and following? I tested with: .phy_id = MARVELL_PHY_ID_88Q2220, .phy_id_mask = MARVELL_PHY_ID_MASK, Otherwise: Tested-by: Gregor Herburger Best regards Gregor -- TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider https://www.tq-group.com/