From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD28912B143 for ; Thu, 18 Dec 2025 08:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766048383; cv=none; b=uZSsV2n7omngZmFaIOl0olwNcGSCziu5gFNhGOSP43fGmpi66Zm87jO18gLyxkzp3eXkpZ08cqk93wY4MF7xdcAQUG/kXe8oyHbvAc14R6VLwvdIF5NYenn9md6GflR23gn8E8kt/osV9UB9yK+3IhpXGAMNdgJryJ8EKv05lbQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766048383; c=relaxed/simple; bh=7ZE8YPQl7QsEhuKovaLGrW39lp3Jy3s9vIV+4Kv2ZBE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M28MEgNJrez0ErBWGYrZmuxhTeMsZmY9YcXp4XfkzgTDyZ6tcilrLyCwB/klvtBhrUYwEd+sWLvgYwTA9rO3VqViqQ5QXpHDHgDIJUjZGvUEeQIs783M4Y20oYjEmc+acY/AMqaW46g9EuUz/sVNecE1ZkfSJOm+mV4peBu9Fxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lV9hhaQl; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lV9hhaQl" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-4308d81fdf6so152717f8f.2 for ; Thu, 18 Dec 2025 00:59:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766048380; x=1766653180; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=om2rKE1N70JJX4v2/KTDKJc7zTx25w0NNYinUpFagbI=; b=lV9hhaQlmT9xH5Qk1aelHxDmRnbcj2JNUm0zvUXX6BTIzYzDgFvgSooARdvnhDOfnn x3diu8N8W8b+BzAiVU+EsdbPG1RoQlCOLcw5bXJhia/AJm2cJG1NVE3XZgnRyF8gLmQk KsILHfi3ko/P/tlnOj6t/+6QwGSRs5YAHP2usPRIM0SiOJO0/P8L8X7flNsUidmk/an9 x+0gF2bOMqauME+ktt/8k/zyGshC+p1gW4A0Wts7hHLUQ/3gyk2ptUoo2CTV4L1Hexlq 2zdHJek6DhFL17GtwjB3GKzebndVVvq+MFd/ZjrhKd+M8dg+58otg7GIxrqyI3X6T2hK GH/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766048380; x=1766653180; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=om2rKE1N70JJX4v2/KTDKJc7zTx25w0NNYinUpFagbI=; b=e4urVuoE1ETOYef52tpmqlVszDBkUMgv7t9F33NkK+4mtRrjlrDMpFN1hDapg57Loo WWTw8/wrxsUd0rAZ1nCVA/y/Ds40Ch7ZohLoVGwThNrEQdt676RmqTBT2iHH8/+fLPHc oF2xQnzrONUxeJGUFtOsPXVaDX66/xkm+39zeVQM/e++mS+mvgDP+wQCCn7CQ4B3VqP/ VWBCYNGbUxiTKVbAl4UGQzceZFYc4w7Uy9dpfU9sv2udWpzSFRr7oWWxNyqGnJvw50RH a9Lfz84hUgzj9woyizPYl5Ea8WvR3vQvfglZncoffHAOlI8ucWNqcV5oMBKhMgrm1lOD pS/w== X-Forwarded-Encrypted: i=1; AJvYcCVJ4lP9PT7Is9UaQcBjXR3N+CcwoPm7yJ2YeajEoFEQYvQwVJ83sd397aC8xLZOTUgfMxMQf/hZDnSkcz0=@vger.kernel.org X-Gm-Message-State: AOJu0YyI1ORXS8FohXv5SKrPeQJE/kgrIx2ZA1PoK95f67VfkIiaAJas eChg3q7sgNBms0GppN4w8i4476DAUVHkVBvjoHpJHZ2qcEz3xeieowjc X-Gm-Gg: AY/fxX53a4MZspPvQggUj9G6qRmaAyWkenFvLMpSQVCKYnDaggefIN47iytQMYFamrL 4gLfrRk+PjMcnQQ4yNwfFpelbWeM9ejfn1IXu/BbcoPVaDCYkgQajjnedkpW64IQsKgU73r1K7V 6Vks6iZP9OdPiS6vGQPlH0SJF7UMv0H09Jz4O8rapuYuD+lZ1DxmwzqnBHzmKxRO52ybPAS6qFT mZgdEyzQRbmntyYsJUdKSij+wcc5jg9lh4e5WLIJU7rUQVF0DZahhAPI9zwjSJSEI9s1NRzF9ew tgc2Pk1rAPZcjeHrTwJy2Owcx/wMUtLu/A1Y6cEWD75qdOnuA9ww3LooR1vxDNkNF2OAF9Vf8s+ 4tCjAVJ1E/o3U9zV0vQnGmC7UEAr3tL3hEBkE1BIhwXCDjkqoaE8DS7LLZugHBAc6ob4+KYLYIA P8joFZ7fEGaw== X-Google-Smtp-Source: AGHT+IHxOQV0spgMiB52IXhgfbDdjuVcdRSJjF49j8AXe42emIt9cYPpNASAPSENE72KVOdCKF+RWQ== X-Received: by 2002:a05:6000:310c:b0:431:9b2:61bf with SMTP id ffacd0b85a97d-43109b26377mr8616701f8f.12.1766048379911; Thu, 18 Dec 2025 00:59:39 -0800 (PST) Received: from eichest-laptop ([2a02:168:af72:0:12b2:a0ec:fe74:248]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43244998ca0sm3716959f8f.32.2025.12.18.00.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Dec 2025 00:59:39 -0800 (PST) Date: Thu, 18 Dec 2025 09:59:37 +0100 From: Stefan Eichenberger To: Andrew Lunn Cc: Rob Herring , andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, krzk+dt@kernel.org, conor+dt@kernel.org, hkallweit1@gmail.com, linux@armlinux.org.uk, geert+renesas@glider.be, ben.dooks@codethink.co.uk, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, francesco.dolcini@toradex.com, rafael.beims@toradex.com, Stefan Eichenberger Subject: Re: [PATCH net-next v1 2/3] dt-bindings: net: micrel: Add keep-preamble-before-sfd Message-ID: References: <20251212084657.29239-1-eichest@gmail.com> <20251212084657.29239-3-eichest@gmail.com> <20251215140330.GA2360845-robh@kernel.org> <20251217135519.GA767145-robh@kernel.org> <49385cb4-6ce9-4120-9dd6-c08d763f0564@lunn.ch> 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: <49385cb4-6ce9-4120-9dd6-c08d763f0564@lunn.ch> Hi Andrew, On Wed, Dec 17, 2025 at 06:04:56PM +0100, Andrew Lunn wrote: > > > I think the ideal implementation would be the MAC driver calling some > > > phy API to apply the quirk, and then that gets passed on to the phy > > > driver. Surely this isn't the first case of a MAC-PHY combination > > > needing to go fiddle with some special setting. > > > > I was also hoping to find something like that, but I couldn't really > > find it. However, I will try looking in that direction. At least we can > > identify the broken MAC via the compatible string of the MAC driver, as > > they use two different compatibles: 'fsl,imx8mp-fec' (fine) and > > 'nxp,imx8mp-dwmac-eqos' (affected by the errata). > > Maybe see if you can use phy_register_fixup_for_id(). That sounds really promising. Thanks a lot for the tip! I'll try to address our problem by registering a fixup. Regards, Stefan