From patchwork Sun Jun 2 15:49:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13682951 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 F0A58C25B74 for ; Sun, 2 Jun 2024 15:50:17 +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=qm4hdTDwo54Z4QgEp+vx6ZAjZ/QdcCGItajjmsJWEJ4=; b=JNT3OPNtYptMY7oVJqWPf0gG9M kmNv/TckwNe0629rFKq1fdYZKr12tYg8iN8K9J+ZbH4l/JJNyTYpZp927JBTedhTei2VQcnHyjwvG avOouQYU3jZWemmc9fhQ+f7O9YYZNqdcfElntjDX3jDDE+3VMy1OfS+EQx/3G8Dq+4sTaqI+OJ1Xd zKHIEgMwnV+hl6p1pM4jbtdYK3TtU/sDFqDZWrXAEG+n/PqJOx4tXLLYH+XwFfLxqSyqQJeb0A731 o6/pdLU/nrY/spl+RV9+clLrpOKc1XwVqdyBHmJs5xM50o9shh9+BZTmYblIfh+PGheRMRJzhBARf OiNg/zzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDnTE-0000000EWYi-36fT; Sun, 02 Jun 2024 15:50:08 +0000 Received: from mail-he1eur04on20722.outbound.protection.outlook.com ([2a01:111:f403:260f::722] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDnT5-0000000EWOd-1fnW; Sun, 02 Jun 2024 15:50:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OE+CyJzHnW/Anr1DsHJ2hAOZv8s2VQFMTzQf1rzdxmeAQUPowNA09/VEI2/R6si66HfyXyDC1GIPZg6ZjK9faQPvNZBOSkgLTLwMvtXH/y5RMewdG0PBW6PRvk3khS2WKhjtrBWfQCqjcGOkNpnv7q1DhhY4OxMcTBOnFVlLh5v4oo4RHRST9n7WJyh1NhKlcXwmcD5PxPXwlfv+Jz42KGrbYSkmbvPIt/j0whPI+v1uuTuFMpGKFihPOtgKvrssIJeGazmzgqBbjVO4vqWc8EQSHNK5IsBuKXCAq7VPOAxiqLAkzZvLKmW3pYviGjQJpGumJS1MWRciZPFQHZ/YUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=mYWAqpYh6fe+fjcs9FOHhvuWGx4jThQuhkmel/RCxro=; b=XGOYV6EjLHukLs6utM+k5GeXW7Q7bXwiI905E3zCKLaoavlh/ROMtpuztJLOj119adrAIgDuDm2wPmVCFsu7iE8c++CLtafyWf+7TG/xWj6Ffq84XyEgfh5UNojueTJLo9nm6L2mGu+zWIO+E5qLaLhe/olIgiIoUCoudYCf1qiuqSr9vDBXkySRND6xUQXWnlWQfPRVBButUMMkQf5nOo8sxN9C4lorV61WsB7dDoiPI5FGJEyjh0P159KpgjjKSl2TO3z6hgFuqgltyPuhkPe4zB21JTJ1FyK7AU27B0egh+WCHCc01yIKRQhFPuPlKiQJ3z1AcWBfWoPjSXuNAw== 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=mYWAqpYh6fe+fjcs9FOHhvuWGx4jThQuhkmel/RCxro=; b=eWZ90Rk6sv8cGHpoVWEX6J8KKK/2YsLuQFM0n43K+bbb729gch4minnHJccOJpSf2fvWvFNXvJS0L6lk292FhuCC1134GrQa4VPdCd+kP0Pb37y4QMwHf8LHrmBnCslCxghyxI+9KI4NIYZ0OfJdz7qt6O3JjIco01NSJ87bc6E= 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 AS8PR04MB7512.eurprd04.prod.outlook.com (2603:10a6:20b:29e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.27; Sun, 2 Jun 2024 15:49:42 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529%7]) with mapi id 15.20.7633.021; Sun, 2 Jun 2024 15:49:42 +0000 From: Josua Mayer Date: Sun, 02 Jun 2024 17:49:39 +0200 Subject: [PATCH v6 4/7] dt-bindings: phy: armada-cp110-utmi: add optional swap-dx-lanes property Message-Id: <20240602-cn9130-som-v6-4-89393e86d4c7@solid-run.com> References: <20240602-cn9130-som-v6-0-89393e86d4c7@solid-run.com> In-Reply-To: <20240602-cn9130-som-v6-0-89393e86d4c7@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Jonathan Cameron , Lars-Peter Clausen , Daniel Baluta , Vinod Koul , Kishon Vijay Abraham I , Konstantin Porotchkin , Richard Cochran Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-phy@lists.infradead.org, netdev@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR5P281CA0045.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f3::12) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7512:EE_ X-MS-Office365-Filtering-Correlation-Id: 99550be6-2804-4202-4861-08dc831b9e44 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|376005|1800799015|7416005|366007|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?c5z0syCvUHRSr9YBcmwHm4OJ7JAGImI?= =?utf-8?q?XbPLg7hpdqyz8biuEKa9p8IrA8D5rr7kB+pMzKlxUw2skhV838eltNOOmTmOq8kH6?= =?utf-8?q?WbLPou6rZuyZNXWDM5jFsJrlYJuaQkiQmaZpVJAgcHVF3Ypwgl4PgexIvKOZ6sWxE?= =?utf-8?q?/HEIMkaVyi+7BhCyJGeJ5AxK3qgGawRouYzFqU16DfHkP1hxJDIKxH33ExGkaSWh3?= =?utf-8?q?ig2O0Mz4agm2jBIp1lc7w0Ak0AajNiiVRuMRmrz1rFF3soTgrDjQWUiTJv0lxni5G?= =?utf-8?q?h7cHz9tgbgS7K4B5LN3jm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acwzndjMUQq+pv5NlUU?= =?utf-8?q?4joSL35OtX2wAgWgbmedmPHMW7360FYdDKukJpQRd4OK55QrXz8pMLITOF8NKy7o0?= =?utf-8?q?4Poa5QtWp24H9aMOU0jNevb0+WSZaEGV7/CoN32QWnGpbBXWQ7y0JGSo=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:(13230031)(52116005)(376005)(1800799015)(7416005)(366007)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?KVpi91rSvO0PEXkpKLwrfksNVviE?= =?utf-8?q?/Ir3yYCwFx/Rj0BK0GK+uRwZt7kNpu9fZPjn7VJfqXXOrOuJAub/3mdy2K/Jw0pG2?= =?utf-8?q?MQRMTXMaiJnwwf5yrk7Dqa7PK2TyOE+oRBwbZBqoPPcXMCQmE2M6K0dC2KInNr6d+?= =?utf-8?q?phSF+9QMrY6PqAhKVPNqp0AXn3VITe0dXiX0LaybBAZA9wD1fJMNeiNa50MsbN6eg?= =?utf-8?q?vhBzooQ9Mg0olVp59ohjVuCkb4fc+0YZUkh9mQ82zbD2ZUirUblFt/YQtjNaXsLy0?= =?utf-8?q?ZatYlajrnlaUoYG4KATRRgzM/JcUxbGHseTOv418ar+7SU9l+tW1MwxcNysAalWYm?= =?utf-8?q?QNcSrDNZ5KSLaj6G+R1WBEUTgusT/DP2Wei5uXS8XQMFrebRFN4zMyUijUajCyT9t?= =?utf-8?q?ZjzyVR6dg74wF7x2CGFd4U+yZFH6dI9NMnZqs3ufzCTxLrACvbb49AZG+Ra4+ee5s?= =?utf-8?q?3bPwEYvdKep3+6abAHUKNv0TEDP/Amoxxwm4YE5Ank3QDQF6tbYan5ZqQK83BtoOS?= =?utf-8?q?JTnqmFUP0/C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u6TRwRrFAVdgZ+Mj3KVnSupRa8f+3o1yK+3QnNF5asiANYm959dcK?= =?utf-8?q?Sb4iA9qGAu7tfGIrzQGbGbYchUNB8i63ZeK2xDfVKWOF5C/hU3Sp2Ev7Xx4bUcGOO?= =?utf-8?q?yRALPID5MEwM?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99550be6-2804-4202-4861-08dc831b9e44 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2024 15:49:42.2980 (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: CBYLlNkUR03c+YbSAavPBf0JAHDI3I+fk+KRwlVGPo0wVCzDtg2uq/1aZBaZ066HTkloT7hmSXmJkKTJMAghEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7512 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240602_084959_680582_5E63A045 X-CRM114-Status: UNSURE ( 7.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Armada CP110 UTMI supports swapping D+ and D- signals. usb251xb.yaml already describes a suitable device-tree property for the same purpose but as child usb controller node. Add optional swap-dx-lanes device-tree property to armada cp110 utmi phy with same semantics as usb251xb: The property lists all ports that swap D+ and D-, unlisted ports are considered correct. Signed-off-by: Josua Mayer Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml b/Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml index 9ce7b4c6d208..2ef02aac042a 100644 --- a/Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml +++ b/Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml @@ -41,6 +41,12 @@ properties: Phandle to the system controller node $ref: /schemas/types.yaml#/definitions/phandle + swap-dx-lanes: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: | + Specifies the ports which will swap the differential-pair (D+/D-), + default is not-swapped. + # Required child nodes: patternProperties: