Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbdHNJOT (ORCPT ); Mon, 14 Aug 2017 05:14:19 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:57430 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbdHNJOR (ORCPT ); Mon, 14 Aug 2017 05:14:17 -0400 MIME-Version: 1.0 In-Reply-To: References: <1502560442-17715-1-git-send-email-jteki@openedev.com> From: Chen-Yu Tsai Date: Mon, 14 Aug 2017 17:13:52 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH v2] arm64: allwinner: a64: Add A64-OLinuXino initial support To: Jagan Teki Cc: Chen-Yu Tsai , Maxime Ripard , Icenowy Zheng , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Michael Trimarchi , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi , Support - OLIMEX Ltd , Jagan Teki Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1898 Lines: 54 On Mon, Aug 14, 2017 at 5:09 PM, Jagan Teki wrote: > On Mon, Aug 14, 2017 at 1:26 PM, Chen-Yu Tsai wrote: >> On Mon, Aug 14, 2017 at 3:34 PM, Jagan Teki wrote: >>> On Mon, Aug 14, 2017 at 12:38 PM, Chen-Yu Tsai wrote: >>>> Hi, >>>> >>>> On Sun, Aug 13, 2017 at 1:54 AM, Jagan Teki wrote: [...] >>>>> +®_dcdc1 { >>>>> + regulator-always-on; >>>>> + regulator-min-microvolt = <3300000>; >>>>> + regulator-max-microvolt = <3300000>; >>>>> + regulator-name = "vcc-3v3"; >>>>> +}; >>>>> + >>>>> +®_dcdc2 { >>>>> + regulator-always-on; >>>>> + regulator-min-microvolt = <1100000>; >>>>> + regulator-max-microvolt = <1100000>; >>>> >>>> The SoC has a wider range than a fixed voltage for the CPUs. >>> >>> So, max 1.1v can't enough CPUs? thought similar behavior with pine64? >> >> The recommended operating conditions says 1.04 ~ 1.3 V for CPUx, >> while the typical voltage is 1.1V. The regulator constraints should >> match the datasheet, especially for power rails that are involved in >> DVFS. > > power rails from datasheet[1] shows 0.5v ~ 1.3v am I not looking > updated details? The constraints are there to prevent users from setting a voltage too high or too low for the connected devices. You should be looking at the recommended operating conditions for the A64. The regulator constraints should match the constraints of the consumer, not the provider. If there are multiple consumers, it must match the narrowest range supported by _all_ consumers, i.e. the intersection of all consumer's operating ranges. ChenYu > > [1] http://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf > > thanks! > -- > Jagan Teki > Free Software Engineer | www.openedev.com > U-Boot, Linux | Upstream Maintainer > Hyderabad, India.