Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp786198img; Thu, 21 Mar 2019 08:55:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzodhNvzYUkVxtzUzPmmP87CbmOtpwIPAmtCbACvi6fKrk0LK3/HNeXASUnzuaw1JOiE8kE X-Received: by 2002:a17:902:4827:: with SMTP id s36mr4284917pld.220.1553183706525; Thu, 21 Mar 2019 08:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553183706; cv=none; d=google.com; s=arc-20160816; b=G+tP/FZT2qZ3O5BeWNlaXxb8M4UKYm6v1dPjawCaPDDSXCug3CwgTDDQWvNiOLUCwr AunsuQhJ1wqt7YNqlu0EHsLUh1fn9TLcwV2O8Y302p+BRgrJIuG8xCUm2JLwvBQp9fz3 928wwFvHVQDnYbJb/4PEH4PVYl3hYz+yMkBtKyLrULERppdPLBa9i21xlBrRS7MfMCGM 7aAo6Jd0iqZMcp0VLITUq0LsPso512ov/BUjxj3ZljwN+5D8XWS86RRO0UhosYdPeIaM kZUdlaIBlyLvYR2han+3Rga981oKODZbsgvTj07nbHCeGsu2PyGxN6bKZRSqm6GUUkVg L/nQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=PgWrMWU0RRiBsGu0cX9gUDcVNQcbF1DUiXQ85bYPYC0=; b=YmP24tt8BEDa5+irHuI6hDV6ZDlYRP03BtJpSwR2+eZnK6eBfljjUhH7lO4WLL5BM1 /6pKeS+mVcgE32SBiXfJUPR7hBPmDyZxk1AOPH7u3nlZ/bhWlB1twDC+bCbiGIu2qh/P LU2x9IBdyVh1IyEMmNzANt9vZGo2CwPNDezw07ywyQf4AUwBmGnmIi6RQ3LIJ7gOtkIi UIdwnTaurDbLS86GkbHRXu5rJ1HPAgqyZJ4BX82Jk24YqkSlzvK+U/fttdTTHPF6apPc OiKx2AmW/pmkUFNRCt+mTwOV5cNDQsR9dyDs6XCbJIPoCMlpdLaYH7oOUj92uD7500a1 JPLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b="DzI0Q/f9"; 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 g4si4992202plm.184.2019.03.21.08.54.48; Thu, 21 Mar 2019 08:55:06 -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=fail header.i=@lechnology.com header.s=default header.b="DzI0Q/f9"; 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 S1728160AbfCUPxu (ORCPT + 99 others); Thu, 21 Mar 2019 11:53:50 -0400 Received: from vern.gendns.com ([98.142.107.122]:44596 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727823AbfCUPxu (ORCPT ); Thu, 21 Mar 2019 11:53:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PgWrMWU0RRiBsGu0cX9gUDcVNQcbF1DUiXQ85bYPYC0=; b=DzI0Q/f9PzoKDV7kbNHYadeBbS holMHrinyvqtsaPM1mOwqbpoTC5AZawbvZ1JYU+UDH6oCEo0oCwe2Tp1z9ViVG61CtR8F2Hy3idXS XE9bjz0E6bBWymJKF7R4IFIZZVwHGwcEfdeseBH/5S9sk6hkWjeXYxPU0Rp8fxZaU104zpkR0Pgb5 8KRJdvCMljdzOaEFKbDaJbjPWaTnnarr5DT/iPtuuzsWTIak9JPd/3aZg+QVAtqyOe/entXajN9Cv Lg5GaMNRjzTASD8E3Cwvtkvp7f/5AOtLY6sEAvaFXT/sMixEPqbcPIN+vZsE82fSZjAn1mmLXYyIj /J3nZPCg==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:33636 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1h6zzS-0000lH-UP; Thu, 21 Mar 2019 11:52:23 -0400 Subject: Re: [PATCH 3/4] ARM: dts: da850-evm: enable cpufreq To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Adam Ford References: <20190321141010.19612-1-brgl@bgdev.pl> <20190321141010.19612-4-brgl@bgdev.pl> From: David Lechner Message-ID: <06c6fe16-eb33-960c-909a-635e70c3b976@lechnology.com> Date: Thu, 21 Mar 2019 10:53:46 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190321141010.19612-4-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/21/19 9:10 AM, Bartosz Golaszewski wrote: > 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. The board-da850-evm.c file seems to indicate that this regulator is variable and comes from the tps65070. This regulator seems to be missing from the device tree though, even though it has device tree bindings. Cc: Adam Ford > > 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"; > }; >