Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp410186imj; Fri, 8 Feb 2019 23:58:26 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibg9UxywjhlSfEAMpQkz3D/h9g+JhFXyQYTdpC+zNV33j0BfHI5QX0aDG/UdHwOgI3i3flf X-Received: by 2002:a63:4b25:: with SMTP id y37mr25000066pga.181.1549699106355; Fri, 08 Feb 2019 23:58:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549699106; cv=none; d=google.com; s=arc-20160816; b=SM1yYXs3BzGNLpr26SM8lqcibTRlmsK4Dk7d7AqAR9e96Lyrvt7PYFWaiQJ/z5haa7 ZhOcHexHJS2RXZNzzOyHT39sHx+Qq7nBfMKdu7ib47CPv718XzpViO0xk7kuXfqZgn55 b4+NC3XEjYfDSTnjBaYmH8y9yQyCPlZSmsa6I1pblHIWseG5RP130+uXr6sv214fSoZs Kr7Ver3z7u8JfBgJR0tHc6dNZG5Uw0c0ig/gtGri8WRPkNX+8ke6CgoxZbqDzUDmZPUr JxgqUqYB+JVZSlb1alrYVxmxj2cFPwv+QFRY7jWPqNS4031DFTybR3LXTV6CiWpiphSD OioA== 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:in-reply-to :mime-version:user-agent:date:message-id:references:cc:to:from :subject; bh=4uQwAD7KbrTj6jhNfh32+3Ibct8Zpp3Zcgd6OzDDPVo=; b=OK1QVrEE5tiKTpo8o06tjd1e9jsBAQ+5ptkqJeLq9QtNxUPdjhGQKYK2D8xKezDslI aRJhUZI1V1S7krN+cPigkFOkVH89SlsXKXe3oY07nrPcCYKNWc7mWgO2zAnZFhj/YsDp S2oJatKF9Uf6Wh1D3PsLk/XW9RvJdkayJmVQCWlnjfiMAVyU+AD8Sl0a12q1+QRLykr9 VDqz+aGXZmOuw3HRi2W0pk7bPMhfgP2O6KqpbY6+XWj23H/RWM5G3tNkXjFY4f2o1kzR q4rS137ratSrCPqrXL0FUk9D9UIYiofVhkOZyH89/aaKrrFcyKXpjxRn17h/6YoEDXJ+ hV9g== 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 y4si3157644pgv.520.2019.02.08.23.58.08; Fri, 08 Feb 2019 23:58:26 -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 S1726796AbfBIH6E (ORCPT + 99 others); Sat, 9 Feb 2019 02:58:04 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:27056 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbfBIH6E (ORCPT ); Sat, 9 Feb 2019 02:58:04 -0500 Received: from [192.168.1.42] (unknown [77.207.133.132]) (Authenticated sender: marc.w.gonzalez) by smtp4-g21.free.fr (Postfix) with ESMTPSA id 8779119F5C9; Sat, 9 Feb 2019 08:57:25 +0100 (CET) Subject: [PATCH v4 5/7] arm64: dts: qcom: msm8998: Allow drivers to set-load From: Marc Gonzalez To: MSM , SCSI Cc: Jeffrey Hugo , Bjorn Andersson , Andy Gross , David Brown , Evan Green , Douglas Anderson , Alim Akhtar , Avri Altman , Pedro Sousa , Rob Herring , Kishon Vijay Abraham , Liam Girdwood , Mark Brown , Martin Petersen , LKML References: <09ce9c20-c47b-f936-a8a9-6c8ec8f0f867@free.fr> Message-ID: <31519816-a641-ebfe-64c7-039aff074187@free.fr> Date: Fri, 8 Feb 2019 23:15:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <09ce9c20-c47b-f936-a8a9-6c8ec8f0f867@free.fr> Content-Type: text/plain; charset=ISO-8859-15 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. Reviewed-by: Jeffrey Hugo 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 f0901067b043..19775cae1381 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi @@ -111,6 +111,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>; @@ -195,6 +196,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>; @@ -221,6 +223,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