From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 439FBCCF9E3 for ; Fri, 7 Nov 2025 18:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Subject:Cc:To:From:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6o9cuoVHuYMt1TH6qujhRXGKFNSoMuPvXHU7yomYr/4=; b=O94yFb4y3J1mXz Zhe3MV7CWgR3tbC6Fo/i8ydq4u22Z0i2CxAvFV6/t74ST2i6k2ccsA/oVcDl8uoxTv9Hd8BnBKfPj KoQACYzkm38Ck72/k4qoLuyHP30mBY+6/UgKst1gLYq+s03sC8hc2uKmlvi5dPU04bZ/cuRs/Tbhf u+JYoJoIvZgFEQXLrLDvrhtKl5mOO2ZMTLoe0lgi77qr4hOiHDOtkT1QtLagCX5c3Mwu7q/Jj3QZi if1RfyGOr1Qqqqxx8ktRINkcY3bqLKwvi79lIErHVZt9x9pNIylaLs+MQB+iVLipbaRX19Nk4i7D4 t31yZLpAkGVK6rnheH+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vHR0b-00000000RFv-02Vt; Fri, 07 Nov 2025 18:16:25 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vHR0Y-00000000REq-33KV for linux-phy@lists.infradead.org; Fri, 07 Nov 2025 18:16:23 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-429bf011e6cso1044500f8f.1 for ; Fri, 07 Nov 2025 10:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762539381; x=1763144181; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=tVJ2xtJlmj5EezO+VKSHrAcAYjS9yDJNYT/T6/c6kPg=; b=Wv5pGvHUuhMcnON3UGxHZzkvB25ax81aHENI0sCP7bPweJDgfH7GNUKn+m4AqFP2HD +fNS6GafhPV0qK4U5+qILUFc3Bi1s3lOIg+pYE/s3L9+h4OnnCGauqdLd7OLBofQLz5E 9jL3vSRPzw1+KUJ11cHzFtjhXQ+1XLaHYtdNzxxSsajr1IDGraWmrCfgzWKDsWRUHD5Y V1xmNGQgaeHA1o64k45v450fA/pIEVvqXdVoUBgoaG82DJmdxX9hy4qX37RFIKdWAh2I vOfi4qvAdLhnyRT7VaJPPl9PtLg+j7DE/Uc9mniYadD1GjkCxRrNJ976sla4jv8QIEhk gdTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762539381; x=1763144181; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tVJ2xtJlmj5EezO+VKSHrAcAYjS9yDJNYT/T6/c6kPg=; b=A5IVJyh6X4Jo1jHmUU5v46yvBcxgUz6wxdRS0eUCl8AOB1GyDIQGp2ttP566IE1S5o qwBLHWe8wr7RuM8fTbdECxiVOzUQ1TiD1B8NHCMXaYHMKKdYh+GpazFK6xV34GMWuS1f Ff010H6L1V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ab with SMTP id ffacd0b85a97d-42ae5af4abemr3058281f8f.55.1762539380754; Fri, 07 Nov 2025 10:16:20 -0800 (PST) Received: from Ansuel-XPS. (93-34-90-37.ip49.fastwebnet.it. [93.34.90.37]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42ac679c5dcsm8032998f8f.44.2025.11.07.10.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Nov 2025 10:16:20 -0800 (PST) Message-ID: <690e3774.5d0a0220.2246e9.71a5@mx.google.com> X-Google-Original-Message-ID: Date: Fri, 7 Nov 2025 19:16:17 +0100 From: Christian Marangi To: Conor Dooley Cc: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Bianconi , 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 References: <20251107160251.2307088-1-ansuelsmth@gmail.com> <20251107160251.2307088-2-ansuelsmth@gmail.com> <20251107-crisping-doable-365d6b7d60a6@spud> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20251107-crisping-doable-365d6b7d60a6@spud> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251107_101622_802242_65BCFFA7 X-CRM114-Status: GOOD ( 19.50 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Fri, Nov 07, 2025 at 06:14:31PM +0000, Conor Dooley wrote: > 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 > > --- > > 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 Yes the value are then translated in the driver internally. -- Ansuel -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy