Message ID | 20231214-topic-sc8180_fixes-v1-6-421904863006@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp8746631dys; Thu, 14 Dec 2023 10:14:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTaQBdBoJ/ccq7AgeVANv43CfxRd+1nbF6M3JDoK8V7L0uensCnD2wcjorP2EtgKB5QGQ8 X-Received: by 2002:a05:6a20:3942:b0:18f:97c:6163 with SMTP id r2-20020a056a20394200b0018f097c6163mr14350102pzg.96.1702577673231; Thu, 14 Dec 2023 10:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702577673; cv=none; d=google.com; s=arc-20160816; b=cS/0YRDF0hGmssejJoDbluatZoJALqWHaei4x0S2XcwVGnhK+6HFgNCkNYJ9jIdcgV zSibs6cgZ8mUEQx7A1kT2u94FKJ/5SW4lB3JBKwUBY0oozXJKa4cF9CP9/gAsRA1jMBH fmQjUBeNoCJbYJMuM/WaBUtIXY6wMQQGrwTMO80pSdNAf9nY8fIWrv54dtsUWW/4V1Hx sVAX393Nb2QiZLmItz8Hk3EpUkwHVlA4mD8esZmT0Rz/u1gN0VgzF3EI8C7GFx1h04a1 fA+QGV5o/1+ZLNRkovNvhIGrVrUVKVooDgYfNW4cfal9oolkv/1T0cc7Uu6WVjX9Cvkf xvGw== 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 Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v124-20020a632f82000000b005b11e5a69f8si11330836pgv.531.2023.12.14.10.14.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:14:33 -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 192E3817C3F2; Thu, 14 Dec 2023 10:14:27 -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 <rfc822;winker.wchi@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Thu, 14 Dec 2023 10:14:01 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50c05ea5805so9957463e87.0 for <linux-kernel@vger.kernel.org>; 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 <konrad.dybcio@linaro.org> 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 <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Georgi Djakov <djakov@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Vinod Koul <vkoul@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Maximilian Luz <luzmaximilian@gmail.com>, Gustave Monce <gustave.monce@outlook.com>, Konrad Dybcio <konrad.dybcio@linaro.org> 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: <linux-kernel.vger.kernel.org> 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:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785282085927803404 X-GMAIL-MSGID: 1785282085927803404 |
Series |
SC8180X fixes
|
|
Commit Message
Konrad Dybcio
Dec. 14, 2023, 6:13 p.m. UTC
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 <konrad.dybcio@linaro.org>
---
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 = <RPMH_REGULATOR_MODE_HPM>; + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM + RPMH_REGULATOR_MODE_HPM>; + regulator-allow-set-load; }; vreg_l10e_2p9: ldo10 { regulator-min-microvolt = <2904000>; regulator-max-microvolt = <2904000>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM + RPMH_REGULATOR_MODE_HPM>; + regulator-allow-set-load; }; vreg_l12e: ldo12 {