Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp699806img; Thu, 21 Mar 2019 07:12:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwS3C14yOCC2XbBr4sIsC03mUoXYUQFcL1FMX6BE58LEbGB44pVqnjH50L+5J+iiXKZ+uVy X-Received: by 2002:a63:2bc6:: with SMTP id r189mr3432528pgr.201.1553177554166; Thu, 21 Mar 2019 07:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553177554; cv=none; d=google.com; s=arc-20160816; b=V7n5bz7uWx1aVszUF136TXPYv3i87jhbx0MMAnlRyj8pY+q+Ep/Z+Cd6iFaBV8pxR0 kkN8xwoUqDqO3LpEByTTyNMNnslvnphG198CVUo8OUu7iQypm+0ZQE163QTg5aSaACIj SvAYs/iDd/f4WpV4aJHi7yiiVs12QbXSfKLmXU/7Kn7qP8mqjbifL49UdiRv4DMuXtYA xUAKXnjtym9gKczCceeqf3hdp9tC3ZxcijEdOycMETsDZ6oWkfDjKiJLow3W9SgkFlFi 4CPa7Lqlk6rTHy+8P/MkRsjYKbBI/FFLFcj87DonLDuLf5TjPa1z5SThe0aKCJJ6Lkif kRMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AS+LsqYxTTffpazQ8LaxjksLVMmWsfzAl8CHMIyU3HU=; b=wTl2c6eZ4fC5pqyvHMuRgFCSaSj1aeQOMGT79WdPq3D5cPM5sNrHPGxku6QJ8JF8t1 6Dx4/Qqq82Pdx14SbooilUSOhLXH0ljxYzxikAFzZWTazXc+3byC3FBososOW3DUb9wU q9pwRtF2bxcTZTc0aDx9g+594h4P/8n9fZE98681ESibvD4IJO6nQYAj5+SjEg8g6jzJ kb52RqbZTvX7kGvO4Ft9z2kQb+sNXHDQ5R0VmGQcJytg3MSSlLfxfYlXpBvXSb1+Tb0S gdIEtYHaaL3SbFOXNrGLeqabXSBAsjfGs7vogVJ3hsdIL9elDHP3eeI5rbAfFNwcSK+D mZ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=ZlR8OqoH; 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 k7si4344362pfb.69.2019.03.21.07.12.16; Thu, 21 Mar 2019 07:12:34 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=ZlR8OqoH; 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 S1728449AbfCUOKW (ORCPT + 99 others); Thu, 21 Mar 2019 10:10:22 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:55796 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728404AbfCUOKV (ORCPT ); Thu, 21 Mar 2019 10:10:21 -0400 Received: by mail-wm1-f66.google.com with SMTP id o25so2508445wmf.5 for ; Thu, 21 Mar 2019 07:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AS+LsqYxTTffpazQ8LaxjksLVMmWsfzAl8CHMIyU3HU=; b=ZlR8OqoHNR0x1Abt30mc0mzQAi2kRqUjEs+YgVsZblSata6Mcro9/DGFyf9A8zvtqn OtFfK0XyCOUh+gF1PA5ks7oxPtdLTHL5YW/2ec9T7QCJOQFvwxUI16Yw+L4VOnZSkXUZ f89HAHdOxIzDv4Kxr7PNTNzhnZjKPbWmKQUbuZM4GgsrOI53NPxPbiLDigxE0XJrhsot f5xTlY3zUdlh1jSGOAY9CDB61zhveALRP3tolPpesKN0FQeTQgrTBGBwBlUUQe/1vtCd 36XKyieFZfbOB/Mj31LE9y4yxJMmKI6Lf/JJDOQKO6PUk0pptI+jDirQrHkYKTv2sIGi MN7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AS+LsqYxTTffpazQ8LaxjksLVMmWsfzAl8CHMIyU3HU=; b=Xwfry+Wu64+Ydgyb4nvFyLdy34otpWfqlZBkqnJi87TVHzC1lsBW3s5BM+ABpWuhaO kXbku7Pfabfyvx760puysKiyVfxbr+CDDPRAhwHcg7jLbmWQ9COPOKRRxM5j/q4LfDQG zzbjuCd5ovpT7YLDBBBnSfYXde8gxTkWGsmwG0hpP5etRBd2s7EogOwLJQikmXpWZrNW ceEjLxKOZ+EM5ZgBe10jMvXg4Ddpm/LzKPPxIM9KC6BrSBcBfEPepSGB4pKRhCUnGBZ5 UJNmKQ37ESbGL7BvIgvHENDfFY5fhiLsONxCjbWBVQCaeOzFH48iWkk1i740R59/gyHX NcYA== X-Gm-Message-State: APjAAAXQ2q0g5sRmWibHECQcsN0x2wBMlTH9gtvKWDb/CHtlrLdidfh6 r0kfhvTpW4LS6y3Yi2cu2qYSxQ== X-Received: by 2002:a1c:e185:: with SMTP id y127mr2867510wmg.76.1553177419157; Thu, 21 Mar 2019 07:10:19 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-20-74.w90-86.abo.wanadoo.fr. [90.86.223.74]) by smtp.gmail.com with ESMTPSA id z14sm7513921wrv.78.2019.03.21.07.10.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 07:10:18 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , David Lechner Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 3/4] ARM: dts: da850-evm: enable cpufreq Date: Thu, 21 Mar 2019 15:10:09 +0100 Message-Id: <20190321141010.19612-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190321141010.19612-1-brgl@bgdev.pl> References: <20190321141010.19612-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Enable cpufreq-dt support for da850-evm. The cvdd regulator is fixed at 1.2V on this board so disable the lower operating points and enable the 375MHz opp. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index f04bc3e15332..f63867692da4 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -151,6 +151,15 @@ system-clock-frequency = <24576000>; }; }; + + cvdd: regulator0 { + compatible = "regulator-fixed"; + regulator-name = "cvdd"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + regulator-boot-on; + }; }; &ecap2 { @@ -191,6 +200,27 @@ }; }; +&cpu { + cpu-supply = <&cvdd>; +}; + +/* + * DA850-EVM has a fixed CVDD of 1.2V - we cannot go below 300MHz or + * above 375MHz. + */ + +&opp_100 { + status = "disabled"; +}; + +&opp_200 { + status = "disabled"; +}; + +&opp_375 { + status = "okay"; +}; + &sata { status = "okay"; }; -- 2.20.1