From nobody Wed Apr 8 09:37:20 2026 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B29F74218B9 for ; Fri, 6 Mar 2026 19:02:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772823731; cv=none; b=SjjRvnHIweCMQLkyIJnH5Qhx+f8GlyrgioWucroOQqg/ZMtnwQFN8XmW0N9WeWWQztiIRAZPR+wVk9ImobH1YavqOcf+DYgSQlfXaJT79MjI9QHij+kiyunyUuGUmdyu4zyy4CKZxXGo110tJLikj8w92yhoySLwUW8cySMWgrM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772823731; c=relaxed/simple; bh=kqEpoeU6uwUw7UJCVSou/auM1cXuat3qxhal/UfK2Xg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=koWaolJhJC+qyEQc5Y+wTm1ExO2+rZAtmrca+tM0sj1dShSCIU54XLR0bfYuT45U6YuQ58eWgis1lagMLvvA+Oq8lCfmm6HeRgtd1WJRt1RGeVKn6Wl6yygEa8WOvSuQu+Zms6nersBKZEt1/2lnd39YebHFWZaZIZ71i1fWelY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Cfis297d; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Cfis297d" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-439b9b1900bso4394549f8f.1 for ; Fri, 06 Mar 2026 11:02:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772823725; x=1773428525; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uq+Zu8LykB2khmPRxrzoypE2Ot8bOB1NxKiqjP0T/vQ=; b=Cfis297dbnUr80yteHF1WECRpD5yghqQmiEz8kCWtFCVmUTOCWWJQEZC6dCZNvnsrl td1jg9YKQbn97nmI5FgqvKXSPrI/NhMvBy9pzdmwHgSeS9bGKkBeBBjrYuCgGTsDyd5l N3hq7J+J5EeQrZUqHlhHygw8xyOw3TbXD1LceXPgvz0k7nqphL1VDc6827dv17+Qa+sC GbHy6VilqhD2TAq8Zvtevz6wzLsbxmFG+40NMIZsaiXqOOW1aAMlQmTMY/pmT6I4iuNV SYmgsrJK6OIJqS9+dNvdQ7XDufGposy9BPLLoDqh8zQdfjfhi7je0HhbuIVmLuIDkFBK CVWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772823725; x=1773428525; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uq+Zu8LykB2khmPRxrzoypE2Ot8bOB1NxKiqjP0T/vQ=; b=YZt8F4OKBZ0VCjotklAB3/dx7Kt8+eRAjYQL0LRceenHn7RrTCiwP2Sgu+WlndnMDV +Xg1049yD+3hhK1HDx5QyS0SLEfh41rylC+YZMSMJD6j5L8Ir2aqIuMdOUgLlWB88t52 BbeNZhQ7LIw7Ug2QJw7hRFxaXmF+KNxmRSq0WKmMzfzfnEeammjfol5nWWzj8eHWxMIB fnau8GWTRlXPlz8vYfXuL7mAIPDkCHEL1M1LG9uaJStp0nm57caxkW+bBsKP//Ki78ie P+/JSR5Et6Yf+/d3mdCU+bcgn/37eN22QqZrf0Z8wQwUfq2U42lMiv3ELHCS47fbXm04 Vlpg== X-Forwarded-Encrypted: i=1; AJvYcCVoFWcqEstmVKZ3xYnTjTdkDiKZ60lAvGFigp40skZ3BQ4nQkOBySSWCgMMJcvdHmCzwvwNsrg+RixqlB8=@vger.kernel.org X-Gm-Message-State: AOJu0YwGDwIv/LZnMXs2iY5Ob5nr+UorEtHREY7UhoMMuTa2whx5tnJC o28Y8fhLynYTA+ckX+zMd026E/CeS8Wk1fEoKtswk8cNLgujZyt2+/vM X-Gm-Gg: ATEYQzyeebPid9x0AMPDn7jQZ55QUPP39HK1tYaks5neRZ6n/AEbCokSrccJU6z059x fcK+MjcxgI4lKNqxrQAOjIoyS4JBOgnTShcuqi+gTU8YoEixjmKSHdNxUHqFRzJhhD251DWai7d HFsXl1M/wD+LeDaBmEjdCY+2r7FXUgMaDCN/lsBjwh119PTDXML3We/Gd/KLx/dtMOQ/7Uqtv3y yOvEjx7mSyscBe7tkw79/uRtMQz41y/d0tksP5A99e/z7B754zDmOk2KvDZKAqhhAjooqwv3ySp r72Ph4K/K/ELgPlJdqsYRqPdTgJwQpeNGzfSENl4Ick4b8TBi3UQQHqoh2JGcoPlDSUg5Erb4mF ZSRcet/P+AH8MN8zaBQqO21Qygn39mo0yrMcW18inWieRX45MhHrZ4igUX8BRCGRertY3kNTPlO j1ckJAgAEfLfwUgLmOMaBcRxyQR1qogpn6GTsMk56OXj8JE3GoGILkMAQ= X-Received: by 2002:a05:6000:4313:b0:439:a95b:3c43 with SMTP id ffacd0b85a97d-439da65e31amr5770839f8f.21.1772823724684; Fri, 06 Mar 2026 11:02:04 -0800 (PST) Received: from Ansuel-XPS24 (93-34-88-122.ip49.fastwebnet.it. [93.34.88.122]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-439dae2ba66sm4743436f8f.20.2026.03.06.11.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2026 11:02:04 -0800 (PST) From: Christian Marangi To: Christian Marangi , Vinod Koul , Neil Armstrong , 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 Cc: Conor Dooley Subject: [PATCH v6 1/4] dt-bindings: soc: Add bindings for Airoha SCU Serdes lines Date: Fri, 6 Mar 2026 20:01:50 +0100 Message-ID: <20260306190156.22297-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260306190156.22297-1-ansuelsmth@gmail.com> References: <20260306190156.22297-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Acked-by: Conor Dooley --- 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 + +#endif /* __DT_BINDINGS_AIROHA_SCU_SSR_H */ --=20 2.51.0