Message ID | 20220902213721.946138-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 4D585ECAAA1 for <linux-phy@archiver.kernel.org>; Fri, 2 Sep 2022 21:38:31 +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=jh1ZQRmjiS4tpnFV2iQ6Cw5j/AOhM2UnqhuifMHrWbg=; b=A78m8ElGZr84Wf SdLa8Odf6f92SlpepqH+lampqNn/un7QaowdR3G8ymPiyINvx/aUIwm11ySTMsIEkDIP5RshbKPw9 8azm9x785OnNWpqQmmUNbsUcDNGUNTgfAZet79SvV02GQUPxXbt9UruYR2RanykgV96kGUmoWCgA8 qmso73MD1iCC5azNW3GTD310zri/FMQwhScArmr+CJcXf3pQKTc99L2qw2mxce6qpeamM6biAZTka SmiD5ARy0r0qjW45ZpW8OxLn0xvVpmWdjoZbk1Id3iAHYIN1yTGcbijzPm9n+F1TfQ7RQ4Ppz/a6n i6chS1EEDNszrRbZ1kRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUEMw-00BNFV-Lh; Fri, 02 Sep 2022 21:38:30 +0000 Received: from mail-vi1eur05on2043.outbound.protection.outlook.com ([40.107.21.43] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUEMJ-00BMKq-ND; Fri, 02 Sep 2022 21:37:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T2uKMojwthWLiVNexi9PbAtDZtWsE0tp9PfxoaB/gnkg/6rAG9Qo1BkwkkPmtovnGSpu/haHA31vAM/unfH6XoPOk7oe99n6LZUkcFiTCvirc795znCd7O6kE2Jd4js/p/6BFf6MpZWV/6c321qMottGXyMXLrfTuQmPGNby281D28KEqaPMFAtc80DNn74/YEUWtMakTe+y5IZ7S+4NtUdxHPUtjQTUpZXw/0/R0AMeMBHnELfra3/RfCoKAZ8IvD+R/e8rNUMWFzge7M6kDon5eurDk9auJyVwkthN3vwahqUwgCGSlr2S6eX1fhjc5q9zCpgtBgHi3FUKHHLZ7g== 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=74PJJadOkcapx2FyfPF+qbVP3E86A3MgUbMckqFuy00=; b=PQD+Ml8tABBvoYSQsdlSy8vthtA+KFMC4zP/0uzYqjd+KbTQ+kORqx6Dt/MENm3xxAEjnrjW0C+Qv/vnDXN/VFsAblMhsqlC++ne9oyQkY1MJp4rb+DKJiHjOJfEEPMaUwj1pkKVT5Zc9+ZZq5pGZTWy6wXTAmi74l16vtEYgGtaC7PsnUDMh/xuPaQD+m1MZuTai/n8qkic8wOHXTxQdvGpjfGQR5BxpVPK19PMpQ80Xc89zxedcd3wKnr7Pcm5VW/WvFJjW5Y3qCLatEgUUj3B0v+kNNl2RS6kIiYLlpMe0A3RcBje0hYOe19T4ke7gaJp30hm0Zq07WUGxoUxVw== 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=74PJJadOkcapx2FyfPF+qbVP3E86A3MgUbMckqFuy00=; b=ReG+oz3+N7PqMybyJwfMYmMuPmhuF5zN3GE0VS1AQfT9VP/OE6Uajco0AMsW3PyryYMeNmkdqcHmCYZfBueiJeZdj/sGipE9IqAlh7icVAJcoqtko0x9SbDbW+dGk7JTrvLmFJD894TL/1LBz3O+HVEdMMrrBSkXy8QA8Z+J6xB3W7IjLfRy4qHDlzUkI3XyRsHcjUlnWAhpLHcdwh8UjS14Xbs+4ijF0ZksAIGRBALJcPH6ifw4f8M+hu+Hq04pUINAujOUvb1lFbK9oDgEsv9RqVGGvOcwY+FOaAW/7YgPmqxejuP1xHIQEN4ukeiEJ6+21/Nw/LFiALUz7Qkh5Q== 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 PAXPR03MB7886.eurprd03.prod.outlook.com (2603:10a6:102:215::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.15; Fri, 2 Sep 2022 21:37:43 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::ecaa:a5a9:f0d5:27a2]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::ecaa:a5a9:f0d5:27a2%4]) with mapi id 15.20.5566.019; Fri, 2 Sep 2022 21:37:43 +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: devicetree@vger.kernel.org, Ioana Ciornei <ioana.ciornei@nxp.com>, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Madalin Bucur <madalin.bucur@nxp.com>, Camelia Alexandra Groza <camelia.groza@nxp.com>, linuxppc-dev@lists.ozlabs.org, Rob Herring <robh+dt@kernel.org>, Sean Anderson <sean.anderson@seco.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, linux-clk@vger.kernel.org Subject: [PATCH v5 3/8] dt-bindings: clock: Add ids for Lynx 10g PLLs Date: Fri, 2 Sep 2022 17:37:16 -0400 Message-Id: <20220902213721.946138-4-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220902213721.946138-1-sean.anderson@seco.com> References: <20220902213721.946138-1-sean.anderson@seco.com> X-ClientProxiedBy: MN2PR08CA0008.namprd08.prod.outlook.com (2603:10b6:208:239::13) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d0434ecc-5fb5-45b5-fe71-08da8d2b5e56 X-MS-TrafficTypeDiagnostic: PAXPR03MB7886:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8K4ujApXunIGLAQsJi2nw8lQpaIkdC32awCUeXlHqflG08XJQlc7UvzJoXTM5Ou4SoUf5jD1CUom04Gh1KtxiCilDqIlxOIQSCKzkkMT+HnZSpShCqzfsJfzq58zAhAh1QGNYcPmt/PPtLgD3+zH9BiNS1fEx3XvAuu1dtrLbsFz2x/Gxr0IPS9yT+3N75neAwB3Ww1R92VbwVsIrRqPktBkZVIDa1G4JnOzAbTKVHoWIZ5iVwx/4lZvS5KMZgoAIa+8yWLCGDZ7YQicyc2SpwicxEfC8Td6gnRAx8j+NK2IdxaPsE73gtGBxsEIjCHPZhdJ9g3fhfe0dm2EJzOJ/GYvzr1iuotZ+UNfEedXkwKwR/3hX1Xbzs4b33UXGmgl9koc7wLCUak9B1DM7sY9B26FL5Krvb/wgpKweGMFlUlEQ1cnDUWh/Vc+9/m930gJvkvdhkqU1C9brcZfXzqgUlKWjQ2OAs7aAgP72VboRST/HHlpqwv5fdNxzSUr3XS14e20PAHrgs0CANAoRDToKK1Is7GTgxBIm4+Fx8Fgapdx0+Q+gI/pW68kIoWnBjk/pUeMI5Ob+S0HORRlEn4Ad9aOxu36fvVr5cLW5tJ83w28JH+YfBRBYXQS7obK6rLX+Z5YKjMpsG4QrGPEpWFYI8E8V7HMvrqtUaOGm/Lfz/Pt7nFWZzxCUv7dQh0NoIcGrZrsdzYcZio0t5Qu+cntzAli02DvEELaQ8TJrIFyPd1qOHed2rcvbBsAgUdDCUTtDg+1I0gJqtItbjj4uyca6g== 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:(13230016)(136003)(346002)(396003)(366004)(376002)(39850400004)(110136005)(54906003)(38100700002)(316002)(36756003)(186003)(1076003)(38350700002)(2616005)(86362001)(6486002)(8676002)(4326008)(66946007)(66556008)(83380400001)(66476007)(2906002)(52116002)(6506007)(6512007)(26005)(8936002)(5660300002)(478600001)(6666004)(7416002)(41300700001)(44832011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tOPhNQ/MXLkpWKvkfmqNwYcbVIvMm4DCLMAeI+tOGnS2p0yVu2JVdtwPosxNq9c2RR+67qufkB23tW7JBVWGHiDYz3nSDB2PIIf5SzRgQvFGuxFyP5wnIUILHRE1NRxa1752dWdsuotSpBU8ZSqsfJ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KTUHN7Rcr49UOehpnM0fV/aHJRhAOf1b5XgKs444WmuMbpIO6PRDii91Z8c4hIsEI0sSP7UHzRznmfQyanj/wnO+0sqFod08rT3g3AQ+kr0wwDKY6C15wRJnUcVsFq4oj2TXokoF6i1GJySxbQU+BOIcBTVXEVuaLHIMEtG/hKbIRbMLvl9ARQJG75/eCcODsOQFBw3jByxEFLEhbZtRTrFa6DWRpF+8NrxVQ/2STTwwwP22f5Cw4PnkKmSbFx2UBoi6Ewuw+4FfyviMe2FtvOdrqUmUlx+A/poXX6hMpCU3GXHRqyN7tYLHsPMmSMLy4I8qkXNgVE13sqCsIkqn/59ANmlO8akRbiDKU5Ue97vVsOvmw7fOBQhTYQ8NLjDDxCgyhLJoWLkvM8F5A== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0434ecc-5fb5-45b5-fe71-08da8d2b5e56 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2022 21:37:43.4091 (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: KejGZdjcSPoh5PMX/CR8bDmonbq1K3cxq+r88MuUSopq2lqaieA/ggfrQEzQY6KI69c8lr6UBDZdYOnw+8k+RQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR03MB7886 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220902_143751_891364_B867B72C X-CRM114-Status: GOOD ( 13.89 ) 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
|
On Fri, 02 Sep 2022 17:37:16 -0400, Sean Anderson wrote: > 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> > --- > > Changes in v5: > - Update commit description > - Dual id header > > Changes in v4: > - New > > include/dt-bindings/clock/fsl,lynx-10g.h | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > create mode 100644 include/dt-bindings/clock/fsl,lynx-10g.h > Acked-by: Rob Herring <robh@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 */
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> --- Changes in v5: - Update commit description - Dual id header Changes in v4: - New include/dt-bindings/clock/fsl,lynx-10g.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/dt-bindings/clock/fsl,lynx-10g.h