From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 6E8433E5A03 for ; Tue, 19 May 2026 22:08:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779228508; cv=none; b=urpVZIKVwoKUGy8wXxO1dOVo4GC0driHIeKkcxjU8zqNaVSo+tdzZxjR4cZRvZK6zWBZp86YVK5VM/LlhK9Ixb9Wnjmkq3K3BCB3Xj98bQjV7d2qz/Jf6iKbx5rVouGjBELWqg9XNG3pPMX+if1gpmswl+wle276fi93zpP9ufE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779228508; c=relaxed/simple; bh=3vo4EjwZ47aVA7WSUMBXBxtlqtLd3RODMItLFpKEVLo=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oS4MPQ7Z9BRVdrs4UQVhJECnKqpQdr8lym3svhENKh4G+IK5YseN9ifDBhkfi6ZOl5jgsxBLa/uXLua8b3iK58WUZRmFSpRjSO9B92Z4LM87jGFpcfGY/FPq/0q0hCyctbj6W5aTRmUG+6EKdjVDSGroqFI+sIbVQiEXeKQiOcI= 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=IcQJCRBm; arc=none smtp.client-ip=209.85.128.54 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="IcQJCRBm" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4891c0620bcso26318765e9.1 for ; Tue, 19 May 2026 15:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779228506; x=1779833306; 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=+Pl3lC2lLvKX6xR22U61HDIBcCG9FBCIFd8HUnvukfE=; b=IcQJCRBmKt4I0V0mAzlhRJ5HefdFTLUdARSmEHIFYRzIlj5dGgLcgL8DaekkA8/55b dB48TmFhCvz9zqOBnU3a1ACZp4hddLTrzwCVHoeK7notGM4K1HFDpqOe7HWFvovbwlnE /gBCsR/G6pIIHyLjHM7XliUJg9ojheWQT4FSEv7crSqsx0aGGwxt9t4wkQI8yKGRs0U9 pIOPz0crb9g01/R2zrFbDkd+rrYPimj3UIMD4f6/wKuNFEdaBMlvE+oH0Sp4+mRhHOvp W7vxyLZWu9PWSjBFK841NytHqpg13eeql+nbvQo5vEF7GpuD8UgYdTSzWaeAVmm3eG0t VOGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779228506; x=1779833306; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+Pl3lC2lLvKX6xR22U61HDIBcCG9FBCIFd8HUnvukfE=; b=jOJHRxyeeLfOHK+r3UmFFlGT4hSLLsUxKf0vUv4t4fMAaYQu7FF9xgivHTIgZAkpZb 8Uy7RFpeYUVBgl428yADFPCnlVCL0Log1RcilOQqO6oR3apQFpoMJ8D89aQGtoQbgoAG EFM5PUo9MC0axUb/oxzzDRDVMYTxoC3eSlbKukXc5upocD121krAaAVeZQ6X0gHMBttm WZweyd1KV5LseKy/OBln5ZHEwlhGcglZqtKwizaBK5zcvhBYy7sUcvlMzI1q84uZfQ63 1iolAQQp47pcpNIuA0Sn38HjoFBk4Xc4zs3xOCgjaJT0fY/gNJjHUYtOvBBQzWQzmtmS GhOg== X-Forwarded-Encrypted: i=1; AFNElJ9O41R87Zq6b2fvQpU8tc5lx1ShCqAmr646W5la5ny5SFJWjM8paXigXiqX7938iAsgKk9tCdv5s94gg28=@vger.kernel.org X-Gm-Message-State: AOJu0YwtXEvGnM1py7BzQ7qPNxROfPwQX0XzRqikDBjX8r2jPjq17wuc u7G6ndhDzfy0hG9rtk6mDW1QjvRLM+e/jeNnOsm/LCsIICkLLI+eHfB6 X-Gm-Gg: Acq92OHfCPCtHG/+LYYghB6dF6pugYiUbUoKtTaYbdrT0WWVelczyuhxCsIGMzUpmQg RLgU7LYL1UhS3dH5yRfsI0XYX1HC/4jAuCUijSevm3ZpZ88FJb4hWukcQIOMpXrLJMIlMAdj35I DTwaAJNFxTlnSS2fq04Wyk7T9U1j48aPpwXFVV3nm9/P6EPQJNPnfrO6eBVI+KtPW8A3XKspR7Y 2/fobbHLXP41nt6/T3TzT/LRsAdDPPVTu5KB9dPFVlFQK63e+CloT2QFgizu+iKXqtxtOKm9ZaZ Gmg5CuczMcPqVRGAnMA52bTl6Op8F1QoGcqXALl6L5ftg7hyLMmUaOknfZxutsxGeF4MCfjIxQ6 KflR+AMqb0/IyvlRgWusH8oMMzUj7AIluhKeGsQr5utbumttYAd3A/o5NqSvPqxedEBZ7TwBXsC U0eFRFTSMqUlXQHaaSFXWT7G6C/Eev7wgQvFj754UY6WgoMp1x7TEzfcmNwB42gLNROJNBuu/mm n32PG5oJJZh2LESKlT1 X-Received: by 2002:a05:600c:1593:b0:48f:f199:79f7 with SMTP id 5b1f17b1804b1-48ff1997aaemr165115725e9.27.1779228505743; Tue, 19 May 2026 15:08:25 -0700 (PDT) Received: from Ansuel-XPS24 (host-82-55-252-101.retail.telecomitalia.it. [82.55.252.101]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-48febe585absm118304005e9.19.2026.05.19.15.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 15:08:25 -0700 (PDT) From: Christian Marangi To: Michael Turquette , Stephen Boyd , Brian Masney , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Christian Marangi , Vinod Koul , Neil Armstrong , Lorenzo Bianconi , Felix Fietkau , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org Subject: [PATCH v7 1/6] dt-bindings: soc: Add bindings for Airoha SCU Serdes lines Date: Wed, 20 May 2026 00:08:06 +0200 Message-ID: <20260519220813.28468-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260519220813.28468-1-ansuelsmth@gmail.com> References: <20260519220813.28468-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: 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 Ethernet. Add bindings to permit correct reference of the different ports in DT, mostly to differentiate the different supported modes internally to the drivers. Values are just symbolic and enumerates the Serdes port with a specific number for precise reference. 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.53.0