Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4074421ima; Mon, 4 Feb 2019 09:44:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IaG/84hCDDynbWp01FAgQV6/XBtY2ASHxu+ZfbgbSS9viDkBWS/EWi7zr3A8GvOHAf7ADdk X-Received: by 2002:a17:902:6acc:: with SMTP id i12mr561197plt.148.1549302298284; Mon, 04 Feb 2019 09:44:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549302298; cv=none; d=google.com; s=arc-20160816; b=UBrYNkO/6vOAA4x4j9aBcY4Fq01uIMR+UMW72IR2rZsH4iFqnaCf3jXG6OJKB7XYUq 8/kkq268BiBiNda9NqoLT0E7EXSrJKuiCmOYt9Iqu9keb4Oe1VaLLx/GjoL91uLBwZ8g 2WeBNQHAhb8kGsQGsdWwk2wUdNK0EqBG7xXzPf5iUiealhowRAxYaqmvJP7/2bGcPAYU H9oO1IXlmTAH5A4C3FOl1biwvjeaJUqBfgyzgeZHlKof/CUecPF43LIhoSl4Zp6/xE5m jGlrauAYMUa6e11xlam8CIkJNFzfJvqLUiCHIz1ZxNLMFqyk4lgRNhEcQr0cCNz1LxKX LOeA== 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:references:cc:to:from:subject; bh=ZbasmUZXY4+Gqz+jj1vF5wBtCoAke2tqeU1ZDFbB+BE=; b=hlcfXEKE7QBUi30Yq1sJO9VeH9iRTeV9X4pcrSriFImvfepkaHDS1o47m/7/t/TuHk +bznwihEfO4np1O2GqJTK35R5qpu6jiuS153jSTVDZHe/X/MxZMVHwy9Osu1xjdPRw+D 0oGXLjh6HYtPakbjPLH10OTnMx+gDVy/EX2txYMtqCaMnmrVxpRs60DkDfuGoP2Og3+E do5w+JYsoEOWSuJ6gRNqMOJP5nq4ONIF+z6Y+dlu+G+5kSQyIVX08DtvJB/iA76s7cPL AFEV//hA1OiTCxVdggLq3RmX9ZA2qc+BynhNmFaxqqSL6z4DPsCBS03MaZ0bd5Qqgfjp otMQ== ARC-Authentication-Results: i=1; mx.google.com; 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 k5si562568pfj.153.2019.02.04.09.44.42; Mon, 04 Feb 2019 09:44:58 -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; 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 S1728830AbfBDRn6 (ORCPT + 99 others); Mon, 4 Feb 2019 12:43:58 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:50857 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728011AbfBDRn6 (ORCPT ); Mon, 4 Feb 2019 12:43:58 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id E077D13F8E0; Mon, 4 Feb 2019 18:43:39 +0100 (CET) Subject: [PATCH v3 2/5] arm64: dts: qcom: msm8998: Allow drivers to set-load From: Marc Gonzalez To: MSM , LKML Cc: Jeffrey Hugo , Bjorn Andersson , Andy Gross , David Brown , Evan Green , Douglas Anderson References: Message-ID: <31108a78-e158-5147-2f2f-cd300cb5d49b@free.fr> Date: Mon, 4 Feb 2019 18:37:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 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 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 --- 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>; -- 2.17.1