Message ID | 20220920202356.1451033-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 CBA54C54EE9 for <linux-phy@archiver.kernel.org>; Tue, 20 Sep 2022 20:24:52 +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=qrfv+hEUo/ac/PiW8SPXO81lE0t4ibfFJNtjHd3cVXI=; b=ESvcAmysNoXEPs bm0cNRiYEpk/BE+0B3O9ysxUj99u/uK/GpS1RnGko8JxbFevLtph7hNH59kc7gzqnM65mms7337PQ Qm2CxZf+vOrhK6ANBnmZz8QeYVSRGSsBglNkn4hfc3o8bQstljUOMS4RT2NE0+AbcfH8pJFK1weU9 YTXgcrpjMUVvlvpdch/1UIpG+b2xIGQf11kMTmu4WSPX+ZQLUJCSLyyxNfJWa0rSkzXSlnzvAWKdL UM8N6rvqPH3HbcRYWWTTIh2cGvOilA0xXppuar+9xp/4Np+uPt1iIW6/hOOtbJgLhqxIJ0XqU+QeG XlOcJ9POvPp4OYsskSEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oajnY-006G6d-5w; Tue, 20 Sep 2022 20:24:52 +0000 Received: from mail-db8eur05on2048.outbound.protection.outlook.com ([40.107.20.48] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oajn9-006FkY-3e; Tue, 20 Sep 2022 20:24:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FiXiodg3cLBgZFFxZz+wYfvp1+rQHYr5epzvivS3bMy8s8r6EJkTgGigPodGxNmqF0Y2T302yl+mVTt02tOUDk+LmlXpYwFgYs3bkjPFubuyE7j2IG4r3aIc02WdhabS0RhelFwvphLwdANIF1KS7ha1wR4rDi623/oFYLtl0JobEXbGp4SyWJ2lOwAqiybtiiMnbw+29d7TBKmkYbNzBM2USmSm8cFGAEG+PlDm2F6pskYa7umMlxGMiWODAaEPIxb+v/aN7Z7YPg+3Cl6bOg94iSyrhSsK/JziU+jHRYRZyABlsxS59JajZqraKYuNlubdKoptgmNTq+Pc2vF/Jg== 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=1WtGwjevVfbxmEGGZX6LO7AaucEsLp3A53hHvnUdJ1A=; b=m7UkZcEgt98w6bD/i4yFtAsVvC6ZMg/I3DamnT0AAUb0s/mL9JsuppSSqXYYE6lx85sCkWWmWzpdTwXQKc6w1pxmFkn125J6f+y+hdAy+bTlG4owOqLjOltbWH1vX+c97TFK9pYfwjiDH0E9ACxGeccwEaj5XZKxD38HzLZfI7iaibsyHWW1CnhZ1AZEn6c4Qkz2ZGDKvGaEZOJIhEGtc5y+82nIuzUEsK+UKx8uMyYXf0qJAgWsEM6D/hl+kczam7PJPIzFKnBsk/ie9/v8Sj8hoXG0Cx0aKtkoiZKjVMR+zwwDN15Xe/Eoh3MGk3BLUVlUO7GPCDbJMYMsB1paYA== 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=1WtGwjevVfbxmEGGZX6LO7AaucEsLp3A53hHvnUdJ1A=; b=1RNk6iNSPXFqf5vmSkljboaW/mAmINB9mFkVC3DklK51UZk3dwfxzFlEOYw+Tb1vPlPUnyJKTvP38Tv+SJe3W899dvchmxI7PsGdp6VW7N3aoeSiv/3lFew032xYvq0DAXArbngYD4pRq74PAwQYpfOrlEYyW+02oz5K9w1GRITJGBpgXBEypByKKcRDigVgSbYIh3fBPxbCKxQY/JXt866hN8I1se9nS4DxFXBUx4mvJq5cG5Tn3SGGSA1SOtSEXBNcrRhMXGBlBKE8fEsfhObMMfc3sf1LJxWOCSTunYIcYfuolsOKJyorW8ef2nvBNEVcVA30DMncpM7QAdN8Rw== 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 DU0PR03MB9566.eurprd03.prod.outlook.com (2603:10a6:10:41e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.21; Tue, 20 Sep 2022 20:24:18 +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.5654.014; Tue, 20 Sep 2022 20:24:18 +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: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Madalin Bucur <madalin.bucur@nxp.com>, Ioana Ciornei <ioana.ciornei@nxp.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, devicetree@vger.kernel.org, Camelia Alexandra Groza <camelia.groza@nxp.com>, Rob Herring <robh+dt@kernel.org>, 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 v6 3/8] dt-bindings: clock: Add ids for Lynx 10g PLLs Date: Tue, 20 Sep 2022 16:23:51 -0400 Message-Id: <20220920202356.1451033-4-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220920202356.1451033-1-sean.anderson@seco.com> References: <20220920202356.1451033-1-sean.anderson@seco.com> X-ClientProxiedBy: BL1P221CA0014.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:2c5::26) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR03MB4972:EE_|DU0PR03MB9566:EE_ X-MS-Office365-Filtering-Correlation-Id: 8791c391-7af0-47c6-71f7-08da9b46187f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6pQ2Ckvjg6U5mepat4SVXo4pvaGd5WImdQXJg2pYJjd2PlDnpCF2mi9EMn1ssl96X9NaJ9BSj51XMaNRT++mUu3cDrQacebqKoPI+6ch3rc2S2ECLPhAK2lOAS9uz5vq0k6O2bEPNxuNQKIN3r4j1LZIAoiGrRU+wD7mYuaBvILkEQtYLqhFurmYnBAJ2pROhALpjsMrqsOu025SUCLrvc6k0RM19KqoSsgyfQoy1+ldZMp65I9g+8g/d+0sV/C6qziSnl0A5GjOSm2JJFXqqThrSkCkgFL73OlpnjcaViCYP7h4pzBh+XODhW6Bw5AmW0RNtp5Pz2o3l5PXG7FHgULovvVWjks6h5lKrwDQei+vGIHldbu2UtzjRy6hsjFTatvvoj0zIdBQjyLF5MiTdUHVo0Insb+jFihvAOIr78MPubPqlYSlltkaeEUXgLSM21ZZTLcaV4j7oFsvx4uq/1jh66zVuoPvsUIymQivCvcuh9ilbnKrnog9XNv9/A+cQqIn7L19bxeJ/bKrusd03cxJhKFj47KvBbhAF3LIdcQYSKHodIvQYP+UaFmtas4wYQDsWEMRsGfZsSCZTPR13Vb1Q60+Is1GYnWuntxempRwSVuZvBs3Q9cwIEPxdwFluvDgy8GJ5gKx6msFsSXBx5XZXor4IFsovrqxVf53Of1Pmw/s2/UPZqtIAtBiw0kz8K0NGpKPKTL21XheJ7vUPOyq2gsqklHCDcet0fHmu0RWyPyP0G87sUr2as7zUCNbwYu56r6TOG/50pygzKX9WQ== 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)(396003)(366004)(136003)(376002)(39850400004)(346002)(451199015)(41300700001)(38350700002)(7416002)(52116002)(6666004)(83380400001)(36756003)(6506007)(8936002)(5660300002)(110136005)(54906003)(44832011)(2906002)(86362001)(316002)(478600001)(6486002)(1076003)(38100700002)(186003)(66946007)(66556008)(66476007)(2616005)(26005)(6512007)(8676002)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Vx4J1jzlq6nB7syO/Azft2S6pGC4coN2ykYmUDL2nrxlspZVgQJirdEN0Lnh63BGb6IgHlHYpG/XMrYtIithlEsmVm5LLMWQjHmxQygumbqGldCYhHvu6YTbZOvJYpvF1gpZvViQUtlVlxTLw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paej3cRFwg6q0xb0thUk0raK3pj6ow/hklPH76NMC5UBGnQEcNG4WMSpJA3yc+hY/NV/1ODAMRbwIzTiroNhHM38CmQ+HLh4ncYPT5PLFPXQc5K4xM2AKk6kQCAi33qZ4IDsynCQV8AqWUhwyCxMTBkjF/wi8qIvE6EdAwEBm79ynbZP+y0kPo78GZC92CfrKS6bcz8ixstwUqSiXbvQs64krtNYT2X9Lpv6XNKYKGGoA1YX/bvnzW5KQpNP3Ms+DhuYHy+heBc19WKcMF05b++9CSaPDrlMRgr5QpZdE6MLrw1bkgdeU534vz/MB1hvoidflun4ui5JI0gIuq+YG6N9YZ9TtIFIyqa68UTnA+SgQPx5kHfxE69GEzT0qOvVMeJy9A== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8791c391-7af0-47c6-71f7-08da9b46187f X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2022 20:24:18.8461 (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: qnUnNWDieIsnGwyeb36YGs31VFlf+ww1neJFmWe/RWsqAKJA2wa6AT9F3PNff68KCpVRhin4vbulQjBxn3Mhcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR03MB9566 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220920_132427_225683_F7774D35 X-CRM114-Status: GOOD ( 13.88 ) 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-09-20 13:23:51) > 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 */