From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.126.91 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796002327; b=oL6NWhFmNEn6fYLbCNWM9S1RK5WZmF9x4W9ZGWqUpmMmrufmRLPW8z/OQ4aBK+RRbzV+ ZkIHwq0cM//qF8nP4Hzq/WZfvkttcJQvaxQLtMz3/3OzbzG0mxCKVEMJ4Fr1Io8epqqzi +dMWsUmviVjdOdUvz4LyMz8X4zdGH2+wCvss/7E3KJKM7ODA2m5OXJ/uFBpIZHzBoGG/c p1sLFZ0bkTvbHSLrM0UGIf9Xe+99gmwVI/FSnwOjPPHwLjZdjLna/uHmUj2eXJQxIDd8v 44Nb4g8a1S3jwBi7vO5cmOgA5eeC2Z/nqIykrFBe0SfSOtlmIwvUXpsd6s9qLmaaRZA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796002327; h=DMARC-Filter:Received:Received:X-MS-Exchange-Authentication-Results: Received-SPF:Received:Received:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-EOPAttributedMessage: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic:Content-Type: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=lvSu7AhVLbMLhLIQCXtxPqvA7yUCBiyk7/6hYNrWuec=; b=syr6WlqHsU0nyMRERTquI9RsOUCkE0+eZ1y3y66BmhyBxuFmN2QICrpoDT5UsOO67VbU POYarIE0YIkCBVsvHPuv5l/yP2snWrXTRgnsCcPlXE1e21g4N7KiZ45kGt+EppgUf/mij KC/1Onhm+lG/K8QMdVP1dLYb+r24PiZlI86+qHMKWW1GIfy8ys1dolv1ljVKVCo1eMu3v f2lZlgXqQH6s/GWaZlW7FXkJr/gi/FXM9724ZW/B9/ShQf88KYRArbNBrZNLwG0r7E0pt 6nW93mruTCmkBJQMoSJeZsbt2o3pgm0G2Wa6fpKrfHPKxAHi/KwYwTVDmwA/BgrbgXw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=cixtech.com; spf=pass smtp.mailfrom=cixtech.com; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.126.91 Received: from TYPPR03CU001.outbound.protection.outlook.com (mail-japaneastazon11022091.outbound.protection.outlook.com [52.101.126.91]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE6D6606A325; Mon, 30 Nov 2026 01:32:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BE6D6606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cixtech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=reglzUwW+bzeoO3KXlTCb35e10PY6omP7fbSIo+Yd7HMvQOH+l5sJWv40ZU6ScGBp7XwQPYX4fII1oVsLu3m1hHaDXpy7g0TgbtvUaOGvHNGj0j2uV+hGH5XtUmKa55WWGNMAGYhYkKXLCsDYRd0WIzEWvUcnxsaK1yMB/Rgw2LJVlwO3uEofwKwlhyUEzdmVEoVytXpuVg0KdIrRwDhpCbpPaqWuH5esSKvKE+0AGfUrY70D9blNEurhemG8O2TOudJ6yhtmDNNTnB/g1iR0ViPTEi8xRlQAVdkEkYtrBfn05+FqtStRkWWin1HJCA15M8VMKUpkdnaaCdRXZtMCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lvSu7AhVLbMLhLIQCXtxPqvA7yUCBiyk7/6hYNrWuec=; b=BcUUZceX8ZMPO1IHUFXI91ukThV43dKg0XecTcsu02MxD7ZjxWsHxSvwE5/ZOYR1YORMwXNnCnrfb3TA0K8x3xCYOM2d9lGH7yBNHlg6awzQWI8q9MO+cOJRsyNZ2WG+ziWbiN0lwUioUyO6wORUBFPdPeJkkGuKBse8ckQO2gNA2vOQrfVuIFIjmmQGLnAvznXWHZwJVwfr4Bk04y2PhEOlsHtPMNoNR9fKnprTitnwNQf59uT2ZGtIPWK0/4DbuoCpk9v4PdR/Gw7zIX8RxmkGDZDpZmbcPnrIRKFtYP207t2yCdG0g42RObpnN71qS1fJkj1WRsilz0db5Qnn0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 222.71.101.198) smtp.rcpttodomain=cixtech.com smtp.mailfrom=cixtech.com; dmarc=bestguesspass action=none header.from=cixtech.com; dkim=none (message not signed); arc=none (0) Received: from TY4P301CA0071.JPNP301.PROD.OUTLOOK.COM (2603:1096:405:36f::10) by TYZPR06MB544661.apcprd06.prod.outlook.com (2603:1096:400:10e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.8; Mon, 30 Nov 2026 01:32:03 +0000 Received: from TY2PEPF0000AB87.apcprd03.prod.outlook.com (2603:1096:405:36f:cafe::3c) by TY4P301CA0071.outlook.office365.com (2603:1096:405:36f::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.12 via Frontend Transport; Mon, 30 Nov 2026 01:32:03 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 222.71.101.198) smtp.mailfrom=cixtech.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=cixtech.com; Received-SPF: Pass (protection.outlook.com: domain of cixtech.com designates 222.71.101.198 as permitted sender) receiver=protection.outlook.com; client-ip=222.71.101.198; helo=smtprelay.cixcomputing.com; pr=C Received: from smtprelay.cixcomputing.com (222.71.101.198) by TY2PEPF0000AB87.mail.protection.outlook.com (10.167.253.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Mon, 30 Nov 2026 01:32:02 +0000 Received: from hongliang-System-Product-Name (unknown [172.20.64.180]) by smtprelay.cixcomputing.com (Postfix) with ESMTPSA id A0693427EFDB; Mon, 30 Nov 2026 09:32:01 +0800 (CST) From: Hongliang Yang To: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Gary Yang , Fugang Duan Cc: linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cix-kernel-upstream@cixtech.com, Hongliang Yang Subject: [PATCH v9 1/2] dt-bindings: phy: Add CIX Sky1 USB3 PHY Date: Mon, 30 Nov 2026 09:31:59 +0800 Message-ID: <20261130013200.2967788-2-hongliang.yang@cixtech.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20261130013200.2967788-1-hongliang.yang@cixtech.com> References: <20261130013200.2967788-1-hongliang.yang@cixtech.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY2PEPF0000AB87:EE_|TYZPR06MB544661:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 0af52a92-c2eb-41ea-019c-08df4e81bc8d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|82310400026|36860700016|1800799024|23010399003|5023799004|6133799003|261009223027099003|22082099003|18002099003|3023799007|10067099003|56012099006|261102123227099003|261028144727099003|261026121527099003|261026140227099003|261022105027099003|261021121427099003; X-Microsoft-Antispam-Message-Info: PTfJ9/zRMzqSwfnyMLOEtLQgHbbUuX06XOGu4kDH5v2mc2uQG6qLDV17ILFgr/QLczzoj867mSEYtkNn3KIUyuITav2JGUdwiLI7pXWcqcNoCDWLiGdIkFE0MlSMK7KmaIVSzloGU0NIHHzQR97F8I92HjDrpes34CKVmjzOKW0u6+iGuulckZMPmBvRKxoFJyGMAPU2Ne8H0G3GYaEBGG4zpiJty8I1+BFUbtscYk+NtHTJNvJlvr2a+THfFcwbh3HZA28X06oCRyNcVOC7dKDidgwwjUimuzwyHxdmUN6F9/2eJ5DwYnBny9nxXgEx9wVrPvAx6Qt8LHY0uJiLldZtBqkwQ9zGJ04Mc6YHDyim/XwqoclfN8gT6YLLzVS7Z7wvOdO3QPAzGpJXSmzR1tXVjruuW+vqvX8/YqVoWqeCCjAR1Vh+mOAx4AAsOTUeV72Y7MZdKj5vH19HmjivdPZfwdN+EhfxrGrQ2gV7enJ44DdE2GGzU1CKPETrnwJf7q7TL54wy9VvXHlsiSG1WuOKRa9vWc5fU8UGsqOKAdYyRiEjHvxaj/GessHRMdTgJ8A09qXxnWB2PBEArsyRgfUXzldCdzOu6JBQjMnQhVHYOuQH2WVVDcGEdzm+Ahn2Pl8fBk/ZIqhHUOkLJlFK7w== X-Forefront-Antispam-Report: CIP:222.71.101.198;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:smtprelay.cixcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(7416014)(376014)(82310400026)(36860700016)(1800799024)(23010399003)(5023799004)(6133799003)(261009223027099003)(22082099003)(18002099003)(3023799007)(10067099003)(56012099006)(261102123227099003)(261028144727099003)(261026121527099003)(261026140227099003)(261022105027099003)(261021121427099003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fuJoXBoJttjINbjatHZhdQTY0VJEEUCa+7jO8nCpHlXSIevXX496wfVGtDiqhLyzR8BzoUFAkflgtiZeqFWWZb+t6fsGqZtMpm57PVl/LMkv4q2V73CK6VC0owx988ldoCBkrstv2ZhQ82Iz27e1mqedk6AWQyfWFggJfwOVwDxreNV/R5IZJqLBoHikSlXDeePt5qKRDX8sCrJdA7ymOk+r6lenGLOpTDoQ7fzlaTgMtylLSEFbweCfWxaMboQtChWo2ADeQc0G33oFLO3Q/ZkWJGESH1TaIkGC+/eYM4ecqvebFgPfPhiKQFVsZWeiCim56ql12gbtJiQX7wjta3OXZoBi/aQMwrQoBzPMtv6cXq2+klLKaRB4TKAIo0RRpGv6NTiERWDYyjHidbn5LEWTOPGWP0CpjrLPLSB8A/gIR4TS98qPd7YWDuWcb8bb X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 01:32:02.8623 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0af52a92-c2eb-41ea-019c-08df4e81bc8d X-MS-Exchange-CrossTenant-Id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0409f77a-e53d-4d23-943e-ccade7cb4811;Ip=[222.71.101.198];Helo=[smtprelay.cixcomputing.com] X-MS-Exchange-CrossTenant-AuthSource: TY2PEPF0000AB87.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB544661 Add device tree binding for the CIX Sky1 USB3 PHY, the SuperSpeedPlus PHY of the two USB3 Type-A ports of the SoC. The two lanes are not separate devices: they live in one register block, share the same clocks and resets, and are brought up by the same initialization sequence. The node is therefore a single PHY provider with #phy-cells = <0>, referenced by both controllers, and the driver reference counts phy_init() and phy_exit() so that the block is set up once for all of them. Signed-off-by: Hongliang Yang --- Changes in v7: - Describe the PHY as one provider of both lanes and say why. v5 had one child node per lane, v6 dropped them, and nothing in the binding or the changelog said where the second lane went. - Reword the description so that it describes the provider instead of the register programming of the block. Changes in v6: - Drop the per-port child nodes. The parent node is the PHY provider with #phy-cells = <0>, as the block drives both lanes and the ports share the initialization sequence. --- .../bindings/phy/cix,sky1-usb3-phy.yaml | 78 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml new file mode 100644 index 000000000000..205140bf84e7 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/cix,sky1-usb3-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CIX Sky1 USB3 PHY + +maintainers: + - Hongliang Yang + +description: | + The CIX Sky1 USB3 PHY provides the SuperSpeed lanes of the USB3 Type-A + ports of the SoC. + + Both lanes are programmed through one register block and share the + same clocks and resets, so the node is a single PHY provider with + #phy-cells = <0> that all consumers reference. The driver reference + counts phy_init() and phy_exit(), so the block is set up once for all + its consumers. + +properties: + compatible: + const: cix,sky1-usb3-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: APB register interface clock + - description: PHY reference clock + + clock-names: + items: + - const: apb + - const: ref + + resets: + items: + - description: PHY reset + - description: PHY APB preset + + reset-names: + items: + - const: core + - const: apb + +required: + - compatible + - reg + - "#phy-cells" + - clocks + - clock-names + - resets + - reset-names + +additionalProperties: false + +examples: + - | + #include + #include + + usb-phy@9210000 { + compatible = "cix,sky1-usb3-phy"; + reg = <0x9210000 0x40000>; + #phy-cells = <0>; + clocks = <&scmi_clk CLK_TREE_USB3A_PHY3_GATE>, + <&scmi_clk CLK_TREE_USB3A_PHY_x2_REF>; + clock-names = "apb", "ref"; + resets = <&s5_syscon SKY1_USBPHY_SS_RST_N>, + <&s5_syscon SKY1_USBPHY_SS_PST_N>; + reset-names = "core", "apb"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 93abbb315065..73783abe027e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2903,6 +2903,7 @@ S: Maintained T: git https://github.com/cixtech/linux-mainline.git F: Documentation/devicetree/bindings/arm/cix.yaml F: Documentation/devicetree/bindings/mailbox/cix,sky1-mbox.yaml +F: Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml F: arch/arm64/boot/dts/cix/ F: drivers/mailbox/cix-mailbox.c K: \bcix\b -- 2.54.0