Message ID | 20240716-a38x-utmi-phy-v2-0-dae3a9c6ca3e@solid-run.com |
---|---|
Headers | show
Return-Path: <linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org> 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 CC18AC3DA49 for <linux-phy@archiver.kernel.org>; Tue, 16 Jul 2024 20:53:33 +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:Cc:To:Message-Id:Date: Subject: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=vQ9pSUrrBowV2qSlnlOjDY6sBbfYoYUWwkcceuCYkio=; b=gG1+Z8Pc9k1LgY /04frSrJIkFklL5jBlsvhKeCSZ2n84yUdVjtWI4pWxSDoRtj3ku5R71MmdesGbt3YzNcivaYi0wFk 5CidoGdZXYkhH2GQ8Onj2sgNIrtjnDx8lYBs4mgvU9mRPfF1T+O4LM6S9FbfG6OcvsQSOLnyIxHhW BIWANZDrBpQCtLSeVTwgpsv4EV3yrUCdho9MvwonXmfSs27V7P83Z0zJW58qessNZRfx/fSXKo/o/ hn9YAZMkYFrKd9d7zYDt2uGaYeRxxJs+l5n7IZPCEK0W5w4B7gFID6tHrVA/SGEv8LLPUJFSdYsGE RJ4pEn/lQwV3eoJ0QLhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTpAz-0000000Bjlv-1cra; Tue, 16 Jul 2024 20:53:33 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTpAN-0000000BjXu-2kco; Tue, 16 Jul 2024 20:52:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Mi6CetBsEL8pgRcuo3pK5xsjvg0xxRlJBeKmb1VLtupzpCBWKrz+l+WspLzdOgqnHMTEIVgQ6hK+npko1HbNBaHbV0itHY/Vv1Jz9IryPMDgDlFrQNKtX38IDIJ8Bll1ussv3ZDXuZZoJoy0sr4p5uePjDTivaMi6f//5bsPd/jybqXn0YcNmshvFEdMHpc0vahJwLGffhs67WK8f1RZI/oMh6+je2/Bwse6XUoa+jJPCM1IWmhPjeSkZM+yHqtie2Prr07F1pjs4EfTdd+H//wwanw3xaG4mxR+2aOvzuxgxBAnbDl6aYKw8shlpI2Qp4YMbkFkWtXTK4ov9MC7XA== 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=qoLjOlIljrLB31KwWA/jhpX7M1e/THvrNgazB0DVYjA=; b=Yoc9Y2MsqwUY9QF+0clNno/zOJSXD4fDodG0/1E/GqNd/5hIW58ppK0St6lyiMGPLVmsUnYHfepKBXUxiL2nv1T8O2ASiBHNPV+IpdjbDk7FSOfDQCdCkLFL1AQ96lZYmfTIQh/JCidfu+9U4s6poRjdHuJa66+RdJQIyr38jyPQ1/15i0d0tPOtPFtjqKAq0zEASN/Aog6zJp8VHF9Hj9PQJEHgzPZvePNiyNtPCuGH5B6saudLR9iqzLOuFE6cQp7LGupGzqVQ9LDOWVd5xE1Uj8VwJXtreD1uBslTRuErFmJhUWQkTp6kZLk62mrsgPUrRJYYshEk4rtB+I9RDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qoLjOlIljrLB31KwWA/jhpX7M1e/THvrNgazB0DVYjA=; b=k/+fRV+b6lu8wGWC38cu2jzBZ8zZW7ks3CmbgXecmDyilkC7UsHVkobsKn9KgmJ4f/RlGnB6tv2NdZx3A+V30EoEgULq9ja5v6+dHUdQ6iNmRMk0bP4oG561SUTTqJE471nFvBem7l4JLk7Rj0kxIkIkUBGxQOB84D2BtI2aPMY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AM8PR04MB7907.eurprd04.prod.outlook.com (2603:10a6:20b:237::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29; Tue, 16 Jul 2024 20:52:44 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529%3]) with mapi id 15.20.7762.027; Tue, 16 Jul 2024 20:52:43 +0000 From: Josua Mayer <josua@solid-run.com> Subject: [PATCH RFC v2 0/4] phy: mvebu-cp110-utmi: add support for armada-380 utmi phys Date: Tue, 16 Jul 2024 22:52:36 +0200 Message-Id: <20240716-a38x-utmi-phy-v2-0-dae3a9c6ca3e@solid-run.com> X-B4-Tracking: v=1; b=H4sIAJTdlmYC/3WNwQqDMBBEf0X23C0xadD2VCj0A3otHoJu6kJNJ FFRJP/e4L3HN8O82SFSYIpwK3YItHBk7zLIUwFtb9yHkLvMIIW8iKrUaFS94jwNjGO/oZBUC30 1lpSGvBkDWV4P3xtezwc0Oew5Tj5sx8dSHtUf3VKiwE5XUgurVWvlPfovdxhmd279AE1K6QcGq 5g+swAAAA== To: Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org> Cc: Yazan Shhady <yazan.shhady@solid-run.com>, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Josua Mayer <josua@solid-run.com> X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0125.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::20) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AM8PR04MB7907:EE_ X-MS-Office365-Filtering-Correlation-Id: c79f0622-f116-4401-6511-08dca5d93d6f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|1800799024|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?+oCbtRwNO7NRCEBxX2xUGVIMU00IKFD?= =?utf-8?q?5BYGwEgBmaP1lheDh6H1trSY8BOM2LU2ICPwqbxeDaSqdQh6d1SKF7wp7tghtwLGp?= =?utf-8?q?vkH9qx9Ip8py26EUa2hXAlNrqzkFBddVIIJecP4w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ynlr8iRVQ8aYa9xb1q?= =?utf-8?q?JTfqX1UrXy3OfAttpd136l6e3U2Fw7UycrAxN142Ama+cUIV/3Y+FNO8RPsJ3l1Sm?= =?utf-8?q?xOx9LMvFoah5xxHt+cfcYqhMKFID/YCO6ApLe2uJgk6gPBDBrPml0M+cpZTFSxUGa?= =?utf-8?q?WXiU3KCyYA9mA2twFVbduxG6+Kti8ssNK6udTkkcCimcbRz0N3SsWxuMzoCCW+dxt?= =?utf-8?q?tk2pitAnVG78MPBRJJGFJyjb39XgvROT2zTThBvlP+hPDANPeGioqIuCR1++5xOiX?= =?utf-8?q?abfWTgSYhC/mEfTD9X+E/J0cuuB5PWh/A8J1RNLcYDU79N+7Ddtoynb0=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(1800799024)(376014)(7416014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?yujwkbe4c8/axCZrX/vuo+id6UOL?= =?utf-8?q?S5z+jaRwJSxUgQPNFVc3VlYuOTy3UhzdZZyqsc9qJ1uiaDzRqp+TkKKIgYFGrlvCL?= =?utf-8?q?RRjj0xW2ah5qK2o7QUmKdOag2cDkfBtSGeFCt2R9L/XWUxeD1UCtXJz1VRVDiM/GD?= =?utf-8?q?itf7GgyWSAY6hw5aKsY5+d/vD4BW9M9wQJwY5Bh4QYekZ2WDiOVXLH/SwVudwFZSX?= =?utf-8?q?x40NGQ5LIsqg/PczQFHHxXLcKmBEYQZ62wR2VyYlEPELrVgz6QuV996kfn1s70np+?= =?utf-8?q?8jtQEs/hXBdaWpnI/VtLt1EOV8oNsfRvaXMnyWOUg2ymHBM5KLw/oMdqBWbY7qSkp?= =?utf-8?q?wYYRvrc9dTINEt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IPpwCzwDXWrEXIsLwQF2atC+pliuZBgmqGwmFx6caMEOaTTZBCsNLlXNkc/UgNJ?= =?utf-8?q?IzVhVUwnHFkiEx8wWGp+Lzt3cV2ElhRAShK5jaIh3m6J60oq7jCbnN0fgGcdAgx5r?= =?utf-8?q?+d4aDUGl14JZs/cfiOCCvT4TR2U2aKvswfLg7As5xzjF33NFT7YyMhYthxSpa0jwE?= =?utf-8?q?0/Vq1gVu+4D//q7UeR+Ucy8rZ2sNLaSJ2Wi8jcGL23Ij+lSotpMRoamRV96UQOe+4?= =?utf-8?q?BYIeUeUcwBLiFwXQ1GxxObktR7HNYEE9iZS9PmKKcnhgn5p4o6TuUVBggX/gZk3Yh?= =?utf-8?q?oiUUaKjoczJF?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c79f0622-f116-4401-6511-08dca5d93d6f X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2024 20:52:43.8106 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qLhqx+EDREvfI1h6wzh0kkC2J/m8OrpSZy+ixChYYP8HuOx9OE7oU/ZoQ5wzo6nVTkXD3ypmdyUHtgeiSHaLtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7907 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240716_135255_738325_0E639A22 X-CRM114-Status: UNSURE ( 6.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list <linux-phy.lists.infradead.org> List-Unsubscribe: <https://lists.infradead.org/mailman/options/linux-phy>, <mailto:linux-phy-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-phy/> List-Post: <mailto:linux-phy@lists.infradead.org> List-Help: <mailto:linux-phy-request@lists.infradead.org?subject=help> List-Subscribe: <https://lists.infradead.org/mailman/listinfo/linux-phy>, <mailto:linux-phy-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" <linux-phy-bounces@lists.infradead.org> Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org |
Series |
phy: mvebu-cp110-utmi: add support for armada-380 utmi phys
|
expand
|
Armada 380 has smilar USB-2.0 PHYs as CP-110 (Armada 8K). Add support for Armada 380 to cp110 utmi phy driver. Signed-off-by: Josua Mayer <josua@solid-run.com> --- Changes in v2: - add support for optional regs / make syscon use optional - add device-tree changes for armada-388-clearfog - attempted to fix warning reported by krobot (untested) - tested on actual hardware - drafted dt-bindings - Link to v1: https://lore.kernel.org/r/20240715-a38x-utmi-phy-v1-0-d57250f53cf2@solid-run.com --- Josua Mayer (4): dt-bindings: phy: cp110-utmi-phy: add compatible string for armada-38x arm: dts: marvell: armada-38x: add description for usb phys phy: mvebu-cp110-utmi: add support for armada-380 utmi phys arm: dts: marvell: armada-388-clearfog: add description for usb phys .../phy/marvell,armada-cp110-utmi-phy.yaml | 15 +- .../boot/dts/marvell/armada-388-clearfog-base.dts | 8 + arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 8 + arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi | 30 ++- arch/arm/boot/dts/marvell/armada-38x.dtsi | 29 +++ drivers/phy/marvell/phy-mvebu-cp110-utmi.c | 209 ++++++++++++++++----- 6 files changed, 244 insertions(+), 55 deletions(-) --- base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 change-id: 20240715-a38x-utmi-phy-02e8059afe35 Sincerely,