Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4291680yba; Wed, 17 Apr 2019 08:30:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNs8vwr+qGvJJ98FDW4Jw+p9zc0NEavmnr8Zn43jj2FAlPQINTBSRMEPNWbufPzJaI1oXh X-Received: by 2002:a63:f218:: with SMTP id v24mr84989985pgh.326.1555515023615; Wed, 17 Apr 2019 08:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555515023; cv=none; d=google.com; s=arc-20160816; b=VLZcXpxak5t9Av73QCMAecGKkcAyU9K6jHuyDaYUsBjrsTnZM//vLHpnWEb6B/uvfJ pwjhH9+L9mfFP7aEr6TNEGhICHf121w/P35P6aAB1pWbTdSE3lYnmg5H524X5F5Jw8Jd QrJ0fXDvcyqn6+utk5hMIC2r0yoF9r37tppvM2hHoOc681A24yp5Nc56RcLQarzxE9nt vR28wXMkcb1nfEGC65i0tidUMzWwHFb+sBIsc7+L5A5kvvkfrBIvF3WcDVomEMXSOeMZ BzE4jN0x4igCYozOZaXrLVGi9Be80vC86iG9/Y/mmgg27S5OMt0jXSKSaEKcvhskTR60 yVnA== 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=wkvoQ7ZQRviI68t1GQUcpGSIR6wTw9yWovYigsGIRFY=; b=tlP2S1qklAVMBls1FpRI9ai5zdNR0i72pzvrEpg/DbnZSd+2dfgfaRT7fGvR7oJJuS VWDu+OqIc0U0hm9rYwWduUR0SyzZTE0q9n76k+Po31rWFerAkbftt5g9CMgDmZCG5/DF sB6YeMFOz6pIaeA0wW5K7tR5n8w1E3sI0MqjAKOLZ8/rRC7QwdXYDRbbGXp799NLorZq aWVBI0/FuoNp3ERRh8nQ5DgPqmJbeOuMfnu0qkP91eTls+AFgqZVFV/ZOQ6TotYPuxXk sry8bKsGVwAmXF/AZ+5oUpu/htQG1WuHM7zeYAbbpyW8QVOjZIjj8qV04rPmf+62P8Im PNHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=YcSp7kuD; 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 j65si15444608plb.159.2019.04.17.08.30.08; Wed, 17 Apr 2019 08:30:23 -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=YcSp7kuD; 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 S1732732AbfDQP1g (ORCPT + 99 others); Wed, 17 Apr 2019 11:27:36 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34955 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731454AbfDQP1K (ORCPT ); Wed, 17 Apr 2019 11:27:10 -0400 Received: by mail-wr1-f66.google.com with SMTP id o12so3075406wrn.2 for ; Wed, 17 Apr 2019 08:27:09 -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=wkvoQ7ZQRviI68t1GQUcpGSIR6wTw9yWovYigsGIRFY=; b=YcSp7kuD32UTI4BBP89LMZJeykAOVqJqnmHznrmUGpItFZY5iiYkIC8LnQDQ2y/1QT iHLxFDGn/MG0J8cQqqtOjiUiIkOf17KkSWO92L/O3egnJp4lCLqk4+1pLRCT1IPS3kfp //st0C6of9T5nkSx+GGbtsicSIOYHGEY/T/SrvmikL5IaVwEET4PQoQneFaJST4qQGUO SyCKRNOLFbRiu5ERBVotGvg84HaJbQFPFEZ1V3coLQ9bdRN6BU1Y4oxtJ6ClNRvxgJ7A 3SzTov5Jve+gVfRfaNqsnpV9yW2cJWIj5uebjJRW06oRyPu/X/AgkrkYrCNOZ70XjS/5 1YFA== 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=wkvoQ7ZQRviI68t1GQUcpGSIR6wTw9yWovYigsGIRFY=; b=eFep/lD3HLRAmSft0ba+l1cP061+ZKsUp7TXeCvOk6KfRvhL8sVcDyRX18REmOz1gi G1JMo0N0r6O1eRTjNLiKxsAXydZAFGLdINal9LiSh+gArkhAlYT1LYlxlNJHxaCYvAmV 8sXzFfy2+WvDjAwrbkrWA0ZBf+UZBuYg0WaMXgQtPPginKMqER7wYWBoj8MX8Z5bJNeS 30YIBI6Z5yPyV4aN+INWu6XuhJA7NP8iT9Cl66ROpcp0zLa/jVpdn3Hpp72DVprHh0kA ET1NklPe0Rk/FUA7Qin/IPV6xCTI+KvQ/9nUTXNm30YsfeKEI5ZMUS0eJvsS/nh0UB6t 0w/A== X-Gm-Message-State: APjAAAX6dLaVF7xcLNxIRST2GnGnY7FfqGl1WI0/m3iKqwKoJg+tVx5Q wHH3Vb7NYSU61QoRx6ycgA02gg== X-Received: by 2002:a5d:6706:: with SMTP id o6mr5196099wru.36.1555514828591; Wed, 17 Apr 2019 08:27:08 -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.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 08:27:07 -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 2/5] ARM: dts: da850-lego-ev3: enable cpufreq Date: Wed, 17 Apr 2019 17:26:58 +0200 Message-Id: <20190417152701.23391-3-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 LEGO EV3 board along with board-specific CPU configuration. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lego-ev3.dts | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts index 66fcadf0ba91..553717f84483 100644 --- a/arch/arm/boot/dts/da850-lego-ev3.dts +++ b/arch/arm/boot/dts/da850-lego-ev3.dts @@ -125,6 +125,15 @@ amp-supply = <&>; }; + cvdd: regulator0 { + compatible = "regulator-fixed"; + regulator-name = "cvdd"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + regulator-boot-on; + }; + /* * This is a 5V current limiting regulator that is shared by USB, * the sensor (input) ports, the motor (output) ports and the A/DC. @@ -204,6 +213,27 @@ clock-frequency = <24000000>; }; +&cpu { + cpu-supply = <&cvdd>; +}; + +/* since we have a fixed regulator, we can't run at these points */ +&opp_100 { + status = "disabled"; +}; + +&opp_200 { + status = "disabled"; +}; + +/* + * The SoC is actually the 456MHz version, but because of the fixed regulator + * This is the fastest we can go. + */ +&opp_375 { + status = "okay"; +}; + &pmx_core { status = "okay"; -- 2.21.0