Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp728728ybt; Fri, 26 Jun 2020 10:06:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnwVz455qb5Qp24LGmJuizeBFfHRVRoU0EIoY6wm/+HCipJIS8Tb5kelHRedpH80yKrgBD X-Received: by 2002:a50:d501:: with SMTP id u1mr4324785edi.159.1593191168417; Fri, 26 Jun 2020 10:06:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593191168; cv=none; d=google.com; s=arc-20160816; b=qQZwBeWFvt6waZhEia7k4A4EfOI3v0mWI8cBfYDwBPhZuTuzPue7lrUjyLc9kjUBbj v0tHt0vGX5TLuMbp8fvUAsi1xL+H5NbVjOTioaKVahNqSc2L1fpNcKr3YnC+PREUO3BR OcA+S63SgerUQ+LCC3eiw5wnjXiBNT/8C1TTWhLomtcZ1HPE3UUkhCofNN7kQ9CEM4de Gw6Roy+8XVIEILpAr+HthGU60qqCwo9HTqzZ62azJwX9YiPCZ8c+eUhA1weu+snvfp1s chLZnVhYyBCm0Ib/31thPFObFz7dL4KgSKK6iht0AZyZXC4MFaFCfOacgat8OM0x2MMs xPyA== 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:references :in-reply-to:message-id:date:subject:cc:to:from; bh=TpthJr1iU0Z8U18qrY6XTkSfu4UJS8h2L2M4yxyYoSY=; b=vhMK8v8sEG/59cgGts60ineXK/FduQU0Tu/5+yaZsLvkxxclSNC/rqoj9afaprHqcf rfjeupMIH0PUlxHOaDJ6TbdFhiuXuwOlUKmzu9C43HEhyneWDQGvjWjjh0GBLOXo6InM FF8oD+qsMDxPI/aoFbF0ngXKeji2h8Fpvt7iSPLKXCR75u7/OegYm1X8IbOJFtxytcqz TangYgflMiCyYvqXiHJM9uNDM69tgKVmB/TC231BFYT2thYOPoFJ2uex3wQJ4q/kTydV dJ7zHtRhfEARmjRiiddljFoG+w+83OwjgyQfhQjCxa9AAcjnUJNmD3FztOFAWaeQcYah hMSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=SJss+3SV; 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 ds16si21488771ejc.112.2020.06.26.10.05.45; Fri, 26 Jun 2020 10:06:08 -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=SJss+3SV; 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 S1729935AbgFZPoS (ORCPT + 99 others); Fri, 26 Jun 2020 11:44:18 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:7404 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbgFZPoS (ORCPT ); Fri, 26 Jun 2020 11:44:18 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 26 Jun 2020 08:42:43 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 26 Jun 2020 08:44:18 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 26 Jun 2020 08:44:18 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 26 Jun 2020 15:44:14 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 26 Jun 2020 15:44:14 +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:13 -0700 From: Sumit Gupta To: , , , , , , , , , , , , CC: , , Subject: [TEGRA194_CPUFREQ PATCH v4 2/4] arm64: tegra: Add t194 ccplex compatible and bpmp property Date: Fri, 26 Jun 2020 21:13:54 +0530 Message-ID: <1593186236-12760-3-git-send-email-sumitg@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593186236-12760-1-git-send-email-sumitg@nvidia.com> References: <1593186236-12760-1-git-send-email-sumitg@nvidia.com> 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=1593186163; bh=TpthJr1iU0Z8U18qrY6XTkSfu4UJS8h2L2M4yxyYoSY=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=SJss+3SVYoVyw3hk76qQCnfqfE3+M6RmWd8wKhQf87N+OFvV3m3w4jAweaSg1n9fQ LMs5r2abT3NQSTVHKnmHUPTBTGj54e2UxuNR/6iSs3PNnYiJCd96kTAC5BqGKpdtge rGY+wDH6nskrRPgDtt3LiNMw/uCOD6bht2CT3MgiTx4yavuPLHiOuqTHcU12R7gHXy Dcgt0avZyMSi5gvQ9aNF94IFnJnfKFX2mu33SVPsKOFNXIeh5hLIWqHLwEk8aOjS25 iUBbUShiDXBEL8yAGWkSm61wyi1b6AWL0hzlTaPlUlOkRXlBlV7i3u4LSh9S4c1bkv em9koXVuenJCw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tegra194, data on valid operating points for the CPUs needs to be queried from BPMP. In T194, there is no node representing CPU complex. So, add compatible string to the 'cpus' node instead of using dummy node to bind cpufreq driver. Also, add reference to the BPMP instance for the CPU complex. Signed-off-by: Sumit Gupta --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 7c9511a..0abf287 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -1764,6 +1764,8 @@ }; cpus { + compatible = "nvidia,tegra194-ccplex"; + nvidia,bpmp = <&bpmp>; #address-cells = <1>; #size-cells = <0>; -- 2.7.4