[v3,3/3] arm64: dts: qcom: qrb4210-rb2: Increase load on l22 and l24 for uSD and eMMC
Message ID | 20230411072840.2751813-4-bhupesh.sharma@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2387903vqo; Tue, 11 Apr 2023 00:30:48 -0700 (PDT) X-Google-Smtp-Source: AKy350YKpas1HQy159fOD9yf2U1IHFzpOMpPLT6+WESI/sC0NfC2g93EWnKWdqcNd8ZqzbrfzsfB X-Received: by 2002:a17:903:78f:b0:1a1:b3c0:4228 with SMTP id kn15-20020a170903078f00b001a1b3c04228mr12648952plb.19.1681198247967; Tue, 11 Apr 2023 00:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681198247; cv=none; d=google.com; s=arc-20160816; b=zc56Z106i4ASgJ12bk4VmVnfOwwuXmA14yfEvDJrITyv6ObL6cLj4PLKFbBtiB1C0U bLmbfKOQivZfokbZwabV2JVdwPHXUT9HgMg4LNnOMBko/DeA35A/YAIst3Kby+cJRzKd VXBn+mysNLPCMlteVmVASL4SShOEkabS/jgP1lRzLH1iU0iaw0f3BuNeYKRXdweRf0lW +GqUcZWAaw+pNMJZY6AhV8flNuBcJ1jh4wuOwmFMCAfnvOxvnZirBxyLEn/oLnldMKUC o5ka5iX7scjisUm/hS2woKfYA3Dfe1yB7ANLpeT53Ks5q8eoRgfrI7bQ6KNh16OJYJDu 0wsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ttg1M/y6XRWds7TOi5LMKQJ7a3u0jw8Op4Jljrrs1LY=; b=KSOmqN6HKYPcZcFhMbaJKv6Lj1pIS4QCYpQDUZJDLJ4A5wZk31U65JBIExVA+B60oV KJnLZoFrYPef1bh46Jj6RYHL64/6eJGyiVRmUER1qaiJaA421SKZYP9VmoqJH5wHVPN9 iVoFvHuP4tNGQ3oyzJJC4qlFvuXDHXzCR5nMN46FFRAswr6XA0dFn7CN7CDuNwzv1BXW teS/mczPQK53bc+60DTJSBukgKf9Sf8wd0tqiq/48Gq/6Ohyvofu8bH+HJAGA7gTVAgu +woepqwmXnBitr8YLBX/YBNc7kzoK6jYxJbPoI/ffxcRDjeb2zLT+zTlQrjNDFgvMHzl 7sXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lOdOF5Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a637803000000b005180ddeec2esi7655562pgc.669.2023.04.11.00.30.35; Tue, 11 Apr 2023 00:30:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lOdOF5Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230120AbjDKH3U (ORCPT <rfc822;yuanzuo1009@gmail.com> + 99 others); Tue, 11 Apr 2023 03:29:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230079AbjDKH3K (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 11 Apr 2023 03:29:10 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6A993C18 for <linux-kernel@vger.kernel.org>; Tue, 11 Apr 2023 00:29:06 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id ke16so6956966plb.6 for <linux-kernel@vger.kernel.org>; Tue, 11 Apr 2023 00:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681198146; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ttg1M/y6XRWds7TOi5LMKQJ7a3u0jw8Op4Jljrrs1LY=; b=lOdOF5GgGZiRgPcjxd57Qc4KWyITnjrrk5izHeqcMbkAAuRb9Vmk2trJ+oKUoeM6AV 1nAnEW+9e0PVqCLYLPPl6UsJ9DORPetiZvH+oaEUgBnNpvimNEZD+eh68YGf43M3LkVY PAB7/M/rCVuv9GbT1v+Zv/brlLAiFGFgdNKPKXpTBQjV1FugZnViJ9dSuhZEXuhopc0p 6QpQk9ShDvcvM4FOvHrAM50qJJyVKY/iYkxTDUUi5friOJ+F5lYniwvFeURalXbxT0Jk NKXfFaNTTtfFr395due6i/LLZjghiMAj6Uz3c+oCruCUaXl/Si6TiEv/NcaKss3MzGGS pc3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681198146; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ttg1M/y6XRWds7TOi5LMKQJ7a3u0jw8Op4Jljrrs1LY=; b=NyQ6HjLAZAK3Q+s4RuYdwrF24vnggONcC0oBq6dHlaLIryZ5qp5H2PWanZO3Ql7kpd Qr1j+G+9S8b6q441i1TPz4M9XbyZ/rcSjdkg4f5MiTAIvMOomnHyNRdmmr0JLr9L1CvW cnr+Wn5Y31A5m+tkJ9mgsQIorHFtXDNAlIv8sLodfMkjYZ4cyXsh3W24bo16jh/N4Kp+ I6yLp9B503aK6z3sx9x/b3v+qNa9s7jVujd+JwswQv6lMhVFmw5q1lJLG5Vglf9icfY7 JCqPciYNCZ+VWpcz2RdHI3mxni6eGrNKbjbftbOTGmXJkrFo5B0/S2EqAnph0gqxNqsx ldvg== X-Gm-Message-State: AAQBX9folFXAu2anzxTB2qlDg+pbyK964tDhQyyTSpoR7zNS7cXbde7i vof4bYIgAHFqO3I/Ve+ZtbE7oQ== X-Received: by 2002:a17:902:ce85:b0:1a2:2091:ee8b with SMTP id f5-20020a170902ce8500b001a22091ee8bmr18057238plg.10.1681198145903; Tue, 11 Apr 2023 00:29:05 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:6a11:8ba1:beba:def7:a4ae]) by smtp.gmail.com with ESMTPSA id s7-20020a170902988700b001a043e84bf0sm8946612plp.209.2023.04.11.00.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 00:29:05 -0700 (PDT) From: Bhupesh Sharma <bhupesh.sharma@linaro.org> To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v3 3/3] arm64: dts: qcom: qrb4210-rb2: Increase load on l22 and l24 for uSD and eMMC Date: Tue, 11 Apr 2023 12:58:40 +0530 Message-Id: <20230411072840.2751813-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> References: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762864134507646358?= X-GMAIL-MSGID: =?utf-8?q?1762864134507646358?= |
Series |
arm64: dts: qcom: Add Qualcomm RB2 board dts
|
|
Commit Message
Bhupesh Sharma
April 11, 2023, 7:28 a.m. UTC
Increase the l22 and l24 load used for uSD and eMMC VMMC.
These need to be increased in order to prevent any voltage drop
issues due to limited current happening during specific operations
(e.g. write).
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
---
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 4 ++++
1 file changed, 4 insertions(+)
Comments
On 11.04.2023 09:28, Bhupesh Sharma wrote: > Increase the l22 and l24 load used for uSD and eMMC VMMC. > These need to be increased in order to prevent any voltage drop > issues due to limited current happening during specific operations > (e.g. write). > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > --- You could have simply squashed this into the patch where you enabled the controllers, so that that commit works reliably for e.g. bisect Konrad > arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts > index c9c6e3787462..dc80f0bca767 100644 > --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts > +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts > @@ -171,6 +171,8 @@ vreg_l21a_2p704: l21 { > vreg_l22a_2p96: l22 { > regulator-min-microvolt = <2952000>; > regulator-max-microvolt = <3304000>; > + regulator-system-load = <100000>; > + regulator-allow-set-load; > }; > > vreg_l23a_3p3: l23 { > @@ -181,6 +183,8 @@ vreg_l23a_3p3: l23 { > vreg_l24a_2p96: l24 { > regulator-min-microvolt = <2704000>; > regulator-max-microvolt = <3600000>; > + regulator-system-load = <100000>; > + regulator-allow-set-load; > }; > }; > };
On Tue, 11 Apr 2023 at 17:28, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > > > On 11.04.2023 09:28, Bhupesh Sharma wrote: > > Increase the l22 and l24 load used for uSD and eMMC VMMC. > > These need to be increased in order to prevent any voltage drop > > issues due to limited current happening during specific operations > > (e.g. write). > > > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > > --- > You could have simply squashed this into the patch where > you enabled the controllers, so that that commit works > reliably for e.g. bisect Yes, but Bjorn asked me to send this separately (via irc). I am fine with squashing this with the previous patch [PATCH 2/3] as well, if Bjorn is OK with it. Thanks, Bhupesh
On Tue, Apr 11, 2023 at 05:43:51PM +0530, Bhupesh Sharma wrote: > On Tue, 11 Apr 2023 at 17:28, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > > > > > > > On 11.04.2023 09:28, Bhupesh Sharma wrote: > > > Increase the l22 and l24 load used for uSD and eMMC VMMC. > > > These need to be increased in order to prevent any voltage drop > > > issues due to limited current happening during specific operations > > > (e.g. write). > > > > > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > > > --- > > You could have simply squashed this into the patch where > > you enabled the controllers, so that that commit works > > reliably for e.g. bisect > > Yes, but Bjorn asked me to send this separately (via irc). > I am fine with squashing this with the previous patch [PATCH 2/3] as > well, if Bjorn is OK with it. > I was trying to say that I was fine with you just fixing the small thing I had asked for and then you could send a separate patch for this when you found the time. I can squash the two while applying, unless anyone else have any concerns with the patches. Regards, Bjorn
On Tue, 11 Apr 2023 at 18:09, Bjorn Andersson <andersson@kernel.org> wrote: > > On Tue, Apr 11, 2023 at 05:43:51PM +0530, Bhupesh Sharma wrote: > > On Tue, 11 Apr 2023 at 17:28, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > > > > > > > > > > > On 11.04.2023 09:28, Bhupesh Sharma wrote: > > > > Increase the l22 and l24 load used for uSD and eMMC VMMC. > > > > These need to be increased in order to prevent any voltage drop > > > > issues due to limited current happening during specific operations > > > > (e.g. write). > > > > > > > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > > > > --- > > > You could have simply squashed this into the patch where > > > you enabled the controllers, so that that commit works > > > reliably for e.g. bisect > > > > Yes, but Bjorn asked me to send this separately (via irc). > > I am fine with squashing this with the previous patch [PATCH 2/3] as > > well, if Bjorn is OK with it. > > > > I was trying to say that I was fine with you just fixing the small thing > I had asked for and then you could send a separate patch for this when > you found the time. > > I can squash the two while applying, unless anyone else have any > concerns with the patches. Sounds good to me. Thanks for your help Bjorn with squashing the patches. Thanks, Bhupesh
diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index c9c6e3787462..dc80f0bca767 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -171,6 +171,8 @@ vreg_l21a_2p704: l21 { vreg_l22a_2p96: l22 { regulator-min-microvolt = <2952000>; regulator-max-microvolt = <3304000>; + regulator-system-load = <100000>; + regulator-allow-set-load; }; vreg_l23a_3p3: l23 { @@ -181,6 +183,8 @@ vreg_l23a_3p3: l23 { vreg_l24a_2p96: l24 { regulator-min-microvolt = <2704000>; regulator-max-microvolt = <3600000>; + regulator-system-load = <100000>; + regulator-allow-set-load; }; }; };