Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4291526yba; Wed, 17 Apr 2019 08:30:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQwTei0g897AmXwEbT4QDz1UWnXFpaTTbnvJSeF5mh5A4VuDQNSZF/NYZqnJq8Ifzpp4m5 X-Received: by 2002:a63:1912:: with SMTP id z18mr84189907pgl.115.1555515015307; Wed, 17 Apr 2019 08:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555515015; cv=none; d=google.com; s=arc-20160816; b=kxNFm5dfasPZmceu2QqHktwN/MXHXIBGB5bk+OBGeVivX3RnUo7E0ej8qNiH/JLSCK eFE0NCltELv5u09+fubZG44AGzaty+NGpwViJe/e7Fum3f3gj2rtutp7zue4fd+dnar0 SjbF00sKBJwIr7JF9J+f0/WAfBWgHeJ5JTEjYikZMWIWfJbppS0j/xh+Bf5UyW0O7ucr Rnwy1Fy3b2iBxZvFupDFIiuOEEr+/RmZS5crpYlC5yGkouCXdhsne/wNKsfLDoYkA7Ni yTN40ns93H2ZdxncJzR159Nvv2oY/6JehLp+oY4a9RhT+gZmsOl8uRHsEhq+nVcsSKq0 T9TA== 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=oOz0LP9XTs5tIMlVAfAa4sEOphJ8DfIzZ/dQTkiG5RA=; b=slujG+2ikomuZvWScU1CEqmFABIhUTBLayuFS+1l50+GsRqOzCywNFA/kP1XcRrPNB 6YOJHTnq6mtwTWJfdl3rwiSxdA2E/qjuB0c+RjoRDhqrvy6ZwcMHGOPyJfSY4HFMd0+c 8/aG7oDwlTQK+MApAH6S2LoeRGItRF44Oj1RcdKRcJNFZNZzkQ2zJUPAO25naBNoH6ny lRWTErNW8QgR510lCQb44dzKQVeHwLhrciAr1EKsMz5jaJqpIn93X9SXU3lHijyTAjAv +5kDJ2y3T5ou4t2ha+GBCCC2VK3mWfmnfvVL/Gz4eQTUdVu+4YrE5xXD8icO5isgz9A1 Cy3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=mDG1Kl9K; 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 v9si28616326pgr.167.2019.04.17.08.30.00; Wed, 17 Apr 2019 08:30:15 -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=mDG1Kl9K; 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 S1732722AbfDQP1c (ORCPT + 99 others); Wed, 17 Apr 2019 11:27:32 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39535 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732636AbfDQP1L (ORCPT ); Wed, 17 Apr 2019 11:27:11 -0400 Received: by mail-wm1-f65.google.com with SMTP id n25so4090627wmk.4 for ; Wed, 17 Apr 2019 08:27:10 -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=oOz0LP9XTs5tIMlVAfAa4sEOphJ8DfIzZ/dQTkiG5RA=; b=mDG1Kl9KwuTf5PheHGIRdskHKphrJ6F1orDecmkTLs0uCVQdsfhQ2avwKMTlqUHnKW IwizOkno4Rogcf9Y/Ei4Ii6e80Q2wtZnvlinLa4yRjw5rYfp0cNA8Qei4t67SvtZ4k2Y vlKAUB0oeZJj3//ehKpHbAcsh6Z7eMuC1kAokmePvzsT/5x6lqPgxl8Ar+6Q3WyRoqx6 +m9ZxSdrf5DKIuLfGtR6h/YCmH2T0nevWJmo0DSps5jOuneZPibmMZENExDjbchJHr0G ovnsKJJ9m0jp9iQNJGCLm2FT0zLfGlFeEzKVynKqgr6VSqBsIILuOEPjfO2UrqkJ3ZHo 4Lqw== 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=oOz0LP9XTs5tIMlVAfAa4sEOphJ8DfIzZ/dQTkiG5RA=; b=s0TjO5To8XdyYpS3sH3XOQo0OkYFnbxyrsPjJ6j7c0aUOGwIxZLfTuoNmD6uOpDmoY 4/RTHCZsv9k+nYpAbUW5CJOZ2QugGPJV1xehPYr74SeWel8ae7HpY/G17b3abzECH7iq Js5Y4VfRlWlJRQpfsqVKIhrt/0yLE8C0F3JSRQ7QheT0OFJteH/SuOQwMxaKmHNFIf0X ajirF01O7IhKx/B+Ay3wmpaCW/mxzc0xHvnIjySyFEV9wEnmR6SDEsEAAH7WNg/kQhF4 dyWLK/Il9aLU1S2H+fjw9gIzKlbbn2YuzMn2SmjSe8k75OIpxZ0xXkWmMARJMocQ0CHo H3Aw== X-Gm-Message-State: APjAAAVOuCriBsmwPvi3G0b9ApZuRljDnJj4mSP9ChQcKJRkQVb/nBNx YzT7jt55fpS1cBXnRFbZzACYLF9L6Fw= X-Received: by 2002:a1c:f204:: with SMTP id s4mr31604646wmc.51.1555514829783; Wed, 17 Apr 2019 08:27:09 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-15-216.w90-86.abo.wanadoo.fr. [90.86.218.216]) by smtp.gmail.com with ESMTPSA id v16sm75478817wru.76.2019.04.17.08.27.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 08:27:09 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , David Lechner , Adam Ford Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v5 3/5] ARM: dts: da850-lcdk: enable cpufreq Date: Wed, 17 Apr 2019 17:26:59 +0200 Message-Id: <20190417152701.23391-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190417152701.23391-1-brgl@bgdev.pl> References: <20190417152701.23391-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: David Lechner Add a fixed regulator for the da850-lcdk board along with board-specific CPU configuration. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 26f453dc8370..b36d5e36bcf1 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -155,12 +155,48 @@ }; }; }; + + cvdd: regulator0 { + compatible = "regulator-fixed"; + regulator-name = "cvdd"; + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1300000>; + regulator-always-on; + regulator-boot-on; + }; }; &ref_clk { clock-frequency = <24000000>; }; +&cpu { + cpu-supply = <&cvdd>; +}; + +/* + * LCDK has a fixed CVDD of 1.3V, so only operating points >= 300MHz are + * valid. Unfortunately due to a problem with the DA8XX OHCI controller, we + * can't enable more than one OPP by default, since the controller sometimes + * becomes unresponsive after a transition. Fix the frequency at 456 MHz. + */ + +&opp_100 { + status = "disabled"; +}; + +&opp_200 { + status = "disabled"; +}; + +&opp_300 { + status = "disabled"; +}; + +&opp_456 { + status = "okay"; +}; + &pmx_core { status = "okay"; -- 2.21.0