Message ID | 20231129112916.23125-1-jay.buddhabhatti@amd.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp270477vqn; Wed, 29 Nov 2023 03:29:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7KDYWSoJC+h33+yI1VE0kc1cK9ccf7v7kzb05Um3zG/K47G9gee0bSh10w/jt701K5VCs X-Received: by 2002:a17:902:7483:b0:1cf:5422:f2b6 with SMTP id h3-20020a170902748300b001cf5422f2b6mr16790480pll.57.1701257382638; Wed, 29 Nov 2023 03:29:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701257382; cv=pass; d=google.com; s=arc-20160816; b=DgGE2HCBv9nUR7Th96F8g+9qoOvQH0vgu7/dzuUBdJt2aUfgFYgG2kaVFi2+H16KuZ kX174+IrtuYVsVICsJMV1k4M40kHvXg64M5WKhV+ZT8MUel4adNgAG54CszNnx7tIRzz bfWw3gzPnnUKE880s6DZY5jZlel0OwDW72zQ4f3Z80Thj7ZA75Or2lOsN3E0Hnncku2n Fzm2z76+yFEBjofCpqOh2lSN+Reyqr+ghWMFELlNTvvbGIzKwcfQE8HHBdFGMMZcAozP wbaGD+T/dC0aFmbpdD05NPGnHxULSrZheOHDc6gAhZgQHEQKDoNxWpB2kRpK9/Bv8l1G yuLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=PYPC5aA5vCT0RpUFzi3Ffqik11yqzDWUr5NuVUz8Hmg=; fh=qCcxsu78JX1vSL37zs8P77C3eTFXBRDXf6T38mSfIPo=; b=SJ9YpOZW1C7tpedvttepaDjITPf/+ZQLN1x1twPqYoaNrV9xXPl8NQ4Oxq4XUISglw rI5NeTLFcAkDjjbEHgLMIeo1wkN9jc54fsbueEGa4keRVc90GoMl/JUHx/yKg9VD5RpJ pQ6UiQd26G8Wvj+3XKt9K5SunfNk+KKbJ7/phV1mzlLwGu+ZIPBK5+i5G906yzWt1V6V mT1Nf/Ex2oT3JWxmZiWHXj7/rrfPdcq5j81GbmQwg0dST6MSSzpPn5UpH4X1x0VrsEiE /3lD6NRmICpILx1fcHIpN32pOMBlfAZ5Z5+9410BYykfDgrktBAKvxyFH4yYF7LQYubW nFeQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=mkX+n+6Z; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q8-20020a17090311c800b001c9ce2b6b9esi14298694plh.262.2023.11.29.03.29.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 03:29:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=mkX+n+6Z; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4DBD98031E31; Wed, 29 Nov 2023 03:29:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232328AbjK2L3c (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Wed, 29 Nov 2023 06:29:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbjK2L3a (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Nov 2023 06:29:30 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3BE484; Wed, 29 Nov 2023 03:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gywo5gdoqA8Qs4d1qrY3F4aAaGB63qvD3/iK6dSyo05duFGRqxe7lDAMk/q3zqB2nZTBHgxLyWwIiFsYnO7+rSaY9+6r9uuQLLxcPyZosficprQs9P1tuOoC2XXIISS4K3h5BVGzzL8QahvPNKw5f+hQZ7HqLHV4Nfb618xvpxpPHHCPuwrwAuE5jzxDE2r9T19oe2kbIV/eMTO5vph3CQhaWzKUhCj0fYl5dl3K0EEp06MKCWAevaJj0by52p2YYvRp7PymMh4zIKb2DFeaF1+pjmWYcJdC6ikVKxDKHJ4rMk1bOgMS4UWvASPdnvfN3yhGlVJjKTYGHLhOivZhPQ== 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=PYPC5aA5vCT0RpUFzi3Ffqik11yqzDWUr5NuVUz8Hmg=; b=U0e89/UE/Fu0QBHPbwemawUvKyWZomsOHkX20Ojp5HW+2OLETIgDMy4OSlesEvcpKTQmhYREIAx0cWXv3nwbcyeYkFixGt0i/MmQJMDiwSb9d9nNttQs9akMSTgYnVWlsmzkmHYD+AoZ828S2obuG+hnAhjrausvKeQYkEzuHljNVp8zTdZv1ceZwVhe0Rv5fXukr1U3ekytKJz9+18HT6vAtyvIYsJHlWOQYBPRpXPpizcSHK6SpMUVXQXb6EnFn7CWxo1lqnkFVFKT7JvVQiuzxiqCXnH/3+NiqWCLGNpGhARqUW/np+sWubcmhXYsJTI5EpHPjCuG3ZYubRL9gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=baylibre.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PYPC5aA5vCT0RpUFzi3Ffqik11yqzDWUr5NuVUz8Hmg=; b=mkX+n+6ZLPY/p8pNiUkm5BtLgSijZcttLVWmQsVe+GXfrSRXLYkC7todBcQayOaX7GL72N4F5nh2Yl+w+7oBkl4j/DaGX+I9NKh7whKDMOQAhGN+1pTyGMx0kWlXwD0MB2uDQMUmvxy5h8gTy2dPBzka0gM0+5MzI5LYd8CxzCw= Received: from BL1PR13CA0441.namprd13.prod.outlook.com (2603:10b6:208:2c3::26) by CY8PR12MB7515.namprd12.prod.outlook.com (2603:10b6:930:93::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.22; Wed, 29 Nov 2023 11:29:34 +0000 Received: from BL02EPF0001A0FF.namprd03.prod.outlook.com (2603:10b6:208:2c3:cafe::b4) by BL1PR13CA0441.outlook.office365.com (2603:10b6:208:2c3::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.22 via Frontend Transport; Wed, 29 Nov 2023 11:29:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL02EPF0001A0FF.mail.protection.outlook.com (10.167.242.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7046.17 via Frontend Transport; Wed, 29 Nov 2023 11:29:34 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 29 Nov 2023 05:29:33 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 29 Nov 2023 03:29:33 -0800 Received: from xsjarunbala50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.34 via Frontend Transport; Wed, 29 Nov 2023 05:29:32 -0600 From: Jay Buddhabhatti <jay.buddhabhatti@amd.com> To: <mturquette@baylibre.com>, <sboyd@kernel.org>, <michal.simek@amd.com>, <shubhrajyoti.datta@xilinx.com> CC: <linux-clk@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Jay Buddhabhatti <jay.buddhabhatti@amd.com> Subject: [PATCH RESEND v2 0/2] update for versal net platform Date: Wed, 29 Nov 2023 03:29:14 -0800 Message-ID: <20231129112916.23125-1-jay.buddhabhatti@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0001A0FF:EE_|CY8PR12MB7515:EE_ X-MS-Office365-Filtering-Correlation-Id: d892225e-fad4-48ba-d414-08dbf0ce764f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MxL/3Z0k+2xXubfPeH3Sx4HCWKWs7kZDE0nWwwIeflm7x7Ukgj3JzBynmV0v3SjTsHntyFrhic0nBLq5o2EW98YjexdvKbuq281OB64sXLUt2jxmKTo7Moe3n+3NpPwLOne1hwpI2/uBnmTyD5fCO2sljA9gGWbXEHYSFZPb2ReqY/6CmNPwdc4W8jp9rGhi+xb29ESctslbjYu3ZXB0MVk7z6aEGCaJE3RDsRD7LGgN7+Lr0X0iwN28SdoYUvMrJDDnLitLgflKlvIWmzkEkf92sRd4RJ+wpaa4jq5ZR3QB8Y5xl0CXCkSkD2G+6jKKZfziOyaJpRgyPnUS4cj3QOnpBU64IxVVtsA01EmvuBEOQF42TfQbZxhyPLlio9IvqX1g4iOQojSZtDAPQ7mKSnEvqz5lrNUWC3LDKrAT92sQbSNro9QEluovJ0uzBwa6JD/fgjwiLk2IcXqi9UjofLQhkLXFz++k1IbdB09TxpoV+35OUqVFBG6Jb6CTKugZ7ocPPZmLEbN9WAo4aXoDpqN3BbzTzl9PjGedCu21yE8RlCnN5JnbI3TASsOcuu+svrR1gyKcNe0/T92kr8883Km8Tuq2ZgIJ94O1hGUYYvOsVMGN8lz2LwS1mpx/PlZyiAIi5VnD3LWWAk9h7yuvnq5iuZQ0QwD0goHgB9lebBYrJ7tPYAsBKpMuwTaFq1KYhfuNeV0X43+iW2xhHZvflxpa1zqgy/JlmTAaSKm4KtbScGcqaAWy4/7jjmtE0dMSZhjQHfNJG0fWqfyyefqwlg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(346002)(376002)(39860400002)(396003)(136003)(230922051799003)(64100799003)(451199024)(82310400011)(186009)(1800799012)(36840700001)(40470700004)(46966006)(40460700003)(316002)(110136005)(70206006)(54906003)(70586007)(426003)(36756003)(36860700001)(336012)(6666004)(26005)(2616005)(1076003)(478600001)(966005)(82740400003)(356005)(81166007)(86362001)(83380400001)(47076005)(40480700001)(44832011)(4744005)(5660300002)(15650500001)(2906002)(4326008)(41300700001)(8936002)(8676002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2023 11:29:34.1616 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d892225e-fad4-48ba-d414-08dbf0ce764f X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF0001A0FF.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7515 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 03:29:41 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783897521051411256 X-GMAIL-MSGID: 1783897661181637497 |
Series |
update for versal net platform
|
|
Message
Buddhabhatti, Jay
Nov. 29, 2023, 11:29 a.m. UTC
Update clock driver to support for Versal NET platforms. Versal Net is a new AMD/Xilinx SoC. V1 link: https://lore.kernel.org/lkml/20231016113002.15929-1-jay.buddhabhatti@amd.com/ V1->V2: - Updated logic to use fls() to get max width of divider - Added fixes tag in patch #1 Jay Buddhabhatti (2): drivers: clk: zynqmp: calculate closest mux rate drivers: clk: zynqmp: update divider round rate logic drivers/clk/zynqmp/clk-mux-zynqmp.c | 2 +- drivers/clk/zynqmp/divider.c | 66 +++-------------------------- 2 files changed, 6 insertions(+), 62 deletions(-)