From patchwork Mon Jan 20 13:50:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri Fedrau via B4 Relay X-Patchwork-Id: 13945137 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AE26E1E22FC; Mon, 20 Jan 2025 13:50:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737381030; cv=none; b=MGu010LXLVVToR/rAY8DoBG0BI9QS72q0/yiIOTrwsSLMLtFDJi6FBmXA/NCwAY2/7m0eQGZGHWtvejFff9VlA3rqJEUqeWdhEoRM4lgKhHEckcLCXhUkD0jiXfXGbV1HjhrNDB5QmKT115ATMsqg4/TEiMzuCbjoSdfQltdeXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737381030; c=relaxed/simple; bh=1ximHPbMmEHEBuLgHpQFBwbcsdYKRx5fYUW+fBDJ4NI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=p+g2jiHX9LROvkt6A2/DsiE7sR4uz+ElEEsi+Y8A/bJKLOAArUFYFiFPhObQ7BnZAkecrC28lrxy4eN6ksgj1hpXKKRRo/2cJ3iLLU/VLbqwVuI6As/BUC8ic0fCxcVCb0DqWGLh5iX1zZZbUACbN23ajAcJc1oqk2BtvLYJX1M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Oa/M5wTF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Oa/M5wTF" Received: by smtp.kernel.org (Postfix) with ESMTPS id 1ADBFC4CEE5; Mon, 20 Jan 2025 13:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737381030; bh=1ximHPbMmEHEBuLgHpQFBwbcsdYKRx5fYUW+fBDJ4NI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Oa/M5wTFtX1O5DURgESD8reMP52NQxnwuU7vQoh1MHLuOIyW59dlIvYZcRInzT+kx OmOypZuCEfe9SloL/4NjdH4/hVWWviqxNZRP5TiZXzMgXbu5wsCtnAi66e7ZAUb/h/ ctc6LeBGbXXZLCWxvJRY9JqEM3d3RSPzTYZVQEEjj78rz2UPQ+glN/aSD9ATXmclrg 6MP4jMuMhPSQ4/SoMCkKiewFlHdE8fLwCmwNlZf775XXqHUWrRfzvhfaDt8o1vxggh 561hCTyDrFACkW6qwatot5YtxAZMMdl9Wye+3HKNGKDS7NFouQUKnik/k2xf1WWXYQ NK4aU5wi7HcQA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0928AC02185; Mon, 20 Jan 2025 13:50:30 +0000 (UTC) From: Dimitri Fedrau via B4 Relay Date: Mon, 20 Jan 2025 14:50:21 +0100 Subject: [PATCH net-next v2 1/3] dt-bindings: net: ethernet-phy: add property tx-amplitude-100base-tx-gain-milli Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250120-dp83822-tx-swing-v2-1-07c99dc42627@liebherr.com> References: <20250120-dp83822-tx-swing-v2-0-07c99dc42627@liebherr.com> In-Reply-To: <20250120-dp83822-tx-swing-v2-0-07c99dc42627@liebherr.com> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Davis , Andrew Lunn , Heiner Kallweit , Russell King , Florian Fainelli Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dimitri Fedrau , Dimitri Fedrau X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1737381028; l=1340; i=dimitri.fedrau@liebherr.com; s=20241202; h=from:subject:message-id; bh=o9/uYCQMqtj7aA5WdqSP5I74ZoABiwwXrCBqYSBeaRI=; b=HzyehliKyx0cDcSOOj1zdjTN00xtHbx8p1oWQhEu6VA+ZEHW4tacLpYoWV+UINcjc+I4h7prx Qi9d8HHyTAmD0s4KUAnN6oAkRgRiacX5MoX82SV9n0eucRtIOeerheh X-Developer-Key: i=dimitri.fedrau@liebherr.com; a=ed25519; pk=rT653x09JSQvotxIqQl4/XiI4AOiBZrdOGvxDUbb5m8= X-Endpoint-Received: by B4 Relay for dimitri.fedrau@liebherr.com/20241202 with auth_id=290 X-Original-From: Dimitri Fedrau Reply-To: dimitri.fedrau@liebherr.com X-Patchwork-Delegate: kuba@kernel.org From: Dimitri Fedrau Add property tx-amplitude-100base-tx-gain-milli in the device tree bindings for configuring the tx amplitude of 100BASE-TX PHYs. Modifying it can be necessary to compensate losses on the PCB and connector, so the voltages measured on the RJ45 pins are conforming. Signed-off-by: Dimitri Fedrau --- Documentation/devicetree/bindings/net/ethernet-phy.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index 2c71454ae8e362e7032e44712949e12da6826070..ce65413410c2343a3525e746e72b6c6c8bb120d0 100644 --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml @@ -232,6 +232,14 @@ properties: PHY's that have configurable TX internal delays. If this property is present then the PHY applies the TX delay. + tx-amplitude-100base-tx-gain-milli: + description: | + Transmit amplitude gain applied (in milli units) for 100BASE-TX. When + omitted, the PHYs default will be left as is. If not present, default to + 1000 (no actual gain applied). + $ref: /schemas/types.yaml#/definitions/uint32 + default: 1000 + leds: type: object