Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6178576rdb; Thu, 14 Dec 2023 10:14:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZO13vmwkNsi+lMgw8kR3y3AOUM1TQx00avORVagO6MLC67GbT0fGDowbDkKSKZFDPsJwe X-Received: by 2002:a05:6e02:16c5:b0:35d:5dcb:1dbe with SMTP id 5-20020a056e0216c500b0035d5dcb1dbemr9803947ilx.1.1702577685430; Thu, 14 Dec 2023 10:14:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702577685; cv=none; d=google.com; s=arc-20160816; b=0H5OfgEBLOvVXOAuc0yu7PNrYy8C+RbXvnLjAEVymLZOnFP25+cZf3yH6daDJQnX8l SZGLJ1uATpV/yxQ9z4780cyLCpncWD3j51DTkNFCJntd8EJbyyCm62CfLBgTDtjA7LFc NzvFzJDkeyF/U53MjWumX+g02SeKY1vNgUNYY4mBjMdqp11xILe5Daop4hL+1fjeKE2A EFOGziTyOqvKwkZ2cb6ht9ODturk0H0+L1xesklkJlxjH9JJd5lLrzCsGgpeYBOFjE3C mG2Jamuga3rAtf9pojQshtsl9aSwVNmlg3+EeCazo41X34oZU0n7AqUMtrggpIHdVvuo Cnig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Jeq677NEMB1IsnQAjs4/+yBvpQgDXfs4klZEe8r6nwY=; fh=dfDqGbBeMZjUVur2fg1W1ZcaYM9WPbnvbDrAlyrs4+g=; b=HtMiglRKYBcN5vNbS1Ud1EAqgqAtIKl5jgMD0FwCYfFtm9/XvekiITD8VynxLPE1UD IgE1yKBekU9wQMPVGrqk6tmQquljh+D75mKq//r6L8yQ5IKsa4az/kTGrYhAGx3IDXwL /aNx1um2/zGNnqMUNhbJTUpyx3qOYgtevbqiWmfh4Ksp6eE3Fxv3jCUsmnnB7PT/Qrt6 JzpcfjW4zdXRu8MxRsvle7Jv1XDafjZgLeMDcW3qyJFppaiEULM6iZPJgKBSIU5/xio4 bYuAe8YOMefv8NDFclrj3K48ppMccK5DxHbLYRFMpOZMVofakVaeKEPiDD2HKyrxyMb4 D9Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rypMenmu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id q5-20020a655245000000b005c602ff4068si11153848pgp.438.2023.12.14.10.14.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:14:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rypMenmu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 759CD8184534; Thu, 14 Dec 2023 10:14:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573132AbjLNSOK (ORCPT + 99 others); Thu, 14 Dec 2023 13:14:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444246AbjLNSOA (ORCPT ); Thu, 14 Dec 2023 13:14:00 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9E31135 for ; Thu, 14 Dec 2023 10:14:01 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50c05ea5805so9957463e87.0 for ; Thu, 14 Dec 2023 10:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702577640; x=1703182440; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Jeq677NEMB1IsnQAjs4/+yBvpQgDXfs4klZEe8r6nwY=; b=rypMenmuMdO1QbcrihnIVf2JXPhpJGZC0ibYEr6hPjfqhNVsru9owGy6iOLu+yWQZL 6YzMN7WOwW1eoSfh/nzVhcIHwvdVc+LzkGmE9/+PtO6s8Tet+9a7HJ8DOH9Wt89Vco6R x2vXDNlr2A6pinNEripZvIn2kBch+KxLIqTlxBuDKMqiAmfKtoaBoa/0LK1eu+wpa1/5 fwpYE1DeQ4yc4jrGiaDL4ppnA2wxA7ikfnNZU5Fi+SzyTf8UU5ZoJZbYRUm20l8s384y r0MKAW+DxWsUi+BfQM+O/mH4y73+XHEscyElcWqMo5IM8VyhoEfCRb+plNMIKHvBvclt Js4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702577640; x=1703182440; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jeq677NEMB1IsnQAjs4/+yBvpQgDXfs4klZEe8r6nwY=; b=Yf+smTlYvLIBmEvMod7Cus2JAU5OodUFdAPq/fHAbLXmdyIcwwuOoHwBx/oxq8jrRn ViHcRZZPi/OESE+7WN7m5zRi4a3uccMkuB9Pv8eqAm1t6C/fJW3lEl2xgZHFHiQhF4Nf BF69Gv4QubTd7KarQ8Xy6NiESW1jfRnt7fYTVGN3dWN2tMOOFl0fNJXsrDw2gW9jHOP4 XpwsL8jkZakkVYx+H+mSAH2qjX78KS/39WLUGK2Ro13qRRE9tqYoa4TyrIkk6IIZHV/e G8t5eXRqK+CJ/iJjzB6je6CH33xyKvhtprzt5gl87PGHiK7B6TxrCQi5CQNNrdFgMTYL bwkg== X-Gm-Message-State: AOJu0YwaqgkRtS5R9voyHBYcwpUs1zP0su4Ryv0c7bIqWaOLkRu4wBPX 3/+78Cb4jkV4UpQcv+8e00HgKkN4Hbptq/fs5evjEVZh X-Received: by 2002:a19:e043:0:b0:50e:17df:a992 with SMTP id g3-20020a19e043000000b0050e17dfa992mr815321lfj.33.1702577640041; Thu, 14 Dec 2023 10:14:00 -0800 (PST) Received: from [127.0.1.1] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id n11-20020a0565120acb00b0050be6038170sm1928838lfu.48.2023.12.14.10.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:13:59 -0800 (PST) From: Konrad Dybcio Date: Thu, 14 Dec 2023 19:13:43 +0100 Subject: [PATCH 6/6] arm64: dts: qcom: sc8180x-primus: Allow UFS regulators load/mode setting MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231214-topic-sc8180_fixes-v1-6-421904863006@linaro.org> References: <20231214-topic-sc8180_fixes-v1-0-421904863006@linaro.org> In-Reply-To: <20231214-topic-sc8180_fixes-v1-0-421904863006@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Maximilian Luz , Gustave Monce , Konrad Dybcio X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 14 Dec 2023 10:14:30 -0800 (PST) The UFS driver expects to be able to set load (and by extension, mode) on the supplied regulators. Add the necessary properties to make that possible. Fixes: 2ce38cc1e8fe ("arm64: dts: qcom: sc8180x: Introduce Primus") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8180x-primus.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts b/arch/arm64/boot/dts/qcom/sc8180x-primus.dts index adddf360c7fc..bfee60c93ccc 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-primus.dts @@ -386,12 +386,18 @@ vreg_l7e_1p8: ldo7 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-allowed-modes = ; + regulator-allow-set-load; }; vreg_l10e_2p9: ldo10 { regulator-min-microvolt = <2904000>; regulator-max-microvolt = <2904000>; regulator-initial-mode = ; + regulator-allowed-modes = ; + regulator-allow-set-load; }; vreg_l12e: ldo12 { -- 2.40.1