From patchwork Tue Jan 3 01:09:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 38225 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4381421wrt; Mon, 2 Jan 2023 17:12:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXuLSuU5rHXJJZVmognnjECtKyQX3nkAJgFODE6pa1vf5aDusF4SJV8tuqBJX1f2a3DT5q4S X-Received: by 2002:a17:903:2447:b0:191:1a7c:ef9f with SMTP id l7-20020a170903244700b001911a7cef9fmr65636197pls.1.1672708358903; Mon, 02 Jan 2023 17:12:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672708358; cv=none; d=google.com; s=arc-20160816; b=L+Ds8NvlHyZ2sJF796RLyiMs+m6+fJebRSpXKTRxRdygA5105U6sqUvQnxKFm4Gtxu hySq5MTU3sVWw+C1imxsNd8EWzl5JdNHv4wQr+mRGEvLoWC3AUJS+nSTEM5jADulG8XE ZbtVywvUnNctSLhDTi2jQzM6BuBYGLAuCLQhdaNtj+5UZe9ftmiEOX0MC3hz8GOBklD/ 6FOVozpS4/si16BLYE0qcjFV05xDE9vzyw5pibyyU6igfy1aqGWXOVLAKq47Ka4P2Rfm 7fMqp9Wdpy0+fODBD0kB+luCpNGZmUAoS7whaSqw/HC5Hw9Wh56W015fMycg8aRwa9uz Qpuw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FyJv9RpPvqzvLqO98nlnB5w6NnHFlQoRh5flLZJB9Y0=; b=n/i64OhaJG+9KSgAzIlMAbCU4j0HYkrPYoc2gnpC3zIQ0voV4I090vpBPhuhsGfipK YfkBXdnMi9r9prUt32OyOKQkkYtHhAeVzuS8MlXkpy+XV8Fci8ST/0e7mxzSVyGK6s11 5YfSXbc8Z35f0zcoeWU4vGJ9C8loiXAt0cb6Tv4Qb552SXuVLFnkNpxZvBRtBO5YiVNX Yd0yamNzc6LuVvbXkImypHLXdjLzHJFeYKHXVlKzp0Zz13Yrx5e0argWViNj9NbDVZdx WAphv6Bsd0x9+52UCcG8hIqhcok2YzCwDfDg8hLxo6sj2RP7dxZuSIB4k2irUfNgStjB 23Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OIu9lCjd; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a170902e48a00b001926d641de9si21823718ple.553.2023.01.02.17.12.27; Mon, 02 Jan 2023 17:12:38 -0800 (PST) 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=@linaro.org header.s=google header.b=OIu9lCjd; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236640AbjACBKD (ORCPT + 99 others); Mon, 2 Jan 2023 20:10:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236473AbjACBJU (ORCPT ); Mon, 2 Jan 2023 20:09:20 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE184AE66 for ; Mon, 2 Jan 2023 17:09:15 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id vm8so63217059ejc.2 for ; Mon, 02 Jan 2023 17:09:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FyJv9RpPvqzvLqO98nlnB5w6NnHFlQoRh5flLZJB9Y0=; b=OIu9lCjd/kWw7aSyoS8jFUf/r5KKvYHZCY43+RgnaK/li2ae3dBdn+wcJaY7Y3/cCk aFQngYdLbEKMwtskpQMYeYz6g7Gly3JUndpaJ4JEezqh9kjKNoJwef76xYZY0eLJhT2Y +RNwGmN1PWfDDa+5eSGivoToXoFiimCPRiPGFJchRjz9HOMp0Mi9PgqUf5Berkm+7mXz t0jF4lPfDo3qcEVvtVkxwhyexxk8hWbACfWA1eWnBsEwOpTV5bUQXgCABD8KzGVs+wjT ljIuaBWfg5tCTk970GXea3R0pgr/7tbBiq8nQV+fkNm82ZX7odPs52pN4i+iwSO1AH2i 88YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FyJv9RpPvqzvLqO98nlnB5w6NnHFlQoRh5flLZJB9Y0=; b=zvKUzVsD54T99NfNcFlWas5q6OHGNPFRsq0brPDopOY1rJ0FQhDUIT8wvwZk/h9RZg Ak5AGpPWW3sUP8Jw4m+eqoCABhzfh6gjEXNlqjk3+5z7UasMGWVwCRlr7hytKuXUjpf1 NGui8zvaaNxQ7R4We+CSLZtw/YwItDFnX8REY1dXnAWGFVyPvki3970ZZMYT5hhipFLZ N54gIdfvjIC215AK+i2YjxR+HddDhJg+1VHoT3PR52cRCSxk4r7AB1BhrZPdWZe+fOb8 rmXcfIOTWDlsLIID/jkpyIoabegKryPY9lq2lBZAifE9Iq/Yvd7AOwmc0HQGvC9t5/2O fNTQ== X-Gm-Message-State: AFqh2kqc7m2ok0TAtukUg3AiUfKXptBhwDjCLm6riWWVEkQYyTWMaGeO b8KjvKvGcjBAhgGt4sCFySocOg== X-Received: by 2002:a17:907:170c:b0:7c1:2478:a4d8 with SMTP id le12-20020a170907170c00b007c12478a4d8mr37802724ejc.54.1672708155068; Mon, 02 Jan 2023 17:09:15 -0800 (PST) Received: from planet9.chello.ie (2001-1c06-2302-5600-b443-9db7-1e5c-4fd5.cable.dynamic.v6.ziggo.nl. [2001:1c06:2302:5600:b443:9db7:1e5c:4fd5]) by smtp.gmail.com with ESMTPSA id q26-20020a17090676da00b008302732f569sm13564648ejn.78.2023.01.02.17.09.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 17:09:14 -0800 (PST) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, djakov@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: bryan.odonoghue@linaro.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, benl@squareup.com, shawn.guo@linaro.org, fabien.parent@linaro.org, leo.yan@linaro.org, dmitry.baryshkov@linaro.org, Stephan Gerhold Subject: [PATCH v2 5/7] arm64: dts: qcom: Add msm8939-pm8916.dtsi include Date: Tue, 3 Jan 2023 01:09:02 +0000 Message-Id: <20230103010904.3201835-6-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230103010904.3201835-1-bryan.odonoghue@linaro.org> References: <20230103010904.3201835-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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?1753961840259118605?= X-GMAIL-MSGID: =?utf-8?q?1753961840259118605?= From: Stephan Gerhold The msm8939-pm8916.dtsi include configures the regulator supplies of MSM8939 used together with PM8916, as recommended by Qualcomm. In rare cases where boards deviate from the recommended design they can just avoid using this include. Signed-off-by: Stephan Gerhold Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi | 82 ++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi diff --git a/arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi new file mode 100644 index 0000000000000..18a1b3cca01d6 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#include "msm8939.dtsi" +#include "pm8916.dtsi" + +&dsi0 { + vdda-supply = <&pm8916_l2>; + vddio-supply = <&pm8916_l6>; +}; + +&dsi1 { + vdda-supply = <&pm8916_l2>; + vddio-supply = <&pm8916_l6>; +}; + +&dsi_phy0 { + vddio-supply = <&pm8916_l6>; +}; + +&dsi_phy1 { + vddio-supply = <&pm8916_l6>; +}; + +&mpss { + pll-supply = <&pm8916_l7>; +}; + +&pronto { + vddpx-supply = <&pm8916_l7>; + + iris { + vddxo-supply = <&pm8916_l7>; + vddrfa-supply = <&pm8916_s3>; + vddpa-supply = <&pm8916_l9>; + vdddig-supply = <&pm8916_l5>; + }; +}; + +&sdhc_1 { + vmmc-supply = <&pm8916_l8>; + vqmmc-supply = <&pm8916_l5>; +}; + +&sdhc_2 { + vmmc-supply = <&pm8916_l11>; + vqmmc-supply = <&pm8916_l12>; +}; + +&usb_hs_phy { + v1p8-supply = <&pm8916_l7>; + v3p3-supply = <&pm8916_l13>; +}; + +&rpm_requests { + smd_rpm_regulators: regulators { + compatible = "qcom,rpm-pm8916-regulators"; + + /* pm8916_s1 is managed by rpmpd (MSM8939_VDDMDCX) */ + /* pm8916_s2 is managed by rpmpd (MSM8939_VDDCX) */ + pm8916_s3: s3 {}; + pm8916_s4: s4 {}; + + pm8916_l1: l1 {}; + pm8916_l2: l2 {}; + /* pm8916_l3 is managed by rpmpd (MSM8939_VDDMX) */ + pm8916_l4: l4 {}; + pm8916_l5: l5 {}; + pm8916_l6: l6 {}; + pm8916_l7: l7 {}; + pm8916_l8: l8 {}; + pm8916_l9: l9 {}; + pm8916_l10: l10 {}; + pm8916_l11: l11 {}; + pm8916_l12: l12 {}; + pm8916_l13: l13 {}; + pm8916_l14: l14 {}; + pm8916_l15: l15 {}; + pm8916_l16: l16 {}; + pm8916_l17: l17 {}; + pm8916_l18: l18 {}; + }; +};