Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp727526ybt; Fri, 26 Jun 2020 10:04:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWdqg0GdYA1KTcZi7qEBXnBkSb5QmXdg6VccDUw3p4xFd02ZqC9xKTWg2XA+Rt9PdsWkME X-Received: by 2002:a17:906:7c3:: with SMTP id m3mr3343456ejc.30.1593191087897; Fri, 26 Jun 2020 10:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593191087; cv=none; d=google.com; s=arc-20160816; b=fOs9dFfFwO9rKbtdeEMI02bK23M9gfOY+2FSrb2phMCu36ukKOFmCAoc3A7xeihoi/ jL7q6MpJ1Aid6AyCoigokp3mx32B6VcoXBRzva+RVwExJWN98i+GRGkX8+wTnrTykxcM omxJgBbpU6Lut5ZMKVaGxBMdTIedBSvorhO4dQih/UGwo5OID8xSSg6Y5gr5/2uvZ8zp XDWU9RVcuVONHMdX8Htvo75TlRPD31L+XEVcFL42q5h8qYJyukt+nSHIBAIkIpvLSpTD 1yv8FE8uQ0UshnDmFrqnAWJeDyzrKuEwnvoot6YA0fw0N6hMhsW9LfyMRjFFwma1gXP8 603A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=UM5Bbd0/GCwYfLhn/DGNjOUA+9lJK2yysJtZ6vuKT3w=; b=vLUblyYKtzE0jJYnmmJPQV/BjqU0pgXiucaE0oA8OZ3Ry1TqfUve/707cYzEXUgcD7 1IPNtEafO5iaWxT3ckMDgWejUinFVKLzdmtCaKcnhUv+6OgXUQrS/XN2zmAj2uzO0J1P zWTWVaZRBjEbvhyrmOX65RdTl/iLJfS2UL2r1i7KBdd3X18lc/EJQfrb5s/N078QemWg t/gwFLpzoHbYC1oDAjyRj48171lkuTtxTBkyDG6e5Bdbx/vxnxlemn89pEWcEZLQ+36u LBB9xqKwKCYNpKf0oXSuPQh2vo1Wq/paty30x2RySX8b/WO0EZJwsG7qdaouZZaUAWmr K7Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=itVozhVZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c3si14032266edn.385.2020.06.26.10.04.25; Fri, 26 Jun 2020 10:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=itVozhVZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729907AbgFZPoE (ORCPT + 99 others); Fri, 26 Jun 2020 11:44:04 -0400 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:12431 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbgFZPoE (ORCPT ); Fri, 26 Jun 2020 11:44:04 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 26 Jun 2020 08:43:17 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 26 Jun 2020 08:44:04 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 26 Jun 2020 08:44:04 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 26 Jun 2020 15:44:03 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 26 Jun 2020 15:44:03 +0000 Received: from sumitg-l4t.nvidia.com (Not Verified[10.24.37.103]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Fri, 26 Jun 2020 08:44:03 -0700 From: Sumit Gupta To: , , , , , , , , , , , , CC: , , Subject: [TEGRA194_CPUFREQ PATCH v4 0/4] Add cpufreq driver for Tegra194 Date: Fri, 26 Jun 2020 21:13:52 +0530 Message-ID: <1593186236-12760-1-git-send-email-sumitg@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1593186197; bh=UM5Bbd0/GCwYfLhn/DGNjOUA+9lJK2yysJtZ6vuKT3w=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=itVozhVZE0HqUPYrUE3m9zs4S5isSIaSDKgdblwqwDxbYUjQqWeR6Ocizr8a6ENYD eAe5ebcN6juo8UFkShxVOomHAq8+j8AvyJg37XPJYIvwfZxZX2bRtH/pPXs93dfD1+ L+PHJ5dO870vMQo5GnDLv+51Sx5UVMfYHrXmC66xGPxcr93hTv24tyEyPNtaF36x2N olV0DzDAA1aLQ8Sl55fiQaRH7K6s/VX7s+5GB2mT29KAWgodPLNcnO37j28sQ0O7tI XPEcoSmZsP37G8ww2zMsBLF+23B6GcmhrT0XVJDFm7cZtX1ESYDfKmq0wm20//s4nP qZol7eI/JzlaA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch series adds cpufreq driver for Tegra194 SOC. Incorporated the feedback on previous version patchset. Please consider this patch series for merging in 5.9. v3[3] -> v4 - Open code LOOP_FOR_EACH_CPU_OF_CLUSTER macro[Viresh] - Delete unused funciton map_freq_to_ndiv[Viresh, kernel test bot] - Remove flush_workqueue from free_resources[Viresh] v2[2] -> v3 - Set same policy for all cpus in a cluster[Viresh]. - Add compatible string for CPU Complex under cpus node[Thierry]. - Add reference to bpmp node under cpus node[Thierry]. - Bind cpufreq driver to CPU Complex compatible string[Thierry]. - Remove patch to get bpmp data as now using cpus node to get that[Thierry]. v1[1] -> v2: - Remove cpufreq_lock mutex from tegra194_cpufreq_set_target [Viresh]. - Remove CPUFREQ_ASYNC_NOTIFICATION flag [Viresh]. - Remove redundant _begin|end() call from tegra194_cpufreq_set_target. - Rename opp_table to freq_table [Viresh]. Sumit Gupta (4): dt-bindings: arm: Add t194 ccplex compatible and bpmp property arm64: tegra: Add t194 ccplex compatible and bpmp property cpufreq: Add Tegra194 cpufreq driver arm64: defconfig: Enable CONFIG_ARM_TEGRA194_CPUFREQ Documentation/devicetree/bindings/arm/cpus.yaml | 9 + arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 + arch/arm64/configs/defconfig | 1 + drivers/cpufreq/Kconfig.arm | 6 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/tegra194-cpufreq.c | 396 ++++++++++++++++++++++++ 6 files changed, 415 insertions(+) create mode 100644 drivers/cpufreq/tegra194-cpufreq.c [1] https://marc.info/?t=157539452300001&r=1&w=2 [2] https://marc.info/?l=linux-tegra&m=158602857106213&w=2 [3] https://marc.info/?l=linux-pm&m=159283376010084&w=2 -- 2.7.4