Message ID | 20240720-a38x-utmi-phy-v3-1-4c16f9abdbdc@solid-run.com |
---|---|
State | Changes Requested |
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 58A70C3DA49 for <linux-phy@archiver.kernel.org>; Sat, 20 Jul 2024 14:20:24 +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:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=k4VXDpeeaGYk6yrPibgS+6uUDW7GZsXInqsQRyY4iao=; b=I3By1pV7WxnFFYnNiCmnVr14z7 zkej6UGg8bknOD5Crr2USvuT5xHI9oDMfCSacoMPrQrPNfnbzjolCvEkEggT70DrUz2+njJbTERY1 rMJ1DwDYeXnS4x1g/douYixEoKxETfzvJ+gk1enfrzlNpCHkcXqZ/GjFa0El1VRfWAnbqgg2Lwbot tXcTnmmKnX+uzIuab11anM5aGP74lDlywnqOtZoBuFiNZaT35FugAeAjkeOKowRwUT/eZFPTh4CGM YX2Piqth2WiBb4cHFV3N6sN1DQ8DPjXls3vz5NjwK8gFjkzMW7d/1pf9zCOy6IhwsjZ8VUN18jl4x 17mLvaLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVAwh-00000005E1L-3kut; Sat, 20 Jul 2024 14:20:23 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVAvz-00000005Dm3-20RS; Sat, 20 Jul 2024 14:19:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=w2c+5iLE/2kiYkik0OUX/c2SvsZ7IcxG/dxcjjcKhf1BcZHeRRqorrt5M9jicXCxtGCPgKW9Tq1H0ql9Rk7zXZBdneX3qXq1tupfzMcBozUQkt+Ucs+kJKnbCHkwGxNpdEcFuAmjG+KvMAs0y08Dgit2TKAijYH+HChkAHxCNa/dMtglNC8EK9n/FWLYVRrlukC+Y7wXRGImHjWbKTNOhFuJUsMgsZaj+iviZr0uxF+FdJcn5FyRkXKNBe/aUoeq9FcxM4jKMmMU/+OpnvWmTz2K8pQw+V6UgiUXxX+ws9rOaGHtVVOyb28T+RRfP2/djOeFK1d+nZw/YK9/xiYAiQ== 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=G6a6IAQC9jgQBIwNAynro/8oUziJrqhx6Id91r5G4uA=; b=LtC8RIvBJ0opsEpIbhvqrNEfuFRbkxgwDPkZVMlrwedeqO1XjeV3W5it8SN2+pqYIcQlREkqsPHjMqBaDZb8gQ8Rzo5xUwkOHa7ygTQRC2RELolMt/GLDZ9RO2Xc9cl9ebuCsXM5naEqJmLvVXsU52gPtQNwvqvWT+u91leRTp/CRyj7FqQq/Vx8X1cOUKh1dzZgIkgNyxL+NEWSG+eApY7PC0O4Q5omTQFTI0kriolOSOLX8C56QC6S+p/SULFD8G+oWJL2cPkAegXrmOY3LnqLwATTzTmKWpGaqXYosGwePJ29ARFFHx4vRa+UvlZ595scoDqH5iaRRrPWYZteBg== 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=G6a6IAQC9jgQBIwNAynro/8oUziJrqhx6Id91r5G4uA=; b=eUwq9d0vGEEJRPm1cYLGEJXOgAvcjKSJRYdRgrgHqMW/YvaitWv2rskCBFVMnBGS9YirS8zaWE2ycIXduJU11wr7U9boBL++bwH3tciJ0lYdUeLk0y2dJSFYQBXccsdHjLQdkEklonYMjWezyZKW5DFiMeYJSsRyTnxB39QEYzY= 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 VI0PR04MB10299.eurprd04.prod.outlook.com (2603:10a6:800:238::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Sat, 20 Jul 2024 14:19:28 +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; Sat, 20 Jul 2024 14:19:28 +0000 From: Josua Mayer <josua@solid-run.com> Date: Sat, 20 Jul 2024 16:19:18 +0200 Subject: [PATCH RFC v3 1/6] arm: dts: marvell: armada-388-clearfog: enable third usb on m.2/mpcie Message-Id: <20240720-a38x-utmi-phy-v3-1-4c16f9abdbdc@solid-run.com> References: <20240720-a38x-utmi-phy-v3-0-4c16f9abdbdc@solid-run.com> In-Reply-To: <20240720-a38x-utmi-phy-v3-0-4c16f9abdbdc@solid-run.com> 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>, Russell King <linux@armlinux.org.uk>, Konstantin Porotchkin <kostap@marvell.com> 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>, stable@vger.kernel.org X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0190.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::8) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|VI0PR04MB10299:EE_ X-MS-Office365-Filtering-Correlation-Id: 599849a0-3229-458e-57a4-08dca8c6f6d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|376014|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?YyOoEfX2imEiD99LFjADus9wmOO5lLd?= =?utf-8?q?0Hme8xYZuQkW3XuBBNyJLayJne9aJU/toQGy7I/jTH65XUwoJMWAAfF54a9LRlQEG?= =?utf-8?q?JzrGb/y4V1oesRH046ohrCS8w6P7lZIHUyTziN/YRXnuBuzm1eMIZuYqTmThb2mHX?= =?utf-8?q?DqdnIcDTVEXSO1My/j3+UUcOZ+ew78Y2hYnpubmMFRy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f-8?q?I8gYRU2IBso6ekkeokpImd+UNLzmtLWFONTChUN5xsSZstHnCid951+OlwPeBCQgx?= =?utf-8?q?yR6/Rjf0utcsC4j4z+UzP9AYmr/pfPimyyjhljUtoYm6cLU1nMQRcNRsUXpMZPUQZ?= =?utf-8?q?gXGlBP3XsbXEEXV6m6xdk0h7WUFtItXgI03DbqD4EqUgL8NK+f9hWGLVB+j3Ru9IM?= =?utf-8?q?Z2knITFrCjWhYCrYUCYoaaEOYuvNNobELaqxmlC7zFsqHONgM/9Il5jkTc594K6nl?= =?utf-8?q?8UDx+ObCLkVOjxQYUks0h+ANc9e6bD91iXOOnkbdC2D1sIE0W3deosc=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)(7416014)(366016)(376014)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?goUrJ80G9rlB8TU8D0CtUepAYksB?= =?utf-8?q?4A4/LEjVXb7L93F9Q5nA+6zXkGaSqnizQt/zEJOIyDmR39BXNuzN5m19RU/610qGb?= =?utf-8?q?9OM4mOxGfF/vqm7//4Ybg7h2zKy5AFibFbmduhvSSiuqWfBZblKf9vvs/1YagsGTk?= =?utf-8?q?rTiQf1XVDVwKFarxJ4Nb6vh8pPZFapyKsHO/3wIxPcKdY+JL4+U214BDzvxh8RYyK?= =?utf-8?q?1nd0f6s/7GilnCThmD5buBWJ/NL7FyVofvzL7r31M5u9atdfBi6aAFBjUv0f2zHGO?= =?utf-8?q?y9QFzIlMDHrbZQFc83w0ALn4y32bzVhBJAxNSlYCiidFWASJCyQI2nSFxkMUCP0E+?= =?utf-8?q?kHmz+t+31+ikRKHmi3/PVEUEOFrdCSzxjnnDQw/VYNGIM6speOg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fo0a0to8JjEv8Y?= =?utf-8?q?J4zyOlXA8ip+nr1M7q1wj88/bBwyj+X1td4NO7eBUt3+ZKdyvIJ6UIN3fB6g21y/P?= =?utf-8?q?MipCTHNgH0fBoPzho9fXvL0BhPuCkW0ZVxuqX7GA9I+tnvJ8TmsM817B1LWT97W5r?= =?utf-8?q?Xfyo5mo/Tw7wptWar7ol/qMiaJqFvzOfvgpBg8FrniNzDX+AJU9LrkQejKEUv1u8H?= =?utf-8?q?b9zoP8SswwPybRwwHAptccKJMiNhhzDfF+tIWuZW5z/ZHgOd7sZ+AN6ZfY2A/qtBd?= =?utf-8?q?fwNkuwgCRaZC?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 599849a0-3229-458e-57a4-08dca8c6f6d6 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2024 14:19:27.8588 (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: veW1QwUIuXFJF4lyuq6WbkqpaDZx/NvXLx+Ixal3M32Wi2tqpDjFzQ2HwmFr/Veo1QCYlm9mk0mQ5rGVL5g/Vw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10299 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240720_071939_566691_736B2FEF X-CRM114-Status: UNSURE ( 9.02 ) 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
|
diff --git a/arch/arm/boot/dts/marvell/armada-388-clearfog-base.dts b/arch/arm/boot/dts/marvell/armada-388-clearfog-base.dts index f7daa3bc707e..03153186c7bb 100644 --- a/arch/arm/boot/dts/marvell/armada-388-clearfog-base.dts +++ b/arch/arm/boot/dts/marvell/armada-388-clearfog-base.dts @@ -33,6 +33,22 @@ ð1 { phy = <&phy1>; }; +&expander0 { + m2-full-card-power-off-hog { + gpio-hog; + gpios = <2 GPIO_ACTIVE_LOW>; + output-low; + line-name = "m2-full-card-power-off"; + }; + + m2-reset-hog { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-low; + line-name = "m2-reset"; + }; +}; + &gpio0 { phy1_reset { gpio-hog; @@ -66,3 +82,8 @@ rear_button_pins: rear-button-pins { marvell,function = "gpio"; }; }; + +/* SRDS #4 - USB-2.0/3.0 Host, M.2 */ +&usb3_0 { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/marvell/armada-388-clearfog.dts b/arch/arm/boot/dts/marvell/armada-388-clearfog.dts index 09bf2e6d4ed0..d6d7cc885f4d 100644 --- a/arch/arm/boot/dts/marvell/armada-388-clearfog.dts +++ b/arch/arm/boot/dts/marvell/armada-388-clearfog.dts @@ -182,3 +182,8 @@ &spi1 { */ pinctrl-0 = <&spi1_pins &clearfog_spi1_cs_pins &mikro_spi_pins>; }; + +/* USB-2.0 Host, CON2 - nearest CPU */ +&usb3_0 { + status = "okay"; +};
Armada 388 Clearfog Pro has a USB-2.0 capable minipcie connector "CON2". Clearfog Base has an M.2 connector combining USB-2.0 and USB-3.0 plus various pins controlled by the host: - FULL_CARD_POWER_OFF#: When low, M.2 LTE modules are switched off. Many modules include pull-down, thus it must be driven high actively. - RESET#: Puts modules into reset when low. Modules are expected to include pull-up. - GNSS_DISABLE# - W_DISABLE# Enable the usb controller node for the first combined usb-2.0/3.0 controller, for both clearfog base and pro. To Clearfog base add gpio hogs for power-off and reset to ensure modules are operational by default. Cc: stable@vger.kernel.org Signed-off-by: Josua Mayer <josua@solid-run.com> --- .../boot/dts/marvell/armada-388-clearfog-base.dts | 21 +++++++++++++++++++++ arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 5 +++++ 2 files changed, 26 insertions(+)