Message ID | 20221013183854.21087-21-vidyas@nvidia.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp430002wrs; Thu, 13 Oct 2022 11:55:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ZqyjfD1SQ43y4Is0uWVembfSJaVbsnpSd/ZL3LuABmMnK8zQ1w/xD8OKZ1lcfO0xCcfxG X-Received: by 2002:a17:906:4783:b0:780:5be5:c81b with SMTP id cw3-20020a170906478300b007805be5c81bmr899751ejc.76.1665687356209; Thu, 13 Oct 2022 11:55:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665687356; cv=pass; d=google.com; s=arc-20160816; b=a9KWNQqVDhEc+9/7aUE31meg4vwtSxx1rGPWAIACQvymS4vnewROb0HWFV+NPicnyP apDV2z5njmVFdvfpiP2qOr9GcuodzUQgalhObSLH9PNBemA3sWqns9pckXnBCLRKbkvO F/MsGJZfAaKFqRqLpBNH4WHjZtFAR8+nGpmmgfGIARqkXUNKlcwD8K2Xc7dN1AK55clB wcbfzuAKuJxZglvdtUsw0TO/LYexIICS3BEW8O5qVPMpplceys4Jj2Orz9jBPYkIctre EOMuohPijxWDAM9d55yUzgQIR6PC4vHCOC8Ipsn+BLHJ8IzjvMN+pxiTS9lrLm2Nuvmd oZog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+OYl6hX3/oChjrgjuOaGFWyc0+88Bn9/AYVGZVWF5mc=; b=G3EAJH3kBY/bMwNXNu/HmxXRvx3w2JORawhCB/T1fdXTc6VFa559C4dCiKTON5xmJb cTT/Qikz0aSwa4UMnSiDZlMqmPpOgxcrSlg7ZoH2FyUzpObAz9rQokXxk93P1+uC5kyO /BQQquH7za4oEX8XfIrlSYxjh96kFXJbnQwsihFvkjsMoXYRwm4j5b2YYVx+jiAydzDa oB+nE+O2pOruGw9biqm+PNirUD8ovX80G8wib/YnWvIiyCIt7MebYveLAkHLrEu1/Ftg vk4UimmBlBx4bYF4NSTR7+vidN6PLHxu6ON5EdNKm7n2yXg5f5ScFO6Vmv1AjFNT7PvV R80g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="QX2O/DwP"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a509502000000b004595af54eacsi456899eda.226.2022.10.13.11.55.31; Thu, 13 Oct 2022 11:55:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="QX2O/DwP"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232218AbiJMSpL (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Thu, 13 Oct 2022 14:45:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232355AbiJMSn5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Oct 2022 14:43:57 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2061b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::61b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F81765D1; Thu, 13 Oct 2022 11:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SUN6F+uuswwJQ6fTe7zoocqoVCJftyfPS5Aykj5X1iI0sft0PSVWsuQ1Tbbx4MdiuCZwE+oFxQt2QO2iKrPo3/BDETkYqcT/PuA74kxoaQaG35kMdXpYkRSN1UH6HfIZj61vDPE8fsQfDwi98DeysJe0Sk1H3b+amQtbxmDKwQ8bimQcY8JCqNMtmDEc2f5ay0A7yHIqNnKCrBzTkKGB+d4j4khKyPmLRHPSlrqrrbrGX/ZltUNS/bCcQscUWgakevTk6VVAh0nXKlDssl0E15qPLhfiyxgPL6cz6rAcAZYxdzCLwglh+yx0BtLWxdnyR9QZvy/V20NILKCypga6XQ== 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=+OYl6hX3/oChjrgjuOaGFWyc0+88Bn9/AYVGZVWF5mc=; b=lyoFcKL5aWLRmFdl8O5sodHlJFVSixlTU4c6QCcxQ9m1b5lSzDzv1Rg6QTBZZ2fvZkFqpjb1G2z5cgPJxM3XCl3hvzgytTs8g+Up42cnVnL+yhBtihe9Y2TjZ/5/kKKxdiM9nydpfk31utOijgHIrvMEwFgMeEr3r3OXEjHHMQtO3I1TxJZ+afsLXXydFrQhMWLvvMxA6P8Yfnz0nN6JPqlOIQEC4+vDGFWTXk5egssml+xn5FQfrZ+D4JwcwEN6jBz5FJKYmzwr5Pae/hrdJVIQEZXNNMe9RwmAAhPz1iM0XZ9vn74z6ZkdnEOYAVN1a1YE1txNVh1uRoDVmy/boA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+OYl6hX3/oChjrgjuOaGFWyc0+88Bn9/AYVGZVWF5mc=; b=QX2O/DwP8jXqMelbv+SPkQZ1NRy0bZluS7eiI543uWkr1OcPt/eRS6ntPae/wwHcOI4Cdruv3aqu1Z5VG0tVELpLcjFjWyxoJPhFecjGpkjRzoDL/hiCMQ0eMxJj5kbl3c/XPVavm5Sr8Vp5ZQb6DCZ/Ky5ONQ7ux2BrT3Z6FaNZdIpz1x0Yku3hPb6Ti3FsLPNP4Gyl+sIY+OMhIRdiLZnnGWJrSjVmdcMtUMUR0Q8wOAgiN9IjiER/YVlMbsqVuV+qZrbNDyp4IVH9VsEpqNVzciA8IW94QHWp7zuyAE/sIreKEhYq5SZij84fB7VTH411VjYGjhLZMfmMyHc6cg== Received: from DM6PR05CA0048.namprd05.prod.outlook.com (2603:10b6:5:335::17) by PH7PR12MB5709.namprd12.prod.outlook.com (2603:10b6:510:1e0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.21; Thu, 13 Oct 2022 18:41:21 +0000 Received: from DM6NAM11FT061.eop-nam11.prod.protection.outlook.com (2603:10b6:5:335:cafe::ec) by DM6PR05CA0048.outlook.office365.com (2603:10b6:5:335::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.11 via Frontend Transport; Thu, 13 Oct 2022 18:41:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by DM6NAM11FT061.mail.protection.outlook.com (10.13.173.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.20 via Frontend Transport; Thu, 13 Oct 2022 18:41:20 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Thu, 13 Oct 2022 11:41:15 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Thu, 13 Oct 2022 11:41:14 -0700 Received: from vidyas-desktop.nvidia.com (10.127.8.9) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.986.29 via Frontend Transport; Thu, 13 Oct 2022 11:41:10 -0700 From: Vidya Sagar <vidyas@nvidia.com> To: <lpieralisi@kernel.org>, <robh@kernel.org>, <kw@linux.com>, <bhelgaas@google.com>, <thierry.reding@gmail.com>, <jonathanh@nvidia.com>, <kishon@ti.com>, <vkoul@kernel.org>, <mani@kernel.org>, <Sergey.Semin@baikalelectronics.ru>, <ffclaire1224@gmail.com> CC: <linux-pci@vger.kernel.org>, <linux-tegra@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-phy@lists.infradead.org>, <kthota@nvidia.com>, <mmaddireddy@nvidia.com>, <vidyas@nvidia.com>, <sagar.tv@gmail.com> Subject: [PATCH V3 20/21] dt-bindings: PCI: tegra194: Add monitor clock support Date: Fri, 14 Oct 2022 00:08:53 +0530 Message-ID: <20221013183854.21087-21-vidyas@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221013183854.21087-1-vidyas@nvidia.com> References: <20221013183854.21087-1-vidyas@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT061:EE_|PH7PR12MB5709:EE_ X-MS-Office365-Filtering-Correlation-Id: 29b66c5d-8da7-4b57-7170-08daad4a85b4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5IdSbKPRTJkE+mvyASrLxqQKH/H1WCIxP3B1/IR9pRTpOP0oiAhlVTQ/o2ARKomfF2Xcr8pzkYzo4iKM9tiOWjGILmLzP6gR4jX4zYS5XZ7etENLAapuCY4ykEdTKLBMT5MbWQNQoVU8zM1xa7i3ULiIyDnyGz2V+bE0KWRBHSrcabTSD0MkzucajJXK+jjpeIcn0ahoJOsf36VwtLYoJKE7OQRlDnjb5UW0zL2fQoz34wFZ51VDP5EDyVsW4N2pioG+32ikVSzaE3Y4SCrFaff2oYENcijNAiivlPv6jHPBXBgGwJMebvOMY47J6iIFGqcNtxGkhbdwkM921ZLEQdtZkDSd7L3y3ldOUx8fCnYOzkHPyKPr+syDQjxQ+nmoZc6ci9VE804NRyCKIep/rMlFE77XKStO4LTsKVBL9IyXvISI1a90TOZKsPJmt0kjtiNJ0x9RUv0MxUb4+OhnddZf4ET0UKnUh8gjowEC575XU/LFyri+E8Dfptv2lg1KLq237gkO5cCJWzWjNrFEBTo8YZm/s92fx0YCYcvPbbEQUvt+9WNKnMhJCg6C9SBZGqc/TSr5apJf3OF7a3vzH/msaP45MQ8YagIZ3uDRCvu5OkBFGO++fIz2dERGbdpCK0fZ2WmNPnOfhBcUhiW6goQNcuA9PEkbdYZsU2uX9HhBOaHt103I7ZJ/qb7kPP3wJiu9bQnVvOhxXYpg3SkTavzDzZVzf+0763ZsTRI11X5kvi52rI01OHeVD4zviK/GUpARWQ3DVH5BAJhH+JL5G9rIjc2YIchbLeYYrqIeJxg= X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(346002)(376002)(136003)(396003)(39860400002)(451199015)(46966006)(40470700004)(36840700001)(54906003)(356005)(7416002)(921005)(70206006)(70586007)(82740400003)(7636003)(2906002)(5660300002)(40460700003)(8936002)(41300700001)(36860700001)(8676002)(26005)(4326008)(110136005)(2616005)(1076003)(336012)(478600001)(6666004)(7696005)(316002)(186003)(83380400001)(47076005)(82310400005)(426003)(36756003)(40480700001)(86362001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2022 18:41:20.7320 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 29b66c5d-8da7-4b57-7170-08daad4a85b4 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT061.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5709 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, SPF_HELO_PASS,SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746599785297551222?= X-GMAIL-MSGID: =?utf-8?q?1746599785297551222?= |
Series |
Enhancements to pcie-tegra194 driver
|
|
Commit Message
Vidya Sagar
Oct. 13, 2022, 6:38 p.m. UTC
Tegra supports PCIe core clock monitoring for any rate changes that may be
happening because of the link speed changes. This is useful in tracking
any changes in the core clock that are not initiated by the software.
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
---
V3:
* This is a new patch in this series
.../devicetree/bindings/pci/nvidia,tegra194-pcie-ep.yaml | 6 +++++-
.../devicetree/bindings/pci/nvidia,tegra194-pcie.yaml | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie-ep.yaml index a24fb8307d29..7c6900802f04 100644 --- a/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie-ep.yaml @@ -55,12 +55,16 @@ properties: - const: intr clocks: + minItems: 1 items: - - description: module clock + - description: module's core clock + - description: module's monitor clock clock-names: + minItems: 1 items: - const: core + - const: core_m resets: items: diff --git a/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie.yaml b/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie.yaml index 75da3e8eecb9..aaaa238e6dc1 100644 --- a/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/nvidia,tegra194-pcie.yaml @@ -54,12 +54,16 @@ properties: - const: msi clocks: + minItems: 1 items: - - description: module clock + - description: module's core clock + - description: module's monitor clock clock-names: + minItems: 1 items: - const: core + - const: core_m resets: items: