Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4096989ima; Mon, 4 Feb 2019 10:08:30 -0800 (PST) X-Google-Smtp-Source: AHgI3IYEc498LdWnaSLG2XvpduVg1K6FfUG7T9ZxCibkxPZ7pcyS+gkujSK8aB3OmGh8/StLhDRR X-Received: by 2002:a63:9c1a:: with SMTP id f26mr538256pge.381.1549303710262; Mon, 04 Feb 2019 10:08:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549303710; cv=none; d=google.com; s=arc-20160816; b=NPy5fj15om0M0H1Md6VVua7ObmQLW066b6QAjKXrZK5ors1NUWVsf4Pp1Lk4UmAiWm V2YaE3PqREsqiUdB/UyfB8hINSEy4zDDYTTTWlHbbfx9gzshnAiuZ5ZLwqACRCejywhG hxrr40mizZuv8qHUmVOTp+I7DchBhnfRakEma+CiGYFrVZCfExzQD7TGs9W7GafHP+kh lP6kqGvaJm3Qi4ZvrbEOg7MpmeyUHffBWTT3Cw9GN09s7wgMq6Gc0N9G4r9T/X4OJG0D 89nuUcwpSaNQ/MhyaQuZp+T3qBHh0ITPD05j2zV8cwiCAYwdbHnHmQvsZvq8Ft+68YqC eNeA== 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:dmarc-filter :dkim-signature:dkim-signature; bh=VE60iV8w+FC/mY9xkpEWeHiehVH4ltg1M7NAT87NDKo=; b=AIx0qWzS7YYJk0KtcwWo8VeM282mX6gP/MSFfYc3TRTL0dqFL5wSw0yhzxhsz4iH0l 5u1Qiu2cE55ktjRiSRnlCd7hoCU3vJFFEIq+FKGoGPipnoN1nvjrvcdV8cnqgPEnfR6W RsFCtUIXRehsVyTxgsF8aNnBVp7ImlCz7MxikHm5kYxeaDaCLa5C91lyzjv5hD5HkpeL ac2leOvnwFWm9ZjsVkqDdVEZaUd9fXYtXi/6sBLqjZQGbxUxvkjno/O3blEdkTlfxSgz BTvCk9e3MTsQkYaZJeQnVZwiT1c/AdJx2BmwVOICbL0htC+PaK5Al9zXvcwo10yJ0zrM yBqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="hUW2/xlw"; dkim=pass header.i=@codeaurora.org header.s=default header.b="hUW2/xlw"; 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 m8si617474plt.171.2019.02.04.10.08.13; Mon, 04 Feb 2019 10:08:30 -0800 (PST) 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=@codeaurora.org header.s=default header.b="hUW2/xlw"; dkim=pass header.i=@codeaurora.org header.s=default header.b="hUW2/xlw"; 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 S1729134AbfBDSG5 (ORCPT + 99 others); Mon, 4 Feb 2019 13:06:57 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40266 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728192AbfBDSG5 (ORCPT ); Mon, 4 Feb 2019 13:06:57 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 915E66085F; Mon, 4 Feb 2019 18:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1549303615; bh=PKNvH/BmOX0BhWFefoFMNWOTu4R/DYzKKb2RxjXzFFE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=hUW2/xlwVqA/31A3tImzdyV6FKkRBOXicJ1cGIDQ9BMiX4OAN1a9UwG2foHxIeK98 zT2mxWGdoFXhBKc9/gd6+JGVHmF8KBr6bNJoz1c3dlNefxA1NjfSdOFmX6moPlIDet F3z/3JA8BnlNcFyns6icnH/F8K4K16HRaft8OI08= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.226.60.81] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 67AAA60112; Mon, 4 Feb 2019 18:06:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1549303615; bh=PKNvH/BmOX0BhWFefoFMNWOTu4R/DYzKKb2RxjXzFFE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=hUW2/xlwVqA/31A3tImzdyV6FKkRBOXicJ1cGIDQ9BMiX4OAN1a9UwG2foHxIeK98 zT2mxWGdoFXhBKc9/gd6+JGVHmF8KBr6bNJoz1c3dlNefxA1NjfSdOFmX6moPlIDet F3z/3JA8BnlNcFyns6icnH/F8K4K16HRaft8OI08= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 67AAA60112 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org Subject: Re: [PATCH v3 2/5] arm64: dts: qcom: msm8998: Allow drivers to set-load To: Marc Gonzalez , MSM , LKML Cc: Bjorn Andersson , Andy Gross , David Brown , Evan Green , Douglas Anderson References: <31108a78-e158-5147-2f2f-cd300cb5d49b@free.fr> From: Jeffrey Hugo Message-ID: <4d99d729-d59c-e799-b4f2-8874372c9e63@codeaurora.org> Date: Mon, 4 Feb 2019 11:06:52 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <31108a78-e158-5147-2f2f-cd300cb5d49b@free.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/4/2019 10:37 AM, Marc Gonzalez wrote: > The UFS host controller driver needs to set the load on 3 power rails > (l20, l26, s4) but the operation fails silently unless we specify the > regulator-allow-set-load property in the corresponding DT nodes. > > Signed-off-by: Marc Gonzalez > --- Reviewed-by: Jeffrey Hugo > arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi > index 80075283847a..198885db775e 100644 > --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi > @@ -104,6 +104,7 @@ > vreg_s4a_1p8: s4 { > regulator-min-microvolt = <1800000>; > regulator-max-microvolt = <1800000>; > + regulator-allow-set-load; > }; > vreg_s5a_2p04: s5 { > regulator-min-microvolt = <1904000>; > @@ -188,6 +189,7 @@ > vreg_l20a_2p95: l20 { > regulator-min-microvolt = <2960000>; > regulator-max-microvolt = <2960000>; > + regulator-allow-set-load; > }; > vreg_l21a_2p95: l21 { > regulator-min-microvolt = <2960000>; > @@ -212,6 +214,7 @@ > vreg_l26a_1p2: l26 { > regulator-min-microvolt = <1200000>; > regulator-max-microvolt = <1200000>; > + regulator-allow-set-load; > }; > vreg_l28_3p0: l28 { > regulator-min-microvolt = <3008000>; > -- Jeffrey Hugo Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.