From: Conor Dooley <conor@kernel.org>
To: Horatiu Vultur <horatiu.vultur@microchip.com>
Cc: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] dt-bindings: phy: lan966x: Add optional microchip,sx-tx/rx-inverted
Date: Mon, 10 Nov 2025 18:43:37 +0000 [thread overview]
Message-ID: <20251110-unwound-award-a11d69b9da4f@spud> (raw)
In-Reply-To: <20251110110536.2596490-3-horatiu.vultur@microchip.com>
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
On Mon, Nov 10, 2025 at 12:05:36PM +0100, Horatiu Vultur wrote:
> This allows to invert the N and P signals of the RX and TX Serdes
> signals. This option allows the board designer to trace their signals
> easier on the boards.
Why can't this just be done in software, debugfs or something like that?
Maybe it's just your description is poor, but sounds like the intention
here is to just switch things around for debug purposes.
>
> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
> ---
> .../phy/microchip,lan966x-serdes.yaml | 24 +++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml b/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml
> index 6e914fbbac567..21b19e06a75aa 100644
> --- a/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml
> +++ b/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml
> @@ -41,6 +41,30 @@ properties:
> - The macro to be used. The macros are defined in
> dt-bindings/phy/phy-lan966x-serdes.
>
> + microchip,s0-tx-inverted:
> + type: boolean
> + description: Invert the TX N and P signals for Serdes 0
> +
> + microchip,s1-tx-inverted:
> + type: boolean
> + description: Invert the TX N and P signals for Serdes 1
> +
> + microchip,s2-tx-inverted:
> + type: boolean
> + description: Invert the TX N and P signals for Serdes 2
> +
> + microchip,s0-rx-inverted:
> + type: boolean
> + description: Invert the RX N and P signals for Serdes 0
> +
> + microchip,s1-rx-inverted:
> + type: boolean
> + description: Invert the RX N and P signals for Serdes 1
> +
> + microchip,s2-rx-inverted:
> + type: boolean
> + description: Invert the RX N and P signals for Serdes 2
> +
> required:
> - compatible
> - reg
> --
> 2.34.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-11-10 18:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-10 11:05 [PATCH 0/2] phy: microchip: lan966x: Allow to invert N and P signals Horatiu Vultur
2025-11-10 11:05 ` [PATCH 1/2] phy: microchip: lan966x: Add support for inverting the rx/tx lanes Horatiu Vultur
2025-11-10 11:05 ` [PATCH 2/2] dt-bindings: phy: lan966x: Add optional microchip,sx-tx/rx-inverted Horatiu Vultur
2025-11-10 18:43 ` Conor Dooley [this message]
2025-11-11 9:58 ` Horatiu Vultur
2025-11-11 10:06 ` Krzysztof Kozlowski
2025-11-11 17:39 ` Conor Dooley
2025-11-12 8:02 ` Horatiu Vultur
2025-11-12 18:32 ` Conor Dooley
2025-11-13 11:56 ` Horatiu Vultur
2025-11-13 19:13 ` Conor Dooley
2025-11-10 11:42 ` [PATCH 0/2] phy: microchip: lan966x: Allow to invert N and P signals Vladimir Oltean
2025-11-11 9:50 ` Horatiu Vultur
2025-11-13 16:30 ` Vladimir Oltean
2025-11-14 10:34 ` Horatiu Vultur
2025-11-19 19:23 ` Vladimir Oltean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251110-unwound-award-a11d69b9da4f@spud \
--to=conor@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=horatiu.vultur@microchip.com \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=robh@kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).