From patchwork Mon Sep 30 17:08:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Bruel X-Patchwork-Id: 13816822 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9667ACE8379 for ; Mon, 30 Sep 2024 18:15:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xFJ7khs4TQcWl2+5Mk+JFt2F33pF9XGoku9d2lEjuW0=; b=PKDJDqgWOCt4N7 bpqCWnx8dNyNnLU5RETyxOHCJLrpIRjtBjbeK0clZk81sr4Cvvvnqmfc0/9nmHiGJ+bGAUQ1JgcMn KUPFp6tJuBzzir+v12UeeUmyxmajHxIxVUHUNWE9jw4rzoBrh3Hq2GPmdFe8IEkxDBA3F+bD0KLrx sT9cnEod5iuMKBE/CZ5MJe5MnoLbxmwpel/Hqro+GdgeoaT3NyDDXMgpoc/Bd8clTrkmd/Iam+DkF Tdha7WyNlilFgFMG2hH6j2boi49u6xTuzhHzzUTlhC7dUaK6CzXTlKiOYPok6K1fhqt3mLsGgdS16 2qfShUdP18lvKpT77XcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svKvk-00000000TN3-1Lk4; Mon, 30 Sep 2024 18:15:32 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svJvj-00000000LnM-0y8w; Mon, 30 Sep 2024 17:11:28 +0000 Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48UF6erI024278; Mon, 30 Sep 2024 19:11:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=HVbVIuMnYgI/uVf03GAehr thX3/lL12kpBFuZAaZFJE=; b=mElHPizMOTVPDHTayfBISw0XXoBWW8qR8Bsc3H l0MsQqDVoFjHysisV+fJKrkBW6tOQCfWQuqYJRVHB20OAD1+ZLCiSKTAV1C7TFy6 Oq5oIQW2xrCvOIlZ2RC1cGf64gsvQcK5gzzomjNVFvoLNhypK7c2SgezlneOmNNL FkGW9MmNQzSvJMsxoqDWGb8aOz3Xq4jVALCQBO1v+RxNi7oRknrqPUwHCA49RWUf NQk7ch6V0TxLu2icR/6zckMTaojlLPutoTLYeQAPVHDoh/z+fspAYmUC+3369sO6 cEFlEHAgOue4XmQZzuIwBjTWxi0GFWD665/1ems9jFI3wNBw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 41xuc0y8j0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Sep 2024 19:11:11 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 6B75A4005D; Mon, 30 Sep 2024 19:09:41 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C1AA02A5D4E; Mon, 30 Sep 2024 19:08:59 +0200 (CEST) Received: from localhost (10.129.178.212) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Mon, 30 Sep 2024 19:08:59 +0200 From: Christian Bruel To: , , , , , , , CC: , , , , , , Christian Bruel Subject: [PATCH v9 0/5] Add STM32MP25 USB3/PCIE COMBOPHY driver Date: Mon, 30 Sep 2024 19:08:42 +0200 Message-ID: <20240930170847.948779-1-christian.bruel@foss.st.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.129.178.212] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_101127_633566_9CA5C831 X-CRM114-Status: GOOD ( 11.68 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Changes in v9: - Fix bot clang warnings: uninitialized variables and include bitfield.h for FIELD_GET Changes in v7/v8: - MAINTAINERS: Reorder STM32MP25 DRIVER entry Changes in v6: - stm32_combophy_pll_init: merge combophy_cr1 accesses and error path. - Use devm_reset_control_get_exclusive Changes in v5: - Drop syscfg phandle and change driver to use lookup_by_compatible - Use clk_bulk API and drop stm32_combophy_enable/disable_clocks - Reorder required: list. - Fix access-controllers maxItems Changes in v4: - "#phy-cells": Drop type item description since it is specified by user node phandle. - Rename stm32-combophy.yaml to match compatible - Drop wakeup-source from bindings (should be generic) - Alphabetically reorder required: list. - Drop "Reviewed-by" since those previous changes Changes in v3: - Reorder MAINTAINERS patch Changes in v2: - Reorder entries - Rename clock_names and reset_names bindings - Rename and clarify rx-equalizer binding Christian Bruel (5): dt-bindings: phy: Add STM32MP25 COMBOPHY bindings phy: stm32: Add support for STM32MP25 COMBOPHY. MAINTAINERS: add entry for ST STM32MP25 COMBOPHY driver arm64: dts: st: Add combophy node on stm32mp251 arm64: dts: st: Enable COMBOPHY on the stm32mp257f-ev1 board .../bindings/phy/st,stm32mp25-combophy.yaml | 119 ++++ MAINTAINERS | 6 + arch/arm64/boot/dts/st/stm32mp251.dtsi | 16 + arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 14 + drivers/phy/st/Kconfig | 11 + drivers/phy/st/Makefile | 1 + drivers/phy/st/phy-stm32-combophy.c | 598 ++++++++++++++++++ 7 files changed, 765 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/st,stm32mp25-combophy.yaml create mode 100644 drivers/phy/st/phy-stm32-combophy.c base-commit: 9bd8e1ba97b1f2d0410db9ff182d677992084770