From patchwork Fri Apr 7 15:57: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: 80896 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp383620vqo; Fri, 7 Apr 2023 09:06:25 -0700 (PDT) X-Google-Smtp-Source: AKy350ZNGuqatOxHqNAYVn6tdWFdS6mhdk5H/cuTrv7P+0Htupgt8KjJvLA//rPFrppr51feivKJ X-Received: by 2002:a17:902:f14d:b0:1a1:add5:c355 with SMTP id d13-20020a170902f14d00b001a1add5c355mr2577373plb.5.1680883585433; Fri, 07 Apr 2023 09:06:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680883585; cv=none; d=google.com; s=arc-20160816; b=KexVRYCv3ikWTD5L9WSLyVnznrre2jo3971BhCitpF+DVxJT7tl13BQTkSvphBHROX lh6Kwh5XHyQiqjv483sA9/axAzKCR1puYrjSpMIA6dIEAL5TSbg5jkmKxkRxu4T9udR7 a4YdZ6anQTOZRuhPDYhDJTsHVhiQct8gvPQBp3R8OXek9Qat/z0/blZZ2Wfwh5hjMb25 YWLnVIFgwnaWufnAUmWwRrt0EkpkVPCJzatgkFKRuu5Tx3cspolepBERo4k5KCe1Q1Rz 79bSH5yt3GweX7r2B+bTIzaExqGWimFaZbatf/8jIj/uvg1WPmCpuDMpRi7ZgP6mheCm IC1Q== 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=b+LW5hRuMvKOd4NiVwPngvtUjFU3uMFAD4m5HlAlevo=; b=sHDifHuy190NmxoGdeoILw8zCXqH6vuK8DhW8khQ7RoGoVB+TUWNMgH7H6hbnQKjVU fiRTrdnqL8cxJqugNNqWBmCMDSb8asX69rtlWD3m7WSXG5aafXZMS3aSe00v5dnDTfkD Tnlw3MXOxFeNOdkSNm1iQXVRIVyN9MFpCTy1FAs4F6GktBIHUX7ch8b91ldZ+MR1Mqmk rr0k/QGa9sl40t69dq2rLCoIRccXRRMyJqXqKgvVsV0r8IWEft732W8JlzMfUg1PDu1B 2+pyFpU5qdLSGUfOu/bpHnPGctgcVFoWR2oIRD6JFeicwyS6rCJWlzlD1EdakrtMPlli OAXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="VZnfZzs/"; 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 n4-20020a170903110400b001a228c68286si4383793plh.205.2023.04.07.09.06.08; Fri, 07 Apr 2023 09:06:25 -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="VZnfZzs/"; 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 S232105AbjDGP6d (ORCPT + 99 others); Fri, 7 Apr 2023 11:58:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234258AbjDGP62 (ORCPT ); Fri, 7 Apr 2023 11:58:28 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BD2FB745; Fri, 7 Apr 2023 08:58:12 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 337DtrbN027521; Fri, 7 Apr 2023 15:58:09 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=b+LW5hRuMvKOd4NiVwPngvtUjFU3uMFAD4m5HlAlevo=; b=VZnfZzs/SW7xsvm52sWMxqmLTRWY8+JcbTRCUxoaSUR1mL+CGNKdBXR6p9zwJ1JbJXJJ bPgWC9WIic+bCB5aaznzktEQzYJa+pwEHr1GGYO4bCrRSC2SeESuB4UyFCx0fDkKiJiR KimovpGI8uRU1B29aaXr0m+kl+qEePwfRZcAtDk4tTQmUb21MetZH50uLXQUbRhgWWq4 BFh46mDQQbquUItZxNp8tACTyGUdQZXxSxr1oj2NPHRlULfNBPndSPXtAoIs8VUZlSFS ciqtOoeywe/9+z7ghwi++3bT22YxGnE7eMK3kyR3Joe4dy+/06LYXJrZKYbvMhvLJcrg FQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ptd5cs4kg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Apr 2023 15:58:09 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 337Fw8le010501 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 7 Apr 2023 15:58:08 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; Fri, 7 Apr 2023 08:58:02 -0700 From: Devi Priya To: , , , , , , , , , CC: , , , , , Subject: [PATCH V4 4/5] arm64: dts: qcom: ipq9574: Add SMPA1 regulator node Date: Fri, 7 Apr 2023 21:27:26 +0530 Message-ID: <20230407155727.20615-5-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230407155727.20615-1-quic_devipriy@quicinc.com> References: <20230407155727.20615-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: DSLZDO5bV4YGMY5F6-t9T44jif68Lexz X-Proofpoint-ORIG-GUID: DSLZDO5bV4YGMY5F6-t9T44jif68Lexz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-07_10,2023-04-06_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 adultscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 spamscore=0 mlxlogscore=969 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304070146 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762534186285722687?= X-GMAIL-MSGID: =?utf-8?q?1762534186285722687?= Add support for SMPA1 regulator node in IPQ9574. Co-developed-by: Praveenkumar I Signed-off-by: Praveenkumar I Signed-off-by: Devi Priya Reviewed-by: Konrad Dybcio --- Changes in V4: - Updated the comment as suggested by konrad s/Updating/Update s/725000uV/725mV 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 3ae38cf327ea..bdc1434fbe67 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts @@ -44,6 +44,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>; + }; + }; +}; + &pcie1_phy { status = "okay"; };