Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp334095rdb; Thu, 25 Jan 2024 17:47:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6jFymPpKRrLEZ5+Pl3m3axpFoPmPQJSvteRb9yVLbuvjX2FETOinC3E6KM9JhGmfvrc1u X-Received: by 2002:a05:620a:5659:b0:783:9bdf:b2d9 with SMTP id vw25-20020a05620a565900b007839bdfb2d9mr527282qkn.142.1706233645663; Thu, 25 Jan 2024 17:47:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706233645; cv=pass; d=google.com; s=arc-20160816; b=BIhIKgviTbTUK1yowtHh10TZQKzWQVR34KRmpLeXMZEKmuyGLkwzaSnOGz8E0NRN+j lNBhAQMTLLXoGy8FfutCJZliVzDPYVqMhtdwlxpBuututaL4PkLJHpLyLOGGZYSGWDO0 xt/X+A09YPyaWc+6Yjc58r+TRZmE6ai4eK5V5yLsm3BrewQ6nqy3AjxgkIhRFzfwoMZK cWPX4fFBkeQFIEzzBt1d0b170MEsVVydqOW5qmHDHFIu4Iq+bhkrRu9XgJBhsyw5SmiT ThmCcVjtMBx6KpRF8YZNDAt+HQnSMjfTCMLpQzgnBn0GmUAFGnpY8UycOl2Htr4xOFrm pgAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=UL0KgqIfPGr/D18DWt2yOF7iNRX7xknYQ087WuH0GRQ=; fh=6WJjet4tevw+SENzAXTmTNJ8S+uztyGa0mPaNOO8Jnk=; b=fS2zpNM53gnmbRHxyLfpE88sX0dxRMbN0pTQI3fq7Ryjh0VqE8ggZvGbFA4u4pTsET vJsrtEfIJFnG0ng74edHnXkmovQ66+5a5r1Cfjqa/kdKFwvbj9aunp5of1Nx1zGg9l0T TecDnU1OGCQ6bcdtk2LxsC/7rEzsI8kl2+YU0rJaaJq0iq0P+96D3rDIlPtJg6truIzx EE7IEodXUuWJTnxyO4vVUmjSkfOy7iCC3Or344PQrx/IKWoE/A8FZ/Au8XE10EPb9Lnw Cs0KNLZ8pvTFSTQa2Aa3kQnpmrPSl4uH1Tmaei1PGYIG0jR6DNOznCZdrY56lZPTgi3y AL6Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WFaYTLo1; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-39516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id wa20-20020a05620a4d1400b007839780eef6si297744qkn.49.2024.01.25.17.47.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 17:47:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WFaYTLo1; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-39516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5E5A61C23C43 for ; Fri, 26 Jan 2024 01:47:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 112E967C78; Fri, 26 Jan 2024 01:47:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="WFaYTLo1" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EED434430; Fri, 26 Jan 2024 01:47:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706233636; cv=none; b=Z/3xiIJa8NLlBR0QP50GNdHqNCMt+WnSvezF5s8qyZKbcj2uMvwFlYNcNHQhK6twNamsAX+hef9iHNFYEMGslPF2MJDZmwjdYntxkRGzagyrBrcOkAFw1ON2LC5y6rM4D8is55+glHhqho71F9x974RJjsfRCC8UXt7Yt1H4cjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706233636; c=relaxed/simple; bh=80ZDM5T2vq//IFDXbEMufZnK5hP/bkCsjH9BS93RqvM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=b90aS44+CYVj/2uctBhj+AOc2yKqClVUVubM2OB9mkfuTavLCfNJXxkcU1uvsZ40wg5liuTMMiWFU/rAUa9ZyVGY3AmCaynSRXNKYl3L5AFh72mfdXMXpBDPMG11BYBw/cwFNQMu4cNR1LvHEgL/ZZ4rW50xQLvHCOtUMZK+viA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=WFaYTLo1; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40Q1AFMg029535; Fri, 26 Jan 2024 01:47:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=UL0KgqIfPGr/D18DWt2yOF7iNRX7xknYQ087WuH0GRQ=; b=WF aYTLo1t2genqWXgYdlYbF8WoRzGTy4/qp7ullWOwwV3D4gyTpo3g5WRjnLrVIczh 1Zf1w5a0UBGpDNma0+XO4PS0IXJbzXQSfH3lWxulPztvhgOlj2mc0KF6F0XiboWD JBKq/8jyp4jyFHHLWThyh7u4fXtdjuoVLccqCviChkGVx1dYBhCCc6l+9n1TLgy/ hKGnLH/4y8zGyC7qUNYB5bnCfT0y42YFwehSR5T8R5tUPBsa0f9wgghHm4UJKzmu NggpmLCKZtHTRQRf/pgHpkJ8ItEAZQc8ppNW5SnQDEC32W612U9RlJYyIcjxDEZ+ vpZMxMzJ3FqzngcM68+g== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vun5yjb9j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jan 2024 01:47:09 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40Q1l8hd011148 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jan 2024 01:47:08 GMT Received: from [10.47.206.1] (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 25 Jan 2024 17:47:05 -0800 Message-ID: <50054de9-a785-5af9-9e6b-c18a4b8431dc@quicinc.com> Date: Thu, 25 Jan 2024 17:47:04 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: sm8650-qrd: add PM8010 regulators Content-Language: en-US To: , , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , References: <20240125-sm8650_pm8010_support-v3-0-2f291242a7c4@quicinc.com> <20240125-sm8650_pm8010_support-v3-2-2f291242a7c4@quicinc.com> From: David Collins In-Reply-To: <20240125-sm8650_pm8010_support-v3-2-2f291242a7c4@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: NXO0C-RrdACisfjqBxOzjnGp9fCL-nyj X-Proofpoint-ORIG-GUID: NXO0C-RrdACisfjqBxOzjnGp9fCL-nyj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-25_14,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 suspectscore=0 mlxscore=0 mlxlogscore=593 adultscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 impostorscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401260011 On 1/25/24 01:31, Fenglin Wu via B4 Relay wrote: > From: Fenglin Wu > > Add PM8010 regulator device nodes for sm8650-qrd board. > > Signed-off-by: Fenglin Wu > --- > arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 132 ++++++++++++++++++++++++++++++++ > 1 file changed, 132 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts > index 592a67a47c78..294fb3f37af1 100644 > --- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts > +++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts > @@ -436,6 +436,138 @@ vreg_l3i_1p2: ldo3 { > RPMH_REGULATOR_MODE_HPM>; > }; > }; > + > + regulators-6 { > + compatible = "qcom,pm8010-rpmh-regulators"; > + qcom,pmic-id = "m"; > + > + vdd-l1-l2-supply = <&vreg_s1c_1p2>; > + vdd-l3-l4-supply = <&vreg_bob2>; > + vdd-l5-supply = <&vreg_s6c_1p8>; > + vdd-l6-supply = <&vreg_bob1>; > + vdd-l7-supply = <&vreg_bob1>; > + > + vreg_l1m_1p1: ldo1 { > + regulator-name = "vreg_l1m_1p1"; > + regulator-min-microvolt = <1104000>; > + regulator-max-microvolt = <1104000>; > + regulator-initial-mode = ; > + regulator-allow-set-load; > + regulator-allowed-modes = + RPMH_REGULATOR_MODE_HPM>; > + }; > + > + vreg_l2m_1p056: ldo2 { > + regulator-name = "vreg_l2m_1p056"; > + regulator-min-microvolt = <1056000>; > + regulator-max-microvolt = <1056000>; > + regulator-initial-mode = ; > + regulator-allow-set-load; > + regulator-allowed-modes = + RPMH_REGULATOR_MODE_HPM>; > + }; > + > + vreg_l3m_2p8: ldo3 { > + regulator-name = "vreg_l3m_2p8"; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l4m_2p8: ldo4 { > + regulator-name = "vreg_l4m_2p8"; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l5m_1p8: ldo5 { > + regulator-name = "vreg_l5m_1p8"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l6m_2p8: ldo6 { > + regulator-name = "vreg_l6m_2p8"; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l7m_2p96: ldo7 { > + regulator-name = "vreg_l7m_2p96"; > + regulator-min-microvolt = <2960000>; > + regulator-max-microvolt = <2960000>; > + regulator-initial-mode = ; > + }; > + }; > + > + regulators-7 { > + compatible = "qcom,pm8010-rpmh-regulators"; > + qcom,pmic-id = "n"; > + > + vdd-l1-l2-supply = <&vreg_s1c_1p2>; > + vdd-l3-l4-supply = <&vreg_s6c_1p8>; > + vdd-l5-supply = <&vreg_bob2>; > + vdd-l6-supply = <&vreg_bob2>; > + vdd-l7-supply = <&vreg_bob1>; > + > + vreg_l1n_1p1: ldo1 { > + regulator-name = "vreg_l1n_1p1"; > + regulator-min-microvolt = <1104000>; > + regulator-max-microvolt = <1104000>; > + regulator-initial-mode = ; > + regulator-allow-set-load; > + regulator-allowed-modes = + RPMH_REGULATOR_MODE_HPM>; > + }; > + > + vreg_l2n_1p056: ldo2 { > + regulator-name = "vreg_l2n_1p056"; > + regulator-min-microvolt = <1056000>; > + regulator-max-microvolt = <1056000>; > + regulator-initial-mode = ; > + regulator-allow-set-load; > + regulator-allowed-modes = + RPMH_REGULATOR_MODE_HPM>; > + }; > + > + vreg_l3n_1p8: ldo3 { > + regulator-name = "vreg_l3n_1p8"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l4n_1p8: ldo4 { > + regulator-name = "vreg_l4n_1p8"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l5n_2p8: ldo5 { > + regulator-name = "vreg_l5n_2p8"; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l6n_2p8: ldo6 { > + regulator-name = "vreg_l6n_2p8"; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + regulator-initial-mode = ; > + }; > + > + vreg_l7n_3p3: ldo7 { > + regulator-name = "vreg_l7n_3p3"; > + regulator-min-microvolt = <3304000>; > + regulator-max-microvolt = <3304000>; > + regulator-initial-mode = ; > + }; > + }; > }; > > &dispcc { > Reviewed-by: David Collins