Message ID | 20221018231112.2142074-4-sean.anderson@seco.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org> 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 6C166C43217 for <linux-phy@archiver.kernel.org>; Tue, 18 Oct 2022 23:11:57 +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=OILcQGnJNIYL3R5ubpVCCemczVkIiMa3PbNAaDL+UdA=; b=ZXWICD/wJfJzmK azrgUsUJ5/bD7yf/vPMVabwC42B990MoHC8KySz0Lv3MBsjOnxiWDF0Lh3CBopvOwxKyh4xLZgFnn 1AuWU9mLs67vUiZpLCkC7L4glAVPLoFSWa/tBQoj7zYuSxMJkpipmzde+VHZOfoaFOSTpZRlraZIp i5GBTOeyzoLIOkAJUtBYe6dMGBBsRQ0aU/B5scBxt2gt9MXlqw+R9D8up7KYD5AaHk2eecrlboSCq +6CoTbnlBELwakj+D7Q0I31ovsgGD8CaEzhWNU+hM0UTOnQvanj+xcOYlWHMMFcyolb7PamKs04aH 7UJ93sEBx4eHUfXuHs4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okvka-00Ar0G-Mx; Tue, 18 Oct 2022 23:11:56 +0000 Received: from mail-eopbgr60044.outbound.protection.outlook.com ([40.107.6.44] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okvkC-00AqrD-DA; Tue, 18 Oct 2022 23:11:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S3Bk22s1lNmY+WFykdYxFtrdml9SGG7LTRS9Gox/l8HGJCvrNR9mE0jSVFhnAUAPP878D9V7Lc5lhSvX9PkNT7H65XXdzuJERg3yg3L+xZdeUDnPhd8Xca8ZcYu+55LjjwKpqYKmY7nI0m7CaIJceKGGd3GmDUsZyZE4FsckFDYSu6TZIjFJ6efb4tOLJgxaKFzh3T7d4MqnGFIQzoXZyWk+XkwohVsuML7denfwPtplhIHeoncSLGtyFteo+JRwZvyFOegfRiU3byXWEsBB6SIYIeR8REau8btAKPEP5cF1HfvmvnQYq2/790kNQ7sI5z/8H9aUEt6JWqIS4J2FMA== 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=nHfrKvIf6uhW+PIvN7eGwoBrowmdKIkqx5wJ0m5ZL2o=; b=P5XTNRTW2LGMp7+EupsJIUf+ClgL/wdCPCUA1tb0CHDoQhUp58QskV0XhSmHLN4iBcAc8loemSjQomeUA3YwBZhmRmEdMZK/oVyz+yeswrKamoJLeO8LAiFoQL18WNvL80YAGFdeZWWhguiX4/3ZtMbJhAeauhLf/6sTcp8m8a554rbeZPiJs4LVgQCzoGJTs0ad7D6E7GsgkC8z8NgHKw9Nz53lm7WyG7z6/sotRq9L2PCjGwq4fQAKZQzgEVf+LdkmMAOWUj4128kGAIHxwvYSLHQJ1PHOHQOSQIjH6vL4g8SJfJ3ZAG9ZF24VWeBLcrFO4mHMnYY1NnnZJY4s8w== 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=nHfrKvIf6uhW+PIvN7eGwoBrowmdKIkqx5wJ0m5ZL2o=; b=G2oh05vuBrpPKpn1mtoWvHn02C6X3Pf8V75r/bYBh6jO1HiP2ZprhSMYmAvjB469DnyLyohFE01GXxDmaT3qcKbQt06oxhp09GLcCmGf6ZDIx3LDID4AQRb8ELgquy1XSUMHy5+TgBv4kBuyG35i6I1VkuEFQemkPdhMq8YsI/2Sa/UJlQEgjq25oGMW0wj56VXeMhJ9WpYQTckUUtRBixcYCjG7ynZN4x4J8gXOstY76sFK6ccx64MhhfK0MY08p0+J/cjZiS6HFvLouOCfQk0y16GEbn2W+wyre+3zBVrJH0F0bKe4LPBYqeQUZfNQB2wPU0sdU+8s16XBEv58NQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) by PAWPR03MB9642.eurprd03.prod.outlook.com (2603:10a6:102:2e9::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Tue, 18 Oct 2022 23:11:28 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::204a:de22:b651:f86d]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::204a:de22:b651:f86d%6]) with mapi id 15.20.5723.034; Tue, 18 Oct 2022 23:11:28 +0000 From: Sean Anderson <sean.anderson@seco.com> To: Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@ti.com>, linux-phy@lists.infradead.org Cc: Camelia Alexandra Groza <camelia.groza@nxp.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Madalin Bucur <madalin.bucur@nxp.com>, Rob Herring <robh+dt@kernel.org>, Ioana Ciornei <ioana.ciornei@nxp.com>, Sean Anderson <sean.anderson@seco.com>, Rob Herring <robh@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, linux-clk@vger.kernel.org Subject: [PATCH v7 3/8] dt-bindings: clock: Add ids for Lynx 10g PLLs Date: Tue, 18 Oct 2022 19:11:07 -0400 Message-Id: <20221018231112.2142074-4-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20221018231112.2142074-1-sean.anderson@seco.com> References: <20221018231112.2142074-1-sean.anderson@seco.com> X-ClientProxiedBy: MN2PR18CA0007.namprd18.prod.outlook.com (2603:10b6:208:23c::12) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR03MB4972:EE_|PAWPR03MB9642:EE_ X-MS-Office365-Filtering-Correlation-Id: 59fadede-ddff-4a51-6335-08dab15e1646 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UwhAkoQKzJ7DdKnWzzFSxAL4xw82O9oDp0OlS2HHDTN1+FsC1sWKHC9f3AAIhW28OESamXrRzlBRln0NUpDqTf4bQbskgaLq8XM9YWn4dthaQjqloeZXyfw1ONk3ymX5LKOzNOMfONUL2P7g7JHUAVSSLXfaf/49BTl2gdwLTokuIRQ2tvEr8kC5RJ3B4xSWv+2jo4pd6juxavSTlgnEsvdqeWW/VpG+iGl6X9ktPRSPbHVLQKiysFyWVTZ4Q6dOGhybByR2lkYOQiYC3l0yqZbGrA4Hj5WBEIIpZHWfVjrqGvxUsxdattbb37CoCnUPVeHR6DjYnh7LqoVvsjQ+lYT1POrkTgKFUWmcyl6XMdgkaQW+B435z5ssMajlmee4MiP8jd0DjyL3+i4TQQI8jDsV5O6AmMWH/cdhWhwd6AoRDDlK6H1UP4/6QgkUzm3eRiZqmpnx6RluojZyRqeygf3kQPZbA/YR9SPvoPuhPDBNMSYPOSYp0bLNRG0y79LCJOwfK8P0GX0OCP0qABOKtl8vvrZKbgy6hjFo1NNFMooZfbNy2ftTyiEL3JU96j9cmdKa4i/HIVpS034SHLEwMaXleGnawv5uAL1CZT7xlVXoPo+3rshjPdSr0H524WWCyRquRDbbfbgozpHv2MweaNIqJDNz3kox9d5X8lg1q9dTWmlCNIgexjDwvgDwUKvtyQPPg/iU8FWlgFm2PDnNPD98CrGvNopktQsCxOALAqaI49MW89oDeURZT0dGWmwCr5CS0WVTvkPxI6Yb+y00XQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR03MB4972.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(346002)(376002)(136003)(396003)(366004)(39850400004)(451199015)(6506007)(6512007)(110136005)(26005)(2906002)(86362001)(4326008)(8676002)(5660300002)(66476007)(7416002)(8936002)(36756003)(44832011)(66556008)(38350700002)(38100700002)(41300700001)(66946007)(83380400001)(316002)(1076003)(52116002)(6486002)(2616005)(186003)(478600001)(54906003)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kUx2r0VUgWVwp4MYPGJMGtYnvYO6yNQtZUKM/5oP5Deli/UH4SZJJW0phJH4UiKcppp8FkxPirb0KP59cJ783Fgqz6enbiB8r9FgJLHkwhSJ+fKFzVSbKBOvHTe8sewOO6noIh9b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kKJj/MYEGbq0nLJdIpl7pgOHXnYzRV8qgW/giVOlE6FDrkQdnT3uCw9aRZCPyUGyyJJqy7kTIAZaqRKVcLuhg7RUNCC+ySRXLIwWCkiP7EF80qgIY06p2NTQmwSk2BXcMKeaqZahg0kgLlnYDC3yMp6Xqy20yfzJpoRO4+iDt0WtNuI9erGY7PNUSDQR2dF9Zym2am1MdUttP+Bh2R8UY8C956fZ2c767khtmMU9rq3tcQVV0SrPSzixq+bU+VUGtI0R4erULddVjLpn++wUZ4BXzCzWfHG3JWuAHiZgk8ytAkcgOPvjk5ojykGgWc1Mmd9OQU6syT471eO7h/hh9KNfYfpajoeBd4XEaskL0+Jj8mQdremLxVsezHyB5hCS6cOEtgiREln2s6xS82BGtF0rDA== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59fadede-ddff-4a51-6335-08dab15e1646 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2022 23:11:28.6506 (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: rnRAa9g/mA2TZASycRSw9G3i/KBc90rojXi7bi0O6Rme26safipNFpk0soaADJdERGxXlettzHLcVdPNvRr3tg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR03MB9642 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221018_161132_473448_6330DD42 X-CRM114-Status: GOOD ( 13.43 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list <linux-phy.lists.infradead.org> List-Unsubscribe: <https://lists.infradead.org/mailman/options/linux-phy>, <mailto:linux-phy-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-phy/> List-Post: <mailto:linux-phy@lists.infradead.org> List-Help: <mailto:linux-phy-request@lists.infradead.org?subject=help> List-Subscribe: <https://lists.infradead.org/mailman/listinfo/linux-phy>, <mailto:linux-phy-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" <linux-phy-bounces@lists.infradead.org> Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org |
Series |
phy: Add support for Lynx 10G SerDes
|
expand
|
Quoting Sean Anderson (2022-10-18 16:11:07) > This adds ids for the Lynx 10g SerDes's internal PLLs. These may be used > with assigned-clock* to specify a particular frequency to use. For > example, to set the second PLL (at offset 0x20)'s frequency, use > LYNX10G_PLLa(1). These are for use only in the device tree, and are not > otherwise used by the driver. > > Signed-off-by: Sean Anderson <sean.anderson@seco.com> > Acked-by: Rob Herring <robh@kernel.org> > --- Acked-by: Stephen Boyd <sboyd@kernel.org>
diff --git a/include/dt-bindings/clock/fsl,lynx-10g.h b/include/dt-bindings/clock/fsl,lynx-10g.h new file mode 100644 index 000000000000..15362ae85304 --- /dev/null +++ b/include/dt-bindings/clock/fsl,lynx-10g.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ +/* + * Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com> + */ + +#ifndef __DT_BINDINGS_CLK_LYNX_10G_H +#define __DT_BINDINGS_CLK_LYNX_10G_H + +#define LYNX10G_CLKS_PER_PLL 2 + +#define LYNX10G_PLLa(a) ((a) * LYNX10G_CLKS_PER_PLL) +#define LYNX10G_PLLa_EX_DLY(a) ((a) * LYNX10G_CLKS_PER_PLL + 1) + +#endif /* __DT_BINDINGS_CLK_LYNX_10G_H */