Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 BB9553112B7 for ; Wed, 29 Oct 2025 17:37:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761759448; cv=none; b=QRjiCucq4GjX62FxWEJhAItKMHQwqWLFb/K/uQPt1RL3KbhZuEQzSXHuTUITOUIySAnvEis0WlY7Jutpxm/JnrVx8gui93gQiS7taURYiSfVRtrvTKwRlcuSnofZaz5/ga9oT2tG2FxIkmqCyJ+0WAqrTDOKnMIBncPbRCxrOfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761759448; c=relaxed/simple; bh=xm6eA2ggIWwm5+4MUGHVf4nEyQcxRC2xoi9GmupvDA4=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KhjIee1sDH0lNYkzCWuY+NCjyDxTRLOQ8lZLhtu57nb2UGnBZ0I5eLL1t+b7V9WcZcJkvZqFomNTxLq+46ibX+nhQx5+KUo4Ij0oU0mzfrHDTFBzBOxL4BqejwF44tj5AcvOmooVQLK+3/jpzCpz5B2zzyDSaZV6k9w068xBN94= 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=aplHp2DU; arc=none smtp.client-ip=209.85.221.43 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="aplHp2DU" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-4298bada5bdso89403f8f.2 for ; Wed, 29 Oct 2025 10:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761759445; x=1762364245; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=NhUi6h4m6Y5VXT2vKK+q0h3TDlsz5Xrrk0iweaBViQE=; b=aplHp2DUoyQJqkjzelNeGoAjqmLAE1pbnGXVSj5lnsHowxGQcrE/OFi//MhG0si0Um AaX8vWY0d+WOnMR94jt3MgEMRnvjxQJ+tohXxcXbknv5Q0wbD8OZffNq1pmOFc3tPcER W2kSg+31eX87uZfOrVFlpG8l1V0gh8QP4BGWaRTItMTJUahKRNBWOiK14Z3tyZQSmn6C tU9ABam2FINKbPzGecAPqfb/QXAxqL2oRkVNpKUVAfMqbIbjRA+/pICpcVApgKYnhjVe 8Z07gQW7+tNM3T1ePmGtpZ7B7qkhg0yJ1+zuRDn5P8FWkS/ugw3Pwc+fxY+slfFdBx1z WLfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761759445; x=1762364245; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NhUi6h4m6Y5VXT2vKK+q0h3TDlsz5Xrrk0iweaBViQE=; b=iH3V4pLKXGpnvgTqGoOfGu2LyPqocygiODJTvh2WmIttRb75BY1fLaU8xp0F/wTTtb w6u2uRJ4jNyTXk+KqoCL/wPfBhHctXbncahImsoBb9tYozGNGP87Pnku4YHtlWOVOV11 DI8aOVllR7f2WlQhjHSCea24vxnBnlKOxQscAQznFTFT2rkVUoT6tMSt8bYxz0Hja3cr Ip6txhlSAO5w4OiAhd1q8Jj/rgJg01we0UxbQzonG4H5xxV862sp4fkCqgUwvsgz1Qw2 MpT1Y5wmEOdorjAmxxjazn1g26ujdzel2VI7QTIXlewflXw7h7m4Wxc7dqVOQVJ7pNil Uv1w== X-Forwarded-Encrypted: i=1; AJvYcCWvBgBI+reNjKXykmk0i8CDauNBP04MkPhZ/rMhRg2FBqFEMSEdx+RlI06324Pzl4Kv7+e1kuTw97Wj@vger.kernel.org X-Gm-Message-State: AOJu0YwLpMkvIu/AEdIKlJhd+DB5nIrTY175yWlv46Hb6tCLDevz4w9R k4VgiJl5FnkrhBDOS1T4POo/bUHFNXm5HydCi9bX45QG5qEcNNUVgsEd X-Gm-Gg: ASbGnctrwNdBS30gUNAH7+QuxxwxQzKcw0e7l5nnJTjoRTHUt/TI7oX+SZx6P2bGbNz wJh2HWj5NaFEHaqe1+nHGFY5euiHRthSDovGVanWyWWLTdwLSZ5+ag1WjkAxPopwYHlVol111RL nd3V2F6qD4yJAlS9KUKvPItCcwSJBDJWqmw9Ez5E5zY2imdGrQLHen+Isrr8ngu1s5ExPldff1d xEVBJ9F6Le24Ce5IDjZ0rVkuRGIwajoxSkKsK0FBP9L1Rl2WUvWxQ9X0GhK1zgdKQ5d8SsrEtH2 P1u+jN2fA5fug76KEalMnPCyi5t8P8MlLRYrnkGNV1OvqGHrZrrCVZSTTwD/Ko1dFpeeli/sYh9 +cv9p2/sGVxgtAVJZ6JPQwlIjJYVegXUHyR40/SSjKIH9qpY3ea7QrHpgkKRPsZH+cL2+FuZECs J70axf6VRn0FeOU76jn7w416Wj6abK8A== X-Google-Smtp-Source: AGHT+IHzbLzBMCG4vRWavhz0gR3MN2E4QK6PUFiHctEW/nKzQ6EVw44MxYOuM0Le4svI/Ot02aqVPg== X-Received: by 2002:a05:6000:2c0e:b0:427:632:cd3f with SMTP id ffacd0b85a97d-429aef88c52mr3318335f8f.28.1761759445032; Wed, 29 Oct 2025 10:37:25 -0700 (PDT) Received: from Ansuel-XPS24 (93-34-90-37.ip49.fastwebnet.it. [93.34.90.37]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-429952d9e80sm27493844f8f.28.2025.10.29.10.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 10:37:24 -0700 (PDT) From: Christian Marangi To: Christian Marangi , 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: [PATCH v3 1/4] dt-bindings: soc: Add bindings for Airoha SCU Serdes lines Date: Wed, 29 Oct 2025 18:37:09 +0100 Message-ID: <20251029173713.7670-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251029173713.7670-1-ansuelsmth@gmail.com> References: <20251029173713.7670-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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..33c64844ada3 --- /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 2 +#define AIROHA_SCU_SERDES_USB2 3 + +#endif /* __DT_BINDINGS_AIROHA_SCU_SSR_H */ -- 2.51.0