Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3022029rwb; Mon, 15 Aug 2022 16:19:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5jc5qF4mW/HRupzECKts8CwGlSf8B2RYn6peOsWFhqNtKCqnQOVG2elVVuTfCNn9nuZ8iA X-Received: by 2002:a17:90b:4c8c:b0:1f5:2214:a02f with SMTP id my12-20020a17090b4c8c00b001f52214a02fmr30345461pjb.66.1660605567999; Mon, 15 Aug 2022 16:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605567; cv=none; d=google.com; s=arc-20160816; b=doXabmQROW7lpuNJYqw+2HGfQZr8H5pf/EIeOcgGE2t2s4gCq2egJqCdBqXjSpqUF4 z0Qwmz7VH9f55/ImcOga2T10Z+kdak3OYwgv7fHK1a39F0h7cL5CNCkVgLb7uqFC/mKA 7dVcUkV1o3LhFvBluypGHbnYxaePly4q7B0U8gk6LXnS7SzjjmmDOHEwjIWtNMoZl8BS gs52MbPKy4AmHro6rpaRld3+G2lVrpMqfo2nThCU9QdLDo9vMI6kYBvYYzIhd9qrEnus 5M/TXt0l+TesJVHvxH7OTtcgP6L+WDi9LelYkWsGYZQPG2sxjsOxZTdoEC/KmxQOEvCT iibA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=nG4huOKEGxBpooKYrVBBp536f40synr2RqiYAQ6XL68=; b=eZKODApO8Z0udLggEgwqaotN6NaTFIbUV3gWzh+p7gzbfvpXUZDrscndK3lTKsRsnB EariqKqRG46NNIUkF57sGYCkIrkUuaVHaUvEJqPGW/HDz6k1FQozmRS1RI0iUR1OuNOh 4YCLf4U3kWUXeoOU8bH4hxw+UZRewlX1Z09duncDP+f8QIuj40/jMIWMyV5G1h6iKMh7 3t2/8MD9GWZmxSsKFxMCCBcZ0+oMJIFIbHypSkPn+RUtxYy6z7Fl2l7eoIGwoM5Ke6jM QtpZAN27q0oW4V83vYXzq2yfJ90e81GuIoGV3eRVUcpQj7zvEd4JGZ3KOQ2P5KEog1Mg /whA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NEm3Rz3n; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a170902ed9500b00172689f108csi5478295plj.146.2022.08.15.16.19.16; Mon, 15 Aug 2022 16:19:27 -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=@linuxfoundation.org header.s=korg header.b=NEm3Rz3n; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351634AbiHOWtG (ORCPT + 99 others); Mon, 15 Aug 2022 18:49:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351904AbiHOWrU (ORCPT ); Mon, 15 Aug 2022 18:47:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE318134BB1; Mon, 15 Aug 2022 12:53:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C9E9861206; Mon, 15 Aug 2022 19:53:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDDA7C433C1; Mon, 15 Aug 2022 19:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593181; bh=tJAnO42wOvjfzA6oc3W60FsYJ9qlzwG5YhKzZ2eZRWw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NEm3Rz3nKpaEH5as4ioz45oDqTrTreFHS+iNOmzGezZM5Xu0nvLCBK2v2BBlQ8R+K ComaxQRf7O9XJVMaWDCMukz7UuUaex28iyJ8GC+UxSkyDBQcIrdXckTv57bzuxS/JS zODQ5HBVWjv83TK+HaM/A4f0bmHycyuUsQ4b0mPU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marijn Suijten , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.19 0226/1157] arm64: dts: qcom: sdm845-akatsuki: Round down l22a regulator voltage Date: Mon, 15 Aug 2022 19:53:02 +0200 Message-Id: <20220815180448.622647005@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Marijn Suijten [ Upstream commit 4148a9eeb15152865d60b0913d96beb7ca166f9a ] 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 Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220620211212.269956-1-marijn.suijten@somainline.org Signed-off-by: Sasha Levin --- .../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 8a0d94e7f598..2f5e12deaada 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 @@ -19,8 +19,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 { -- 2.35.1