Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3219053iog; Mon, 20 Jun 2022 14:22:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tiap9UKYa+yPrnmUE6myLAc/jnDOZwdsfPevv2JAwT+9V0e6jmoCCDrgyP6kAL8inB8+tL X-Received: by 2002:a17:906:414f:b0:711:ce99:69ec with SMTP id l15-20020a170906414f00b00711ce9969ecmr22419779ejk.724.1655760125478; Mon, 20 Jun 2022 14:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655760125; cv=none; d=google.com; s=arc-20160816; b=zAFJrVtJiWGRLlCbPFGuWRfo/I2/E/MTSIgZUY7C7qSiM9csZSr7JJb+4441F+YtWL N4eYXdiwVYQwUzqKwkE54OllGHEaL3yVfb2FqCMOQdLWgKaf+mvqlAg0X0gLaL4+KQQ3 phbpiDgBOafp6RpdSi69DQYgORzbb2c3jkhI2DmZyhUG9Tj7NtIUSLfZ3p48ViZW14HF sOMF6RchokCYLxD5PzQUg78W2ywD5lI3EB5Um8zlKjm1QBo5TIxRF5ckJa33cUVWqrnH PXsJeqDMeRFI7mGyl1kbaZVgICLTmSbubQRDapyOf9KisCF/9EuEOZG6phznGSp70tKa S5zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ca8zDQekvjzQNHHUpu2q/NW+IUUGzmplBZP78l2v56w=; b=ZJmmxJ5ZlFEfrR3FZRi4MYNahCS6arx1tMgEbV6jjJu82QLgXKs/+g3wIezcrWQ1eU 73m9bnWZ6n2WuZYcs65vsHGx09Yp/XQkoqG0+ksOG99hyjDLJ3zFtnokkVBBtdVPItDf s7NCqrL+phoSHK1z5pqsVtOZGr0uWMijmQrVTLXgfeIA2yAPyEynXfVNCBHbAYji/BZX 0CIiw93EyIfV0LOCyBD909KhB3GJ2nxBoQ17HjpFMUn+sPk6S8yqAiBmGwrgOzaLEWYQ EV7OGr3w+HhGmDxs/YuaxbiEzlGNPq76UYuCXvE4r6akLPVZnFriwiS+DI/fL3j9wDUX 0Y9A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs34-20020a1709072d2200b0071572d1bc73si17864044ejc.785.2022.06.20.14.21.40; Mon, 20 Jun 2022 14:22:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243637AbiFTVP0 (ORCPT + 99 others); Mon, 20 Jun 2022 17:15:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344120AbiFTVNb (ORCPT ); Mon, 20 Jun 2022 17:13:31 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [5.144.164.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88CE210BD; Mon, 20 Jun 2022 14:13:29 -0700 (PDT) Received: from [192.168.1.101] (abxh227.neoplus.adsl.tpnet.pl [83.9.1.227]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 9102C3EE24; Mon, 20 Jun 2022 23:35:32 +0200 (CEST) Message-ID: <3840f74b-91dc-25ab-e5db-a63cc198b111@somainline.org> Date: Mon, 20 Jun 2022 23:13:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] arm64: dts: qcom: sdm845-akatsuki: Round down l22a regulator voltage Content-Language: en-US To: Marijn Suijten , phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Martin Botka , Jami Kettunen , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220620211212.269956-1-marijn.suijten@somainline.org> From: Konrad Dybcio In-Reply-To: <20220620211212.269956-1-marijn.suijten@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On 20.06.2022 23:12, Marijn Suijten wrote: > 2700000 is not a multiple of pmic4_pldo's step size of 8000 (with base > voltage 1664000), resulting in pm8998-rpmh-regulators not probing. Just > as we did with MSM8998's Sony Yoshino Poplar [1], round the voltages > down to err on the cautious side and leave a comment in place to > document this discrepancy wrt downstream sources. > > [1]: https://lore.kernel.org/linux-arm-msm/20220507153627.1478268-1-marijn.suijten@somainline.org/ > > Fixes: 30a7f99befc6 ("arm64: dts: qcom: Add support for SONY Xperia XZ2 / XZ2C / XZ3 (Tama platform)") > Signed-off-by: Marijn Suijten > --- Reviewed-by: Konrad Dybcio Konrad > .../arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts > index 36ff1178b705..3839850cf7dd 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts > +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts > @@ -22,8 +22,9 @@ &vreg_l14a_1p8 { > }; > > &vreg_l22a_2p8 { > - regulator-min-microvolt = <2700000>; > - regulator-max-microvolt = <2700000>; > + /* Note: Round-down from 2700000 to be a multiple of PLDO step-size 8000 */ > + regulator-min-microvolt = <2696000>; > + regulator-max-microvolt = <2696000>; > }; > > &vreg_l28a_2p8 {