Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6512489rdb; Fri, 15 Dec 2023 00:02:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGNUWBCiLwm3GPJ5eSQo5S/K1FcQO4MOS8Q7CvPoGmhbGm/ZSwbEdZJIdiugoWyXOzpZtx X-Received: by 2002:a17:90b:46:b0:28b:9a5:d159 with SMTP id d6-20020a17090b004600b0028b09a5d159mr1115142pjt.50.1702627350280; Fri, 15 Dec 2023 00:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702627350; cv=none; d=google.com; s=arc-20160816; b=NoEkmVFeVJaDRF42GEP2zq8PwuJFmXjBHrplJOItvA0AXOI4UfZYqDGRe3AvPu+GgQ aKKUmQHnupTzoCitTGe/x3+eXu2R9nLLDbcznibLJxf4LAkY5ZMEMtqE29BiweFA6ips bzZjkCxurIZWdLhphR7oxdpRf6eGUL69XH0sda2BcSNVMmdUygk13JP6gZ2Ax28pYrGy mBoiTJXNpxFkegreM/L/EA0T1b0qN9ols3gNIBzPbq8pXnmDqzp5fCzKvk23T54oOsNk Y1d6jyMlTFxl3aiuslwq5e59I4da79nin6RXdEFhPgsiCp/weA1LqvM+N/CfqZabmx+D QAig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=Uk9rfZIRe0HpDAUgOPyNoHrwZ/LqGPLcSKjMbdEMZlg=; fh=P0nxIYE7qiWRpeKkh+F20t3JafkXsGziba7IyZgrNzQ=; b=bH4poIOyleV9CNilGiRrTl7p3eiHRYqAT52wdbi9c5iNdRv5ZaKWo08d4KiYzHAFH7 cC+L3vKOO4GC3EJ4gM0+8yXa8q/gnoIBVOrAJt0Qev87veeOfJsyzAJAy4plg1r4UZ9I RuwsrZ/rVqiPU2mDCGmBsfOnfo0SBeuz4hzYpR4Q1bQ5WdsLtyAysxtxQfmh8ZHZwnhE qqs/DcGKziDsEG/xL+cceS4TOGyXnnO3gJf6mX9IvhNYzNVOMghaoad82O2AaO541rHM 6qLul2SOb/fiC7C0GvpaUCj89ffKUeVQuD5qTURE/9uEKrmNW94FqIlYfpTg2O9oV5Xe qlhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=loa187Lr; spf=pass (google.com: domain of linux-kernel+bounces-576-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-576-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l7-20020a17090a850700b0028b0483a828si2700483pjn.40.2023.12.15.00.02.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:02:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-576-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=loa187Lr; spf=pass (google.com: domain of linux-kernel+bounces-576-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-576-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CDBDCB20FBB for ; Fri, 15 Dec 2023 08:02:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C74AB12E50; Fri, 15 Dec 2023 08:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="loa187Lr" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EE65F10A28; Fri, 15 Dec 2023 08:01:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 730A5C433CA; Fri, 15 Dec 2023 08:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702627318; bh=rGko7g/e7jaL+Mbo3OjmBgd3fdi67jcuNrQTX9QGUhw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=loa187LrAwEgvYhOHKsQXEWPmZlvo3fEzCE07/ZHZpNTnwwQ8m4/pNv57KPaWN/dZ ukenDLBsDlMkwDu3Eu8X7xI90CvF5+ES0soeJrg9fbmtJ8KBsvO8n6caRzCovFGFmR xwrq5mZ3aCsrwvM4Q13VYRRoWYeQqtLwo2BR33177Ip5180rPTKMQMUIQ2dcFvrsJt 1TvB8HeKtwq6/N99JxCo+8KlbudYK3BFTqokUZoqhlJ4W8YsLV5Wn0ZmvmVz6XpFTs Cz2f/7K3ZCVGc9c/KtT2+u/iwZc+NCzXndHtyDjo2prXcf620fj880T+uaBFNBSLt+ DeKJ+/xtawaLA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53C7AC46CC5; Fri, 15 Dec 2023 08:01:58 +0000 (UTC) From: Fenglin Wu via B4 Relay Date: Fri, 15 Dec 2023 16:01:46 +0800 Subject: [PATCH v3 2/2] arm64: dts: qcom: sm8550-qrd: add PM8010 regulators Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231215-pm8010-regulator-v3-2-1bfc4b7ee5ab@quicinc.com> References: <20231215-pm8010-regulator-v3-0-1bfc4b7ee5ab@quicinc.com> In-Reply-To: <20231215-pm8010-regulator-v3-0-1bfc4b7ee5ab@quicinc.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , kernel@quicinc.com Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_jprakash@quicinc.com, Fenglin Wu X-Mailer: b4 0.13-dev-83828 X-Developer-Signature: v=1; a=ed25519-sha256; t=1702627317; l=4265; i=quic_fenglinw@quicinc.com; s=20230725; h=from:subject:message-id; bh=CWUiGxnJ4SLz6vk8vxxSFV8erbPvd24GIEgmmiaDxH4=; b=bTK9eDjnWBY9hAaZxZS0QMW5ozdF8C+jdU56AfovUogp87Ujv3F9WiYaBHdQ9Y3tqMDWZH3XY 0Ya8XnRogy+D/boXosRzlxQxQhb0i5THUNMMrzsds3AW0sOsDkfQ+/U X-Developer-Key: i=quic_fenglinw@quicinc.com; a=ed25519; pk=hleIDz3Unk1zeiwwOnZUjoQVMMelRancDFXg927lNjI= X-Endpoint-Received: by B4 Relay for quic_fenglinw@quicinc.com/20230725 with auth_id=68 X-Original-From: Fenglin Wu Reply-To: From: Fenglin Wu Add PM8010 regulator device nodes for sm8550-qrd board. Reviewed-by: Konrad Dybcio Signed-off-by: Fenglin Wu --- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 120 ++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index eef811def39b..7ca93c149215 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -527,6 +527,126 @@ vreg_l3g_1p2: ldo3 { regulator-initial-mode = ; }; }; + + regulators-6 { + compatible = "qcom,pm8010-rpmh-regulators"; + qcom,pmic-id = "m"; + + vdd-l1-l2-supply = <&vreg_s4g_1p25>; + vdd-l3-l4-supply = <&vreg_bob2>; + vdd-l5-supply = <&vreg_s6g_1p86>; + vdd-l6-supply = <&vreg_s6g_1p86>; + vdd-l7-supply = <&vreg_bob1>; + + vreg_l1m_1p056: ldo1 { + regulator-name = "vreg_l1m_1p056"; + regulator-min-microvolt = <1056000>; + regulator-max-microvolt = <1056000>; + regulator-initial-mode = ; + }; + + vreg_l2m_1p056: ldo2 { + regulator-name = "vreg_l2m_1p056"; + regulator-min-microvolt = <1056000>; + regulator-max-microvolt = <1056000>; + regulator-initial-mode = ; + }; + + 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_1p8: ldo6 { + regulator-name = "vreg_l6m_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l7m_2p9: ldo7 { + regulator-name = "vreg_l7m_2p9"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2904000>; + regulator-initial-mode = ; + }; + }; + + regulators-7 { + compatible = "qcom,pm8010-rpmh-regulators"; + qcom,pmic-id = "n"; + + vdd-l1-l2-supply = <&vreg_s4g_1p25>; + vdd-l3-l4-supply = <&vreg_bob2>; + vdd-l5-supply = <&vreg_s6g_1p86>; + vdd-l6-supply = <&vreg_bob1>; + vdd-l7-supply = <&vreg_bob1>; + + vreg_l1n_1p1: ldo1 { + regulator-name = "vreg_l1n_1p1"; + regulator-min-microvolt = <1104000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l2n_1p1: ldo2 { + regulator-name = "vreg_l2n_1p1"; + regulator-min-microvolt = <1104000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l3n_2p8: ldo3 { + regulator-name = "vreg_l3n_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3000000>; + regulator-initial-mode = ; + }; + + vreg_l4n_2p8: ldo4 { + regulator-name = "vreg_l4n_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = ; + }; + + vreg_l5n_1p8: ldo5 { + regulator-name = "vreg_l5n_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l6n_3p3: ldo6 { + regulator-name = "vreg_l6n_3p3"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l7n_2p96: ldo7 { + regulator-name = "vreg_l7n_2p96"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + }; }; &i2c_master_hub_0 { -- 2.25.1