From patchwork Tue Jul 16 20:52:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13734898 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 70FEBC3DA49 for ; Tue, 16 Jul 2024 20:53:52 +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=wiLEP8/T6NzwNCHhzc67ZcGcN4QLKp7dq1DZYZA9YAw=; b=suQ3QIgLU2veRdUR0GgdUsCkIm BKBQfEqV46hLFlTV77mboszth5jeJcK3eBhiF9EQV5rNCnPNMJb2MMn8VqVVroCEDRX7Soj7UhGDm tCS42qcRytHGkQJDDctX7+jlofv6C5HtdeRLcYWw+U0okgVutHn41r1p2U1adU1ilPOn/G1Nszpaz PCdcPFDiSIpf6rye4I0gUy2V6x2gF2j0qrPGEDIQzoSG0dc1xqc16FWlJJr7EnFN2PhfRRzUEyDUG K7dw+H9WtgrvIHaz9QXW196Ju0w0bbXlWd/X9uf8BxCACG03nRPv4P5hZux69KCEufEqie3cXv01c KobGZ0KQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTpBI-0000000Bjv3-0ZKQ; Tue, 16 Jul 2024 20:53:52 +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 1sTpAP-0000000BjXu-30lq; Tue, 16 Jul 2024 20:52:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uA2QhjOhGkJBQ3bBX40ChyesDVtduzshoWryTLywgYNVIGrGVtURO74RN8rSZPndrQl33x0Z31xUCvA9CLTkcC2WNu/3/o7QF8wRmoHsX5UpKOGNGsassn2DKDo3PV4uNFnfd+ChHaX8HG+4ODrYL9meSHqi1e7bwz1ExF+3OqKRSXUb2pU+QXJSkzKBdpdGSF3psQQ5TNVlpEM60YxKiRaBf6AJtvrx50jVJwXarcR9UgEfNKLBkS7PmJIzTCTfCmtxbmvD48yY378l2ad+E7IM6NOguS53MEVA3UdH1BUHurDA41ZHFvTakRsDGsUSWRP/cv6QpXvBJH6alxP3Cg== 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=jgPpoMARCDZtwyufpwR5McVZjH4VaeNPTmvphkPPwO0=; b=ya6VHtGSc/4eW8TXLSlPSvfPVaftnKRcgNjg+1AcwrMTY1olvvTrmH0xPVXniV8RL6f3w3uxplcHD63fBrB7pekCarjBaeBLhch/Qn7w5KF00t7gy9NXo6kyzP17iZq53dw8XTkL9xr9bxwcZ5z4+mBPeG4x485rDZ2ljx2RK2bxVn87Dghe5S0aOMRU0qzDpOqJ2DQMSL5ydUkLUppuoaSu+9YtZeBfqtznQLVwaPQGOegevq84aERTo+GjAoEMp4HnqyNuLtyFxBDTWW2pp9mCq0PJRZMXbtIaFN3H9Dk/24Ul+Bw6tgbD2clnnpfAhlECnC8bSEOsOvyYgg0RgA== 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=jgPpoMARCDZtwyufpwR5McVZjH4VaeNPTmvphkPPwO0=; b=OriEyJQamHS0LpmCFEgAOM+htuyZlepsk+vDK7uwXVlOSCMWDsxxu4y6fMmPhc60eLJAA4jEtKPyYR7USmxsOQap3MJDRLW+DKxF+EYo91Ir1jJEpPK/L/Jaw1kLvglxCYWJyZD8Ft0spohg+8u2nc5eGwBnPWzhsl22eknT414= 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:44 +0000 From: Josua Mayer Date: Tue, 16 Jul 2024 22:52:38 +0200 Subject: [PATCH RFC v2 2/4] arm: dts: marvell: armada-38x: add description for usb phys Message-Id: <20240716-a38x-utmi-phy-v2-2-dae3a9c6ca3e@solid-run.com> References: <20240716-a38x-utmi-phy-v2-0-dae3a9c6ca3e@solid-run.com> In-Reply-To: <20240716-a38x-utmi-phy-v2-0-dae3a9c6ca3e@solid-run.com> To: Vinod Koul , Kishon Vijay Abraham I , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Yazan Shhady , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Josua Mayer 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: fcbb9154-6edc-442e-c53f-08dca5d93e13 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?s20jOjLa4PpKPiix6/nkDct4c7+R5TV?= =?utf-8?q?CyI/lLzO91vDKRg1n7h8WoMUVM4e8JRb4PphtQRH9ZbLbMDb7A++XIj4QNQDyY7MU?= =?utf-8?q?iC2Og/uOLkGPCcXSAJSFZYQQcI1qyDqjXh6belWDHNOVj/n7Jq9pWJ/VN2LoRmO7s?= =?utf-8?q?bU5TBfBVrIL+mPzlM07YR3sDgoYY7lq+Y3FRwHiQ9odNyMdA+1bvy3oP1Fcs7QUmj?= =?utf-8?q?8J9N+LsLzl2hnwi50BA8db/Z7URtTijc/MQFiBNepmbUEElQe57jnBH4D5wrPcGrC?= =?utf-8?q?PO9Myc46Pt1FqxgtsX3e57d2SfAJYm6uU7wKX1IZ08Zt3CuYc0Wx3zpy+XoMwTbN1?= =?utf-8?q?S58G18DLFDjjmkqNNNmH3rzSmJ8prt2qm0ZWQ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hYnG0BcDCR7GSB7d8nJM5sOqKBzFZAy1Lcd?= =?utf-8?q?SMv5MEFKBEbl+YYkgVMw1PXt9D+DUOxqWhkDDcI2yFjlN1AkM6lH0QiNl1gTjaOm3?= =?utf-8?q?WAOFQhkP1TdarjW6oKlxjdcz11BDx2/WiQ=3D=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?W1H1wjkjPrW1odw7dAtbNv7TG5N4?= =?utf-8?q?mhWUQH9bxxZ4jjFoCevihxd2CywtNwnQuVlGOH22/cRrIL8RuWZzKqgeuGgzWf32l?= =?utf-8?q?/ocLRldBE9jD2UXMft4NLWC0wPc7yln5Vi7W90Q1n8g+U0SBlayYQz2bOC6m11BvQ?= =?utf-8?q?IvFsDNfDxdjcQzhmO5TRfC725LGrAHDzkz6eDEZO1DkBz+lyNTh3dO4cz3bZ9UE5L?= =?utf-8?q?hNZd0QwumxMWlIPFkXw7YnnTtGD378/Q4AW3sFXEoQCNXuy7YoxAszNWbgWR3V+hV?= =?utf-8?q?kpg0dCFm41FTvIs6ecHkQ/lm6YbyPcNxNqCmNvBKr5FATDmKo63ez4m8pUa/cWSp8?= =?utf-8?q?cJ2jvQlfeeqstjyY3CI4EqAEmY8U/EXbqfpn4d6/ori2D3DsX7HUSTNAvAAzoq6ux?= =?utf-8?q?BsI+Mzu1QRke/BtBf1RHI5kzN0iEHSEyJz9BjPLeMbpdxTE59L9KKMiVGt5IIMMUK?= =?utf-8?q?tYjdXqiRvOPwUxGE99I2UuuEcEhnsZiYhINGk++4BnvAkG/xB02fV6qgvwpO3M5By?= =?utf-8?q?yI1O6re79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LG/VBW6/XKTh8RJZsI2LTN4LuureJcgB25T0PMJrD7+QOzvCfckqiLrWz?= =?utf-8?q?4sjMFj8XFVIYnHh6QgytW0m+wLRWKCUy4PlII6LMHESPmf6pc6rRnNIrke/Dta8v9?= =?utf-8?q?JYxcbugE3r1o?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: fcbb9154-6edc-442e-c53f-08dca5d93e13 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:44.8528 (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: P9HGy0otIDKklpOflQ3rJJKdsrUelBf37E8vn8HW4LaWFGPxn0wMxgre537q7V8sIg5elXs734MHCDarI6Dzng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7907 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240716_135257_806912_66502559 X-CRM114-Status: UNSURE ( 7.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 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 Armada 38x has 3x USB-2.0 utmi phys. They are almost identical to the 2x utmi phys on armada 8k. Add descriptions for all 3 phy ports. Signed-off-by: Josua Mayer --- arch/arm/boot/dts/marvell/armada-38x.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/marvell/armada-38x.dtsi b/arch/arm/boot/dts/marvell/armada-38x.dtsi index 446861b6b17b..701a1c0c19ad 100644 --- a/arch/arm/boot/dts/marvell/armada-38x.dtsi +++ b/arch/arm/boot/dts/marvell/armada-38x.dtsi @@ -392,6 +392,11 @@ comphy5: phy@5 { }; }; + syscon0: system-controller@18400 { + compatible = "syscon", "simple-mfd"; + reg = <0x18420 0x30>; + }; + coreclk: mvebu-sar@18600 { compatible = "marvell,armada-380-core-clock"; reg = <0x18600 0x04>; @@ -580,6 +585,30 @@ ahci0: sata@a8000 { status = "disabled"; }; + utmi: utmi@c0000 { + compatible = "marvell,a38x-utmi-phy"; + reg = <0xc0000 0x6000>, <0x18420 4>, <0x18440 12>; + reg-names = "utmi", "usb-cfg", "utmi-cfg"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + utmi0: usb-phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + utmi1: usb-phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + + utmi2: usb-phy@2 { + reg = <2>; + #phy-cells = <0>; + }; + }; + bm: bm@c8000 { compatible = "marvell,armada-380-neta-bm"; reg = <0xc8000 0xac>;