Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp968244ybh; Thu, 12 Mar 2020 14:32:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsQ/wIMPMfOyObP0kEpS7LpZxckS2NoqBLc9wu4nbBQspAQUdhnPHlMKlzDTaCxx19Mc2D4 X-Received: by 2002:a9d:ac5:: with SMTP id 63mr3589287otq.239.1584048763083; Thu, 12 Mar 2020 14:32:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1584048763; cv=pass; d=google.com; s=arc-20160816; b=teNmfsGcPKVJM+yw0hR8AIdxHC4Bmd9Bl5SHxzizuxSIotGzq+no8cObq+IQCc+Zur JkRTpRfT9wGWQHOiSr8Pua5G42+jxnOsM+7lB4IufsofhkpaXYJOgrE19snIDyQBjZz+ D3QkDqULKS+l3fLKHfNGe4WHwhfgKzBD8IXK81WXsorkkQXxh27qp4RYGqziuDtSH90T mTikJjQnHB5Kq9NZUpxUiIKFcnj/DcYu3xglJFsqSCzNYk7FQx0UKXUtWcIhvNSaCGJj ershpRT84GwFd/Ojhe5u3UF5cVe8hL8qZAdmMjVrX1pJa2eJVOtencRt2VK29zENw5qu P9kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=03nBHcQ6MxdHIBo1SrKuP0e1LrxXJUvJ4S79wRCkItI=; b=sHxVx9c/7d+qjhxc6y9Mts1x6fUIC7LzIO/Egc3tVEy/xD5oMQjyz4jK/1Z9eIb8rr y7KF2y5WoObzoRhabHugJNp32b21fpk5ZDklX7brT7f8udAaotFGZf4/5TKgGInq/N1b 91esMTsPDfsok35xfRuHDhiYv1S+2twEZ83ABrPIY5VTo3dFVQtmC6Ty7P336Om17EDt 2mPj2ytkkHARnEGUtE28Ebpn0dwS/SgtCkJ3DKEIIOyhqiX4RcZ7VD+LW4D+AzJNPFZg ysl+cQKbO9OYDv0w/u6cshXjq/5V9GUkwVZ28SiIKhq4O9RSp9V2pPHIXqND2JY8MI6k 8dTg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=dNOfdlo+; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d26si3482703otp.92.2020.03.12.14.32.29; Thu, 12 Mar 2020 14:32:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=dNOfdlo+; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726636AbgCLVcL (ORCPT + 99 others); Thu, 12 Mar 2020 17:32:11 -0400 Received: from mail-mw2nam12on2042.outbound.protection.outlook.com ([40.107.244.42]:48384 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726534AbgCLVcL (ORCPT ); Thu, 12 Mar 2020 17:32:11 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ToCOHUVw5lx3Y7tc994eDWBP7jfhqkrYDb4yugUqeVN0CrJvwzI3ysDQEI/+Uip2L1wlv47cXRdpi6TAc8QIKZhlb8ULEwD8BCnbBcuJ0//L9OiMnUC0gYBczfxtTMnsjwSmdBvBEns7ZyUNK9gCcKeVkn26wsQ/clfi11A+37p2l+D41A5RNXodHnJmb27kNRefYrJpFyOHTcob9zMj0wvrbjiszmkmANyE1d4hdeH1KgWkbFlC/M9fH0Mnij9izkylhFR2ZqmYiGVebYtnWI5/TCECubNqlxaQ9DfVPoAeCIC51qf+5v5Ecrc8yr/shQ5RLWAkw9Tr1R+4+UIgNw== 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-SenderADCheck; bh=03nBHcQ6MxdHIBo1SrKuP0e1LrxXJUvJ4S79wRCkItI=; b=AaQNPhK9yP88rQj35B0VPT6pObG14czc57osITvTw3RIi2zm3m5cGvRFJmfA1lajJKzmGcoZgE4yrhLndC5XoXFa+c58DgWoSVcLlkyUe3o4cA5AD/EYPZfcy6p54Ah+jxNH31DRM35+3SOdbqTuCtnCu8lxXbtwbIqP42lz3q4bNtkgXSGAcO0LjK88d5lU7KavzE2ZG8tiNtq98MPVDLpBjGzsAo13UGaqvpipu5lf6eeIIepx5go1I3ifOpr2wHkevtLijN6XztvI8qnUBnGC6KOYk9e99ZliZRJl3UdscsyriO6WJTppf21MFOx7pFVZ0y98gCBG5BxmjRHbfQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=lixom.net smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=03nBHcQ6MxdHIBo1SrKuP0e1LrxXJUvJ4S79wRCkItI=; b=dNOfdlo+1zi7Ae+R/vX6P0y1EyNOsvs/D1uqKlqSKxAQpqvI+xwxKSnECEwREJRtpghxaqyUQxUSKmnqDeggTRdiYm07Rt44U4rGVtG8xrEGa+wXzyxOPgH7Q8zROtdfYjT2hbiyDlC4YyGUEKuRiCXAtUBiLJJtbJz8m+NK1Ic= Received: from CY4PR05CA0017.namprd05.prod.outlook.com (2603:10b6:910:87::30) by DM5PR02MB2793.namprd02.prod.outlook.com (2603:10b6:3:109::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.16; Thu, 12 Mar 2020 21:32:08 +0000 Received: from CY1NAM02FT023.eop-nam02.prod.protection.outlook.com (2603:10b6:910:87:cafe::e5) by CY4PR05CA0017.outlook.office365.com (2603:10b6:910:87::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.8 via Frontend Transport; Thu, 12 Mar 2020 21:32:08 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; lixom.net; dkim=none (message not signed) header.d=none;lixom.net; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT023.mail.protection.outlook.com (10.152.74.237) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2814.13 via Frontend Transport; Thu, 12 Mar 2020 21:32:07 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1jCVR1-0001nE-42; Thu, 12 Mar 2020 14:32:07 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1jCVQv-0006jp-TW; Thu, 12 Mar 2020 14:32:01 -0700 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1jCVQm-0006iZ-TJ; Thu, 12 Mar 2020 14:31:52 -0700 From: Jolly Shah To: olof@lixom.net, mturquette@baylibre.com, sboyd@kernel.org, michal.simek@xilinx.com, arm@kernel.org, linux-clk@vger.kernel.org Cc: rajanv@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jolly Shah Subject: [PATCH v2 0/2] drivers: clk: zynqmp: Update fraction clock check from custom type flags Date: Thu, 12 Mar 2020 14:31:37 -0700 Message-Id: <1584048699-24186-1-git-send-email-jolly.shah@xilinx.com> X-Mailer: git-send-email 2.7.4 X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(396003)(376002)(136003)(39860400002)(346002)(199004)(81156014)(186003)(81166006)(8676002)(26005)(44832011)(5660300002)(2616005)(9786002)(336012)(8936002)(7696005)(426003)(15650500001)(316002)(70206006)(70586007)(2906002)(36756003)(4326008)(4744005)(356004)(6666004)(478600001)(107886003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR02MB2793;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;A:1; MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ec9af2d1-af7e-48a4-d754-08d7c6ccd119 X-MS-TrafficTypeDiagnostic: DM5PR02MB2793: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-Forefront-PRVS: 0340850FCD X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ba0XtMKXggnlyoPY4IEJx2XPNhPG0AhQXQBDGWhkT+oHhePp57rjJqKKLMGAp0hcDzaIu3j73TUuA4uIRUPYR1e0YBVSawy7+sy4eMAMZuTxL84V29akKgeny5vTYRp6VmjKsyN+Yj7b41VhUYhCGKhX/vTrlGQ8eNwZFvO9JwFx91BwVHDQwF7LDlrV9SvsyiALfnjottzfCIjaSxa8++XlsYJmalSKyEsQgPn1YgctmrXQryqhPuw5h9IL+CVEEqpYqXPr52afcObnHtNqzXrqo13Ufgyog6TYBQ827BSyLhld43j4np1e/NunC+p2696Ba+7x2nObS3wOJLBBiancC8NRRv7LaWnpU2hJGmlldz5c3JL/hc8EBrFTL94ZAkW158vfCZqzvTbRyOwapvJk475NyC/l/rVoKxT5loqxO4zEcdj4XRPAUwcyBdYa X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2020 21:32:07.8693 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec9af2d1-af7e-48a4-d754-08d7c6ccd119 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2793 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for custom type flags passed from firmware. It also update fraction clock check from custom type flags since new firmware pass CLK_FRAC flag as a part of custom flags instead of clkflags as CLK_FRAC is not common clock framework flag. This patch series maintains backward compatibility with older version of firmware. v2: -PATCH[2/2] Correct BIT index of CLK_FRAC in custom_type_flag Rajan Vaja (1): drivers: clk: zynqmp: Add support for custom type flags Tejas Patel (1): drivers: clk: zynqmp: Update fraction clock check from custom type flags drivers/clk/zynqmp/clk-zynqmp.h | 1 + drivers/clk/zynqmp/clkc.c | 4 ++++ drivers/clk/zynqmp/divider.c | 6 ++++-- 3 files changed, 9 insertions(+), 2 deletions(-) -- 2.7.4