From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx.nabladev.com (mx.nabladev.com [178.251.229.89]) (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 47343351C3D; Wed, 20 May 2026 15:08:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.251.229.89 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779289712; cv=none; b=uNymhj23IGioVp/dHWldCYOIvmtVVqgQDFwfHvD1FdTA0ntlsuQvilgi5d/j+HarFFIdGLS5KteeHdT09W3nc/5vRRww+D/VgvpFKfG5irNzme73iSgdReZuZpHqK3Hsb4NrJFYXOhyD27q9ydaqL6B8EQAflhvRm0kuWhMVbyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779289712; c=relaxed/simple; bh=FN49JQ/90Rm3OBnfY5y2M53FCIUUiZNT9CeGOKOAhkU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KEi2YuGiq4MGmtagrhr5aUByeg5fMHy7fnF8c5VOIkR11fKXy5Sg4vOAEMqpQLMpfMPOWdZeXedUyTHj09fzP1zrpZfEXh8ZVxrzApbz1KsfUTVvo2I5pnfIN/2p+XpWCyjOc5IhdCF4SMcXpjKkGgVrXzXVrMr0GwD6p2OXjbM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nabladev.com; spf=pass smtp.mailfrom=nabladev.com; dkim=pass (2048-bit key) header.d=nabladev.com header.i=@nabladev.com header.b=GInqunYF; arc=none smtp.client-ip=178.251.229.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nabladev.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nabladev.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nabladev.com header.i=@nabladev.com header.b="GInqunYF" Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 31D04115786; Wed, 20 May 2026 17:08:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nabladev.com; s=dkim; t=1779289704; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=tK9xzBMZUQfFxGGr0FVRb83qyvbMCEUNrkUqA8QZSQI=; b=GInqunYFc3VqqY7ZMp7ojj7PnQlKclEZBTmy8qH/BcsLGbTtf2Ss0tz1f3J9775G3T0Ffi kDfAGE+pc5oWtVHggao60XYSpcM+y5fPAEI2/qo7OxwgeyeByWAI1493R0lDawTPM9aIY+ JlmHVhfvEWXzl7FUwY/MuB25cOQCrBG+1Hr5GQSCBIeCVBH8CttYw7oWzAvJzmqlWTzx24 wut4kl3JynKlJuMQf4UrXBM+16fxwXYUFWVl4x9OYv78sihETmaFgZcpgB+9zs/IPVcQXR 7Lz7v3k28xEBV+GRaFTT1UaGxfUyX4ZkNgE856/2ULzqCQaKwJvim4Q1qW+1Rg== Message-ID: <26199882-dfcd-4ed4-b657-d640f4ea7cc3@nabladev.com> Date: Wed, 20 May 2026 14:00:55 +0200 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 3/3] net: phy: micrel: expose KSZ87xx low-loss cable tunables To: Fidelio Lawson , Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marek Vasut , Maxime Chevallier , Simon Horman , Heiner Kallweit , Russell King , Tristram Ha Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Fidelio Lawson References: <20260520-ksz87xx_errata_low_loss_connections-v6-0-43f33d4aaf0f@exotec.com> <20260520-ksz87xx_errata_low_loss_connections-v6-3-43f33d4aaf0f@exotec.com> Content-Language: en-US From: Marek Vasut In-Reply-To: <20260520-ksz87xx_errata_low_loss_connections-v6-3-43f33d4aaf0f@exotec.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 On 5/20/26 10:48 AM, Fidelio Lawson wrote: > Add support for the KSZ87xx low-loss cable PHY tunables in the Micrel > PHY driver by implementing get_tunable and set_tunable callbacks. > > These callbacks expose vendor-specific PHY tunables used to control the > KSZ87xx embedded PHY receiver behavior when operating with short or > low-loss Ethernet cables. The tunables provide: > > - a boolean short-cable preset applying known good settings; > - an integer LPF bandwidth control; > - an integer DSP EQ initial value control. > > The Micrel PHY driver forwards these tunables via standard phy_read() / > phy_write() operations, which are virtualized by the KSZ8 DSA driver and > translated into the appropriate indirect switch register accesses. > > Signed-off-by: Fidelio Lawson Reviewed-by: Marek Vasut