From: Conor Dooley <conor@kernel.org>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Lorenzo Bianconi <lorenzo@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 1/4] dt-bindings: soc: Add bindings for Airoha SCU Serdes lines
Date: Fri, 7 Nov 2025 18:14:31 +0000 [thread overview]
Message-ID: <20251107-crisping-doable-365d6b7d60a6@spud> (raw)
In-Reply-To: <20251107160251.2307088-2-ansuelsmth@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1469 bytes --]
On Fri, Nov 07, 2025 at 05:02:43PM +0100, Christian Marangi wrote:
> The Airoha AN7581 SoC can configure the SCU serdes lines for multiple
> purpose. For example the Serdes for the USB1 port can be both
> used for USB 3.0 operation or for Ethernet. Or the USB2 serdes can both
> used for USB 3.0 operation or for PCIe.
>
> The PCIe Serdes can be both used for PCIe operation or for Ethernet.
>
> Add bindings to permit correct reference of the different ports in DT,
> mostly to differentiate the different supported modes internally to the
> drivers.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> include/dt-bindings/soc/airoha,scu-ssr.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
> create mode 100644 include/dt-bindings/soc/airoha,scu-ssr.h
>
> diff --git a/include/dt-bindings/soc/airoha,scu-ssr.h b/include/dt-bindings/soc/airoha,scu-ssr.h
> new file mode 100644
> index 000000000000..a14cef465dad
> --- /dev/null
> +++ b/include/dt-bindings/soc/airoha,scu-ssr.h
> @@ -0,0 +1,11 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +
> +#ifndef __DT_BINDINGS_AIROHA_SCU_SSR_H
> +#define __DT_BINDINGS_AIROHA_SCU_SSR_H
> +
> +#define AIROHA_SCU_SERDES_PCIE1 0
> +#define AIROHA_SCU_SERDES_PCIE2 1
> +#define AIROHA_SCU_SERDES_USB1 0
> +#define AIROHA_SCU_SERDES_USB2 1
I'm going to assume that 01 01 is correct here.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 112 bytes --]
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2025-11-07 18:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 16:02 [PATCH v4 0/4] airoha: an7581: USB support Christian Marangi
2025-11-07 16:02 ` [PATCH v4 1/4] dt-bindings: soc: Add bindings for Airoha SCU Serdes lines Christian Marangi
2025-11-07 18:14 ` Conor Dooley [this message]
2025-11-07 18:16 ` Christian Marangi
2025-11-07 16:02 ` [PATCH v4 2/4] dt-bindings: phy: Add documentation for Airoha AN7581 USB PHY Christian Marangi
2025-11-07 18:13 ` Conor Dooley
2025-11-07 16:02 ` [PATCH v4 3/4] phy: move and rename Airoha PCIe PHY driver to dedicated directory Christian Marangi
2025-11-07 16:02 ` [PATCH v4 4/4] phy: airoha: Add support for Airoha AN7581 USB PHY Christian Marangi
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=20251107-crisping-doable-365d6b7d60a6@spud \
--to=conor@kernel.org \
--cc=ansuelsmth@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=lorenzo@kernel.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