From patchwork Fri Mar 11 12:54:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 12777946 X-Patchwork-Delegate: kuba@kernel.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D124AC43217 for ; Fri, 11 Mar 2022 12:55:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236695AbiCKM4N (ORCPT ); Fri, 11 Mar 2022 07:56:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348662AbiCKM4J (ORCPT ); Fri, 11 Mar 2022 07:56:09 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60079.outbound.protection.outlook.com [40.107.6.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43E641BFDCD; Fri, 11 Mar 2022 04:55:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VKcPC+zk5bBRfNoXAUSC8xMO5WZQH3GZFRfdifnEZadilv2boJ/fxAPpDTVpoWrN8QAqjnUfShiCiwl7eUo7y3K3Gy9UI5v2PzLkkrt5naTw+s7dOpKxnHYFnfn0wl4p5jVII8QZyQ63TAm9qZoXeL97jLbyB89JNfc5Pxz68Xk/L2s/Qp2jCmR2J6TAeVkppVo63TduEZMKA9mzaeTpwZbfKCwvxdByCjuzDE3SKr56rOrELSbb8FbF9jSeNW9jCxqEaxKLUwOuJBITjwTZ7/avybbKanTOz7w5Hfp7ypkuJhuiDPizf1pAvnC3kCoYyV2b3mqDrhEnxhyWEERqhw== 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=KB+Zp7eLioZvZ3BwE3OyUisFriyX66ZtMx0rlCx/IFI=; b=e4JXvziaBGL7JN7BdcTV98IuAbYLantkReUfP0SJskEAMPYuQ9p7b8aX92fmA29yWMT6LYHS6T+F4OxJoXurFmgWWGmang6LJm12d5qYDfpyM4OieDP78X+CvWtPy9XoEfj+KtY7ijFpIF2Do2hZODPrnbQtDUp+ofYwdUpyuTNyzUFSDbpOlwMp+HJzbND5LbjPNppIMugo8c9vh/3lkjlVEgP5NcNEzzH+FZxUGnPW35GpFYOzZSurCRT0bsDY/1PtRPcOJ9NiUSYVy5Nm/bRdgJwSHQ+SXhvAA5UNjd7/ovBhHL+cWfMG6XD5tjOGeZXWSHD4rdSOtI2dl7K4Xg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KB+Zp7eLioZvZ3BwE3OyUisFriyX66ZtMx0rlCx/IFI=; b=aUKUuAh5IUiaEDUeEaNFp5/k87E82Cw2/tgllhpKcmAwjlQGAa4BoGYOYfIbGHwaqmA/MArQhuhe4OjmVgdnJRwWrfi3v7pQtx8Rab+pWQwYXizKwWeRTWKF8TEF42IgH6xiCdcEnpa4ahX2bQE2LZ/6Z8FaKIMGVg4EPmhUTQ4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8555.eurprd04.prod.outlook.com (2603:10a6:20b:436::16) by AM6PR0402MB3431.eurprd04.prod.outlook.com (2603:10a6:209:e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.19; Fri, 11 Mar 2022 12:55:02 +0000 Received: from AM9PR04MB8555.eurprd04.prod.outlook.com ([fe80::c58c:4cac:5bf9:5579]) by AM9PR04MB8555.eurprd04.prod.outlook.com ([fe80::c58c:4cac:5bf9:5579%7]) with mapi id 15.20.5038.027; Fri, 11 Mar 2022 12:55:02 +0000 From: Ioana Ciornei To: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org Cc: kishon@ti.com, vkoul@kernel.org, robh+dt@kernel.org, leoyang.li@nxp.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux@armlinux.org.uk, shawnguo@kernel.org, hongxing.zhu@nxp.com, Ioana Ciornei Subject: [PATCH net-next v4 2/8] dt-bindings: phy: add the "fsl,lynx-28g" compatible Date: Fri, 11 Mar 2022 14:54:31 +0200 Message-Id: <20220311125437.3854483-3-ioana.ciornei@nxp.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220311125437.3854483-1-ioana.ciornei@nxp.com> References: <20220311125437.3854483-1-ioana.ciornei@nxp.com> X-ClientProxiedBy: AM5PR0402CA0014.eurprd04.prod.outlook.com (2603:10a6:203:90::24) To AM9PR04MB8555.eurprd04.prod.outlook.com (2603:10a6:20b:436::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a21d6730-c05f-41a1-3f5a-08da035e5b65 X-MS-TrafficTypeDiagnostic: AM6PR0402MB3431:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5GRnQRMHX5m4DGAlNfZ8fmCU2EdmifrglU4cuih/x2n5Zj3BBiZX1pPNVyW/1bQz+b3u2bbtx/jNfzQVx1GF7ZVbGFRAdkxWQ2DuPsA977xmBG6L9xBt4BFYzfwK5FvPdIP1E5tY4BWq+AvT5Ec+4OU2N3DIILwQPqc1LB4Q++3vqihzxvCPrOTIjeL5IueDaQ+Bert+XdmcXG8YEfYGk5hrosh+fig9jk49VkvEWHtzMX3ZDVsoeV28ewYXL+2yQFcK5oSyT/1YP7KWyqBH1WBkOiMNC/etltZvf63sZorY/H5W7hqzhDE9WifkhdJNwUD1ioTbhikZ6pSrLFnerIcXPgyGvhy/W3bgdPSQSYtjcyB6tIaoY1dyKDT1M8npUZfUL9rOPFcUD2HjYhY2nV2/K/0ysDXIEFafv/adbErNTvB9Ut2/bHKlis34l/AOnt5gY2uge8Inx4PpsZuif+EAzHEUlRpIXp5Lpkix73yHdDzAgVfp6cIJp5UiQPCR9UiFOMdc8Jyn8fhV7/B0r5kFrDEkw7J36HDN+FV0ADx3qpI6TDIFCApmbjC422mIY5KJVWjRZIM/h7SO4XxcxxMBC4KRLbk5O/bjFxUFqUQg3aBePUFcby/LeM7NOCBgcFiAi8FiB8rqWRYW5NuElU/htmZYabqLciecc5evWjRuzUat7QWmmeMbxnWg9UWUb9tel/KcxknshbscaEU6kaDGCSXj8B8dVzjQcbR7nkRpFJ0O7kFKSYCf60r+RFnhGfnHXLwHf6RZ9QD0m57Qtf4EjAb6lC827ziW9l1Y5l2VmD7Fc0Mr856XWjZnAOyO X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8555.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(8676002)(66946007)(7416002)(966005)(5660300002)(6486002)(8936002)(44832011)(508600001)(66476007)(66556008)(316002)(4326008)(1076003)(2616005)(6512007)(52116002)(6666004)(6506007)(2906002)(26005)(186003)(86362001)(36756003)(38350700002)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-Ant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r/mfk8ZSxT2ih65lVIZyqVxIluvq537C9NaJ++Q1zm+dsGyZK7DwZbi+Mx3T52uqOuymSesKqdF+bnwaCAf8R5AtSf0akCbRwRV9KsVnphb2iHzB95a591nqW+v0hxtN0uw98ntB2w/m9LI13LJmn1ULsNPnkGct5axTKMPEA/HVXIXlBj18/79S3i5czdnAOukYrugRoEB4FVfinkteeLs138kRkOGMWXxLZuakVXnnELfljY8lbtS7Tk0QUkDsvFOBxYVQVAmLLVU5h3dx9mLlES5wrupYastWpFDyOHtBGKk6YSUh+d34svsYpxdakT6pvD3W7ieybTsLeE2SMT92JwD+GVLZRPrYITuq6YgKOvBGTp2DZutbWhcDOL6MfIYmps7Z1UMkHKd+N32zZWOsnkEXEiIoIJ2AkoGRS/3PAL/rskoG/Z+PGUeZJdhTI2VJ+ZSTDuPol7r6K+PCziNxQNB9y0VJaQoWUP6j17WxFcKnjEQ4qgSRDN0hg/gNJNjsrP3mlWvUtnrAY3C4vwDrd0yp0B6NZ1oFaZP+bJvo0nqdsnOsRKYcbKuM= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a21d6730-c05f-41a1-3f5a-08da035e5b65 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8555.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2022 12:55:02.3704 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Cw4waVkOLEyJI0QUk0H+wB0SEkI5ok0G5E2WpvdmZu4sUl0sRFV215eW5SLuoKr84uDoJryz8wiewxyfQ+FzKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3431 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Describe the "fsl,lynx-28g" compatible used by the Lynx 28G SerDes PHY driver on Layerscape based SoCs. Signed-off-by: Ioana Ciornei Reviewed-by: Krzysztof Kozlowski --- Changes in v2: - none Changes in v3: - 2/8: fix 'make dt_binding_check' errors Changes in v4: - 2/8: remove the lane DT nodes .../devicetree/bindings/phy/fsl,lynx-28g.yaml | 40 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml diff --git a/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml b/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml new file mode 100644 index 000000000000..dd1adf7b3c05 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/fsl,lynx-28g.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Lynx 28G SerDes PHY binding + +maintainers: + - Ioana Ciornei + +properties: + compatible: + enum: + - fsl,lynx-28g + + reg: + maxItems: 1 + + "#phy-cells": + const: 1 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + serdes_1: serdes_phy@1ea0000 { + compatible = "fsl,lynx-28g"; + reg = <0x0 0x1ea0000 0x0 0x1e30>; + #phy-cells = <1>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 3e76c8cd8a3a..3aa185235a52 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11340,6 +11340,7 @@ LYNX 28G SERDES PHY DRIVER M: Ioana Ciornei L: netdev@vger.kernel.org S: Supported +F: Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml F: drivers/phy/freescale/phy-fsl-lynx-28g.c LYNX PCS MODULE