From patchwork Thu Mar 10 14:51:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 12776508 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 35B0DC433FE for ; Thu, 10 Mar 2022 14:52:37 +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=9vmNkXVx0QermL7Zev554LZZMbs12rwHAVPAgB3zlaE=; b=dZCiOdpCcas0dw iCmw5g15cuHuVmE5y9Pt0N83Sws4s1Q/QO8n1lJ8VLKw4oTR68apWDHnYH49XKLd01VjDff32o/gq UPQayEcVKjKEZCYpCylmlrvc8MgNyzyq6mT8Ax0rpiyFjyKk4wfZtVF3k3xfrVOep45EykvNxpXlk FafThi6x0csHIaFkAtza7xYbHzReD6YBaP5SXzv+bgC2Io7OYRgmGVEyLSlZIisyqdUyamabhbbWS ZbJems+0L4mDe/CMXP1xux44Yid2m25OwdKaInmPKxaW4maopFg8PcpsXofH/110Mq6/phWf0aHBo iJ0WyN6BGp1lV+k2s7SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSK9c-00DDu6-LZ; Thu, 10 Mar 2022 14:52:36 +0000 Received: from mail-db8eur05on2060f.outbound.protection.outlook.com ([2a01:111:f400:7e1a::60f] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSK9Y-00DDqp-HZ for linux-phy@lists.infradead.org; Thu, 10 Mar 2022 14:52:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bpEev455qHMSDDCWecLpwjgeOcm0JiC6u3edK9i7mS9vZqzi2SQ+bceM165RBXHJuYbNaQVAbxKxuICcqolQFndxMwxS5Z4pFHkrcKaRblWpUl5/JTE/XjP+El2hZMrhw4ZVbUb6+RuAqZishs+/GeG/g2L+p58H51r35TJ+oPpc0kzzJqCv+thhm33kqMCAIrnxbUYBlRY5P4+8iJNEvls24rtmwhTttF3sfwNeEp0BYUAFc9gC1r/DpfCeQrwvqWAwTcEIdSDss09/nIJauWmBeIvYHRa/pdYFJiWoRERJFSx42eivW4OWzkkOO6cuJI2mIV2g+bBCrgm22P3New== 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=hJ8c32OgR01WllKOwSrObJuplCpzsU4NwnbyPJ+yDQY=; b=A0w/HWN5K9seZxrvQpeKQHaP8hLHEDJ5pE21E3DPPwOirYHyzYoTvrllgzoVMeQV6zdjWeH2pv+e9LonixYmFOBUVUttfEeKoE+1EeWUBo/kutlqeE9lg68JLdD+Xzc4BKNeVgVCI0SdrgFlVH5LELv2qG1d3MeQandaTlVVDXgcfyn3l3e6YzUoIp3hwfXhdP27jGAT659G1yFtVZs3mpB7629/zxAUrlTKDtIgKPkYycOsSiHrcw6CWkN/cg9B/J5NMNHEijxMTSB5VcMFxClwUtz2pjS4Tob1v6M9ufde9bTKA/3BBlocAv7d+/3RWBHXRUeXnODEmZiwk0NFbA== 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=hJ8c32OgR01WllKOwSrObJuplCpzsU4NwnbyPJ+yDQY=; b=VUIKbSbcB46VAJKQWaL4XHSoP/s/AwVjt/ILqRZxI46V6DqU6VuaObJ4rYWUQQp4wwLpOGhshRlsFVu5lHqI+Kwq6tx5gpE3hLc6XwZbSt9+TZfLSpk7uH//gLB7whHN2vY0zvug9XELv1saUsr5HllhUozIpC+LYNyET3coh3c= 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 AM8PR04MB7281.eurprd04.prod.outlook.com (2603:10a6:20b:1d4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.29; Thu, 10 Mar 2022 14:52:24 +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; Thu, 10 Mar 2022 14:52:24 +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 v3 2/8] dt-bindings: phy: add the "fsl, lynx-28g" compatible Date: Thu, 10 Mar 2022 16:51:54 +0200 Message-Id: <20220310145200.3645763-3-ioana.ciornei@nxp.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220310145200.3645763-1-ioana.ciornei@nxp.com> References: <20220310145200.3645763-1-ioana.ciornei@nxp.com> X-ClientProxiedBy: AS9PR06CA0288.eurprd06.prod.outlook.com (2603:10a6:20b:45a::19) 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: b3a80f98-ab32-417f-11a0-08da02a5965a X-MS-TrafficTypeDiagnostic: AM8PR04MB7281: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: O0hIIyx6U6U4FuYOicTnFlsg3YTb+Dx6NwlZtS3Y6o1foI9JLHBAfOfyKtaklSBTSlnKA3gW5KmXtdBkc8ZaMNflyku5cW6vTWlewVLCDPxJ02PGGnq9Hp6bXTPFmMT7SowIbmpo2826MqPhHPM6ushYc64lFN8rRB/92pJL1X8Fr8UZ5ffiJUZs3mIMg+8eGbi2vaZ8E6+tle7h86f0yPq1tLwrcVbDiQzOmO8MMtcSE8x6driB3qG9VkPi/RxFh1bH49AWplRnHPbt9cszdWTa6uiymTJwF121lJp1Rn7zBctwvbWDMTS4mvbB4HikO0/D56Ev5sxKO8rWsXVElcgVrkIK0fjuZnxVRCK7KJDFUFnvLUfSvJWYgt4iHQfVitEP0uQW7aO28vNRRBK4MX70tskRfTbjNJabIVHhQ4Llb4Gxg6HRijofcyQlW7DgrktfhvKJNAE/6GRCtKuTqwqvbZoK6VwrIFyvmRbydspCqGMSMdrsX3D1mQ3sjVhiBQAmZjL7DIqVNUsP8EwRPHvNi1lUK4d+pkFowlBuVKnV0y5iT2ITVBVxxqPKCH6Ly9NyvRM24IOG730EFqMdmVLEmApqW9kHLFsMrR+/EXTJHpVnh5w7a+F9SYyqn/qiK0k+mrLacQitkCEj5CmYC+qmOvGqVLPoxEqaBfdUG4kxzYzJW8FrGl6VuoBg0yJWsUBcrXu2LbINdO18ZOHdu99XvlHnA2N2/azWPkgFZzS9EPFg3FaAD0e7CDJNxMhBq+8K2nUHcMt1b0iYPawxZbUa9nsmyu5M49y6h9WNz88KL0oOjVTHcbwZFSgS5azrcfK1gEqhBG7Xi7bRKTzRKQ== 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)(1076003)(316002)(66556008)(6486002)(966005)(52116002)(66476007)(8676002)(5660300002)(6506007)(66946007)(4326008)(2616005)(2906002)(8936002)(86362001)(186003)(44832011)(38350700002)(38100700002)(6666004)(508600001)(36756003)(26005)(7416002)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qUMUPxJn/Qa9VAzwLCGGBN1TrB7gfOUG9gONH9zL2YEM3wIhjJuNHKu/yv8n/G8V14/TVreHfs4rZKxxds/Az226KxD18aDu4ZuLKGfVTASpmYYazWk+zGJ1RVDthm8RJCna6d18fzxa40rvTiHn1E5UaYY+GlbA0GxTrNpgV1FW1Q6BODIxycHueuZoFDeV7msFqAfEN+vs+3SXap1UJ02DuhdQldy7yX8zhyjq/utmVg5IY0LDTk5gL4E5fW2cuf/RziOIgRMvu6TtcqLKXEp+YVk0ORQOXGSpr9EYqZ6x924gqufBH51k/93fcltblxEwELehY7DIVj0OV/Cm68pdps8IdWIt1zUaiKsMiJ4MrUg5Af7HdzkzPoj9y8KydtHOzX2lTAxjNkMMp5M/Faari50qxXNqHrBiQzm7T3L3Gq6116VHmGxoMlkuhnoqVZsqlScujvbyLV4+9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qZZSmxXqI2p0QZ+C5FaZqo4FRDHlXAlbUMqKMbxyDRbxM1iTgYXmWRLI/staUCAwGadQMzCDQsYO/s89ssBw9KNfFIWLy7q9Vx6SbLmwshNmYL8zfMs= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3a80f98-ab32-417f-11a0-08da02a5965a X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8555.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 14:52:24.3231 (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: 6RHqRS/zurPKxypljJZJ4AyBZGZ5SHzl1h1qW0GRflPwhpmcAVekxpNGVOrlAD61bv1QrLd8mDe8bl5to4NFvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7281 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220310_065232_635048_B3484099 X-CRM114-Status: GOOD ( 13.02 ) 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 Describe the "fsl,lynx-28g" compatible used by the Lynx 28G SerDes PHY driver on Layerscape based SoCs. Signed-off-by: Ioana Ciornei --- Changes in v2: - none Changes in v3: - 2/8: fix 'make dt_binding_check' errors .../devicetree/bindings/phy/fsl,lynx-28g.yaml | 98 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 99 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..e98339ec83a7 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml @@ -0,0 +1,98 @@ +# 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 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +required: + - compatible + - reg + - "#phy-cells" + - "#address-cells" + - "#size-cells" + +patternProperties: + '^phy@[0-9a-f]$': + type: object + properties: + reg: + description: + Number of the SerDes lane. + minimum: 0 + maximum: 7 + + "#phy-cells": + const: 0 + + additionalProperties: false + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + serdes_1: serdes_phy@1ea0000 { + compatible = "fsl,lynx-28g"; + reg = <0x0 0x1ea0000 0x0 0x1e30>; + #address-cells = <1>; + #size-cells = <0>; + #phy-cells = <1>; + + serdes1_lane_a: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + serdes1_lane_b: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + serdes1_lane_c: phy@2 { + reg = <2>; + #phy-cells = <0>; + }; + serdes1_lane_d: phy@3 { + reg = <3>; + #phy-cells = <0>; + }; + serdes1_lane_e: phy@4 { + reg = <4>; + #phy-cells = <0>; + }; + serdes1_lane_f: phy@5 { + reg = <5>; + #phy-cells = <0>; + }; + serdes1_lane_g: phy@6 { + reg = <6>; + #phy-cells = <0>; + }; + serdes1_lane_h: phy@7 { + reg = <7>; + #phy-cells = <0>; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 383c4754096e..15670690527b 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