From patchwork Wed May 17 17:25:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 95443 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1309995vqo; Wed, 17 May 2023 10:38:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5YACtQBx77DkG46UuMlFwGXBwAsh5lrg7Fk2BN+nLgffPG9NsODismImE+hyqV0atdSygo X-Received: by 2002:a05:6a00:134b:b0:62d:8376:3712 with SMTP id k11-20020a056a00134b00b0062d83763712mr495847pfu.28.1684345132038; Wed, 17 May 2023 10:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684345132; cv=none; d=google.com; s=arc-20160816; b=0mCWWpOaIfQM+drpRFd+uzsGuK7JY9lA7eOxaNk7bXbhWE97VWeqgNIqyXus2P6dCT lESkT4FVg6f1B8M8Y3R7oeYVlt50w09UIw8xlzx+ai0Y0UgA4qQaGoEzbhI/di6Z6we0 9lxpQUgGNed4G4momSYLcgQrLIM7q9/ODKm0hjGi5MicwBdlwnEUwmszNjyf7b4v1on/ aAfr4lfuHnS6QTlN7vNj4ncDsGBG2ICxGADa5rcAbTg3y+c0uWEWifkaQ9I4A2hF23Kh TTtmbXsrAkRR7btWxgjIi+fenkPY+iY7u/1sCsRuz2kIA0iDLmZABenvyDdzSHt8dnoh vV6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=50vZCR6Um2Af56k3OG0fh7z188sheFTXoHEhV8QJNv0=; b=QjcXV0VBVoMcOOlVX9Y7nv9lzkwPiBOq9COcyr4K1J8PKjSpa2KAQHV0dyMHtLa1oK 4TfOIipTny3Z/Ya9R5mIveqZb543LYsPhdgG31lSOLEqGot8g0b+V6aZPUpY3yoFzifB Ps2wOGtjvhLAO8lXmkf7PpayFOkpv/NwL888xfbNq5IIiR8ydkbC6LNnuCqBGfv2Bb31 pgF1k98vOmnIb6aMoymQcKh+h+UK/JZhIxFLxU7a00wqXlANKsYfuI9SP39HlXspNkgS k+QUCn+Ow4vbB2vbT7oZmEuIx7t22JWno6jW+DAy0hB0ZSrSfoAQfADtF29kYnieNFI7 1ohw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hdZKPh2D; 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=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t16-20020aa79470000000b0063d625be9f8si22352951pfq.233.2023.05.17.10.38.38; Wed, 17 May 2023 10:38:52 -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=@quicinc.com header.s=qcppdkim1 header.b=hdZKPh2D; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbjEQR0i (ORCPT + 99 others); Wed, 17 May 2023 13:26:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbjEQR02 (ORCPT ); Wed, 17 May 2023 13:26:28 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93F91D041; Wed, 17 May 2023 10:26:06 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34HEj91V008430; Wed, 17 May 2023 17:25:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=50vZCR6Um2Af56k3OG0fh7z188sheFTXoHEhV8QJNv0=; b=hdZKPh2DHKjuNBT+7fNlbWaW0ZRDNsantxBPb/yTVPhUZskDn4DIHe+iTFP3kssvhXyL czFusyUpkgVX0pKfrAz6TpYUaQizuULn5HD7KrodS4DApKc0yZXueCB+Acixl7A9JSNc sqZxppKf3+SJks5jlI0B5Wh2g8gwxDdk5DmCQILZysulYB/khH0VK5ve4kxxK+iNWVAi IF0gFXqx3181buckqjGcuI35WuAzfND6Noe1etVOmL2cbWjBf8Tw3+4hgvsh3qHZBLCV kZcuW2MHG6WhIIDSeuN+a9oDPjoqOLRxwjRYgYYGeqOZyq2Tnh9zBgNtr5l0U97GG5WW 4Q== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qmts29ae2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 May 2023 17:25:56 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34HHPs3b023491 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 May 2023 17:25:54 GMT Received: from devipriy-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 17 May 2023 10:25:50 -0700 From: Devi Priya To: , , , , , , , , CC: , , , , Subject: [PATCH V5 2/3] arm64: dts: qcom: ipq9574: Add SMPA1 regulator node Date: Wed, 17 May 2023 22:55:26 +0530 Message-ID: <20230517172527.1968-3-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230517172527.1968-1-quic_devipriy@quicinc.com> References: <20230517172527.1968-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: p7FhsbMmonkbKJfjVYnfvIMWmWZchAoW X-Proofpoint-ORIG-GUID: p7FhsbMmonkbKJfjVYnfvIMWmWZchAoW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-17_02,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 mlxlogscore=970 spamscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 adultscore=0 priorityscore=1501 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305170143 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766163880833565173?= X-GMAIL-MSGID: =?utf-8?q?1766163880833565173?= Add support for SMPA1 regulator node in IPQ9574. Reviewed-by: Konrad Dybcio Co-developed-by: Praveenkumar I Signed-off-by: Praveenkumar I Signed-off-by: Devi Priya --- Changes in V5: - Picked up the R-b tag arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts index 7be578017bf7..1a35fbc42f8c 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts @@ -43,6 +43,25 @@ }; }; +&rpm_requests { + regulators { + compatible = "qcom,rpm-mp5496-regulators"; + + ipq9574_s1: s1 { + /* + * During kernel bootup, the SoC runs at 800MHz with 875mV set by the bootloaders. + * During regulator registration, kernel not knowing the initial voltage, + * considers it as zero and brings up the regulators with minimum supported voltage. + * Update the regulator-min-microvolt with SVS voltage of 725mV so that + * the regulators are brought up with 725mV which is sufficient for all the + * corner parts to operate at 800MHz + */ + regulator-min-microvolt = <725000>; + regulator-max-microvolt = <1075000>; + }; + }; +}; + &sdhc_1 { pinctrl-0 = <&sdc_default_state>; pinctrl-names = "default";