From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 7681F3E8357 for ; Tue, 19 May 2026 22:08:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779228508; cv=none; b=WkCD8683vNkuCG9GEqvCbgam2BcayKGXYWwihle2y5eLCJYhsO5iGEhrEycUSEe8hs+pAl/91Qx2kk3XhdW0OmkTErHeMmWOZKaWsGgPriTUjgkASh8QJjjH9/3xTNxUR2St/DBtSkAQgTGlSBWcgOeizwOF4cekNPsEQe+1Bgo= 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.51 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-f51.google.com with SMTP id 5b1f17b1804b1-488a14c31eeso24956505e9.0 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=EwMTKJLWCVcM4yRbXsl+D2ixNoisKXVAAGg8F3S4YY+wAVZ8bXnoJLyieO1YkkylaY YM0XwFdPZa4kDu5a8FsidVkRE3Xhg4rHtYdrlhFcwfoCm/R2d9jbSvCHcS5Yz1Dmvm8A zRCIIkBVdyLdRebaGet8cmVCHznPxy2C+TcMKMPbjnngFdTqbfKMyTYqhLxfMJ/YYjIZ 2HXTnyR7kfjZphOaMFKQNXi+xNa3G6KpV5u4JUjeRJ8YCAFw5Y/NVeQg3NIGt3PvoRP3 T0WbfC4AWT51CPbx7kWwH6+gXwept2FNx9XS5smSooFihQqsE1+RD+vnTpi+fu8LbqJB 2Xmg== X-Forwarded-Encrypted: i=1; AFNElJ+BJvqNZitmoa15Rnglxh2JOArDuRBhnTrMa93EzclGZcqVjsvhZ3Z+vEEFW8HxlFePrtIb2lPqCQIK@vger.kernel.org X-Gm-Message-State: AOJu0Yza6+sihx20rkDLHAV2cG2dgK/YQJOyCjY/zW4G6viHxZzag1pS Fhr+/cuJzIMT+myHMOcfHgrTMrOCNsfremdVtKss35WFNYQ8cl647ou7 X-Gm-Gg: Acq92OFQz6hA0N1TQzlTr8FW4D42Lz3+0nb9Zsd0/Rhmm+z0Cjd1pn0aakNxCJhlmUa me+0YAAkqYUCfdAl/3NaYJBHBc38JftthBjg8QmGqWved0N8BbOsfMKsa3Hu5iuZ5CAYOmZscBo e0K3wCXkF7/QoM7IdWIiKiMXFufvAiaLVDEFF6lOLvgHzQZgVWYI59lE6lNZAtt8qiuRWWW0lOE UTOZx/ZgAGIsoWBwA6gK5muv2fppL9bLmMLZ/4W4r6BPA8LZkhCSEOfdQ5NMYlPUQvGt301L3wP al7Z3XNL73Vw32zISC+1aJhEJqYnbMMpFSmNKsaduYL/u/jQvq32hKWGAqvpgqKJQp+qabfJxBf wHQQ8TWqanZ6JhV0orcOD/D5JaFa9LKW1vDXlgufmRRPV51TikDxKuc7x3tJAwwnoi/KKsR48BP 5718ODP7TS2XPR1ti+PRnUOONHQlufv82hN2y/L+uX0VCZBzzDT1LnKSQmU+fd8gMeU1ErtBlv/ kn55ZtamZHJsXjN9YNR 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: 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 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