From patchwork Thu Oct 27 19:11:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13022599 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 E8924FA3740 for ; Thu, 27 Oct 2022 19:14:38 +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:References:In-Reply-To: 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: List-Owner; bh=3efyhMLlCIb/QHIxk/gSWnwemdJW8clgVO6vHBfmNAQ=; b=FYASZ3MUlwrpRE iKzHuRdfodYgw5b7KjWjiz5bg35O67VIGp2iMcr1fKB+9xouden9MlONSUHV3xdNb22kbzYRRccMT KJLTZ+AKKkBU76qHFZz+jpynh/MevB9wAyAlCxyBlxIItZpUuLv4u+OePTIso6urqyTtS2e+aXloz DWV3yQbIv3gjv9HQHDfrDrCKytiMg2p9UjtjVuSKo50ELF8kDucbRkjeai/L1KKFov+41+lEvCwWB 7wUezp+4uDY08ZJdkzJGg9rbb1KQOJ+HYllbHI1oNcpae2t7PY8t1sNyLgLEWpR2TdWhHLID+wjEu rZtV1WOENwfp7YHSi0wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo8Kr-00EcJT-O8; Thu, 27 Oct 2022 19:14:37 +0000 Received: from mail-vi1eur05on2084.outbound.protection.outlook.com ([40.107.21.84] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo8IG-00EbFa-Pn; Thu, 27 Oct 2022 19:11:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lU+vEtcu+vipHs2DSfTPidymrqQtRc+7e2Z1oxH6Bya8lSoLTzq7n4/xnhCRAJHFLv0zlYkiwRbKZ4Pvvy1TuHY3Su2jwrQ+N0CAHsHUJjt0RppXLreDziDKr3PW6wiGuqr2Wvbg1digeUN8VFjEtRetsIHw3BCptvtfjz1PNoExVE2EemmWGoWhIxZLnh0/c/en/HB6vJUt9qM8azXB61WaFSwDVqZBEbyicdYDrJExCm2nMkk1bneSCtHuKlEB++6B0IbMKYmwo3D6YF8+WMLToyuHVMGOvXQbMHuJeCsAmIss7tLufGMkcmRu5nIWTJa4HlsJmcY55wpn4TmN2g== 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=X/uNCDEmTY1zQ8OCTFQCdFu+UG/G+IVl8XhChK8qxqk=; b=JR/GwkiAuMgY7Pv1g9LhuVG9OLSDcbTcVvrUmw6W3lCqkvOZC44ntbW2mGym2N8/8Yek0kDmqCn/4lDzPhRikLCK8ehPFWAEXdCiGVKQ+umNtfBPyF6BX0Fda36P0AhDZW5ZNhGoSvuSTM+fsQlJW3bSTt3p6fwM+C8PezvFmv5365jIP8DfpJifIM37pG5OtADtGdyeQ3X7limTOk0YQ6zc4t8/anUuV7DiKPkJZTKSYwuLOc0BIowbobTDywTLaDsKkSwvtp0aNjPjkSJ4sfgE0S/w6/7DbHLXhCUNAkFA+tObZqb2Oe03ueMBDbVLTEV7kxrWfXux5TZKlH06tg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X/uNCDEmTY1zQ8OCTFQCdFu+UG/G+IVl8XhChK8qxqk=; b=iCHZyOVDrOcolrvgxpnvIrXuE2iJkO8/ECCdoj/mq+EqEkRGs8pFLOSj0dwSuP5+yMECIbYUbxFDoGV43X84InHC0gWifVfX/I2yoxXYHr9xBhx7aENXla3RJA4Ypv7iw+yaYjE/oBrt53sAZFtI8v/Bgv+LJXc9nKN3gP+AqdSPhjXfSVHFrfWUwJ2X8HOEezr38L3Ai80u1OmG6pmVbK0FvWqDl9uxTjB2OlimZcn+/oEZqU7h0tO+34ZmuSQ0krtC8wQ3m8an4PD2Wea1chqDoAC9j8faB5i5sxbdHbX+XFs0ruTxUfXh3JJXZoY1+ywTAXPxnNEyS3HRJrOKxw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from VI1PR03MB4973.eurprd03.prod.outlook.com (2603:10a6:803:c5::12) by AS2PR03MB9648.eurprd03.prod.outlook.com (2603:10a6:20b:5e8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 19:11:47 +0000 Received: from VI1PR03MB4973.eurprd03.prod.outlook.com ([fe80::3d5c:1e59:4df8:975d]) by VI1PR03MB4973.eurprd03.prod.outlook.com ([fe80::3d5c:1e59:4df8:975d%6]) with mapi id 15.20.5769.014; Thu, 27 Oct 2022 19:11:47 +0000 From: Sean Anderson To: Vinod Koul , Kishon Vijay Abraham I , linux-phy@lists.infradead.org Cc: Rob Herring , Bagas Sanjaya , devicetree@vger.kernel.org, Krzysztof Kozlowski , linuxppc-dev@lists.ozlabs.org, Ioana Ciornei , linux-arm-kernel@lists.infradead.org, Camelia Alexandra Groza , Madalin Bucur , Sean Anderson , Li Yang , Shawn Guo Subject: [PATCH v8 8/9] arm64: dts: ls1088a: Prevent PCSs from probing as phys Date: Thu, 27 Oct 2022 15:11:12 -0400 Message-Id: <20221027191113.403712-9-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20221027191113.403712-1-sean.anderson@seco.com> References: <20221027191113.403712-1-sean.anderson@seco.com> X-ClientProxiedBy: BL1PR13CA0218.namprd13.prod.outlook.com (2603:10b6:208:2bf::13) To VI1PR03MB4973.eurprd03.prod.outlook.com (2603:10a6:803:c5::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR03MB4973:EE_|AS2PR03MB9648:EE_ X-MS-Office365-Filtering-Correlation-Id: 94de8072-5b26-4f21-b8a8-08dab84f1826 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PI7xiQ+Y+HUxey8h6TdUznZsVpMPuxAkdbOtPVeryHJZbd26sEow1XpzfCHnsSeSvlNeNed3+dZaS1HfZv/j8ptkYXZYaDUUAkncKFR4Kuh5yzGoDh+lt0MNl44nZa2Lt8K2TbGmA7gDRpwAMz3l8NWOAUj3IVwoGhTvAN0AEm9jxaWicsjdEUCd/rO35fdBkOfW0xht5SJpWRWtfSrWIXuV9+057lKdsE8rfI8Y+W2UZhMCwoTAmwBV1ZXPGbrKtCM4g1qdJC4pnrAWUp2EWM4cKz9y7eB8DdgvqrlmEPMTiG4hbRMgZ1G4wmAMy2Cf58033TKDiXLkjC/EaG8r0AYk2q7Ps6mEPA7g8VxLRql+ie9CvApE5Hsyo6+C/SGCoVr+aaALEgE61hTzAkKc/gG7XNPNy2snz1wnZK+aLkKwEtcgZvQXkfcNyToW1CpXkdPniWq1d2hXAHgWCtUl+G36Q0ge5/b/Nqb7wI+kBPhs/Jjat+ENm4OWuaM8GsqV6kc7n5q1jcLETO8l/VCt5P1QVdXAnth/C+dSAM3xo0GNkAzTibz1QqAnwUEjEQO43TZ774GUatl+d6XImWzH9ayNsTRSBNvggR19hmCptk1+taxSp/wyI5OP92VbSYJKTm1NsB3X8QZycNevOEVsUVZfD5QEC73U+mUiZnfCEpkK/+yk8UHjqM30Fbs42VyMNjQJGoTAbXiKN+HCpZWvF8+Wtfq2W6zbPQJPSOj0BvxSmiZtwuBz+P9xXrLe4Tgb6PYevTAzunptzSDvM8clGQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR03MB4973.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39850400004)(366004)(396003)(376002)(346002)(136003)(451199015)(110136005)(478600001)(5660300002)(54906003)(83380400001)(38100700002)(6486002)(7416002)(2906002)(44832011)(36756003)(66556008)(66946007)(8676002)(41300700001)(66476007)(316002)(4326008)(8936002)(6512007)(1076003)(186003)(2616005)(6666004)(86362001)(38350700002)(26005)(52116002)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GGteZoJZxNw1ZywCX8ocMH9rthlvSWbfngvzosttWjq0CDKvjK/wmYOlJqD7G/M64LI9clFkT3f3trS/VeIQqsgIy6IiZGWmXfM+aV2ZJDtNdblNtVE4h28Ip2ehkLk+WjK5/qXyAg1DzmAlxAbnfTNXI0nnLNfRnOHNSdX2KxPEpErqssd6D6AYBOk6t1Q1JTZ4x5t3TcEZA4ZgXjJO4iD7V8tjN010v+TxeC7yX676WSozT8KMjn7ZYClVR1E6nxiLmMoKCCSwNOz2IPVUm24dKAoeSmY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Cf+6hvd2/iyCIInBbE2f11bMZLm5pc4RZgeY6QNtcQ6EqQGDfWv50AKgwPQcPopdjjxZk8U93ORM04MlGAQvFn0osJWlVGSWIRVojPbNIHOSjGndmSgPPzkk+Lyc68Vws3hSr76V6TJ7yNM4ja6OaHhvnHQEDXb/Cio7Hok2+TeuvihoJ4ipQ3Iq125svG/hlLTnYndXuKw3r0oNKQ+PXKxQcpoOi0srpl4Y7P7BCRgcwwxRrLg== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94de8072-5b26-4f21-b8a8-08dab84f1826 X-MS-Exchange-CrossTenant-AuthSource: VI1PR03MB4973.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 19:11:47.5651 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: K9pPG99Zh2MMYKJgCLMZHsEJHc4KBxEDfo5mEglxFscb2FLcw855DsfWH03a2hC6yZ4iUle9qVSJKVdTOWUF9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR03MB9648 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_121156_887881_039DF13E X-CRM114-Status: UNSURE ( 7.73 ) 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 The internal PCSs are not always accessible during boot (such as if the serdes has deselected the appropriate link mode). Give them appropriate compatible strings so they don't automatically (fail to) probe as genphys. Signed-off-by: Sean Anderson --- Changes in v8: - New .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 3810d66f8725..7603ea6328d2 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -817,7 +817,8 @@ pcs_mdio1: mdio@8c07000 { #size-cells = <0>; status = "disabled"; - pcs1: ethernet-phy@0 { + pcs1: ethernet-pcs@0 { + compatible = "fsl,lynx-pcs"; reg = <0>; }; }; @@ -830,7 +831,8 @@ pcs_mdio2: mdio@8c0b000 { #size-cells = <0>; status = "disabled"; - pcs2: ethernet-phy@0 { + pcs2: ethernet-pcs@0 { + compatible = "fsl,lynx-pcs"; reg = <0>; }; }; @@ -843,19 +845,23 @@ pcs_mdio3: mdio@8c0f000 { #size-cells = <0>; status = "disabled"; - pcs3_0: ethernet-phy@0 { + pcs3_0: ethernet-pcs@0 { + compatible = "fsl,lynx-pcs"; reg = <0>; }; - pcs3_1: ethernet-phy@1 { + pcs3_1: ethernet-pcs@1 { + compatible = "fsl,lynx-pcs"; reg = <1>; }; - pcs3_2: ethernet-phy@2 { + pcs3_2: ethernet-pcs@2 { + compatible = "fsl,lynx-pcs"; reg = <2>; }; - pcs3_3: ethernet-phy@3 { + pcs3_3: ethernet-pcs@3 { + compatible = "fsl,lynx-pcs"; reg = <3>; }; }; @@ -868,19 +874,23 @@ pcs_mdio7: mdio@8c1f000 { #size-cells = <0>; status = "disabled"; - pcs7_0: ethernet-phy@0 { + pcs7_0: ethernet-pcs@0 { + compatible = "fsl,lynx-pcs"; reg = <0>; }; - pcs7_1: ethernet-phy@1 { + pcs7_1: ethernet-pcs@1 { + compatible = "fsl,lynx-pcs"; reg = <1>; }; - pcs7_2: ethernet-phy@2 { + pcs7_2: ethernet-pcs@2 { + compatible = "fsl,lynx-pcs"; reg = <2>; }; - pcs7_3: ethernet-phy@3 { + pcs7_3: ethernet-pcs@3 { + compatible = "fsl,lynx-pcs"; reg = <3>; }; };