From nobody Tue Sep 16 15:43:08 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40316C3DA7A for ; Tue, 3 Jan 2023 01:10:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236643AbjACBKE (ORCPT ); Mon, 2 Jan 2023 20:10:04 -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-Google-Smtp-Source: AMrXdXsLpfTaH7CTniE+GKgz1+1MTe/k6fTwlnBRrTpXDTYdToeZObixwEuBR7D08KwW0GpcCLDFNQ== 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 =3D <&pm8916_l2>; + vddio-supply =3D <&pm8916_l6>; +}; + +&dsi1 { + vdda-supply =3D <&pm8916_l2>; + vddio-supply =3D <&pm8916_l6>; +}; + +&dsi_phy0 { + vddio-supply =3D <&pm8916_l6>; +}; + +&dsi_phy1 { + vddio-supply =3D <&pm8916_l6>; +}; + +&mpss { + pll-supply =3D <&pm8916_l7>; +}; + +&pronto { + vddpx-supply =3D <&pm8916_l7>; + + iris { + vddxo-supply =3D <&pm8916_l7>; + vddrfa-supply =3D <&pm8916_s3>; + vddpa-supply =3D <&pm8916_l9>; + vdddig-supply =3D <&pm8916_l5>; + }; +}; + +&sdhc_1 { + vmmc-supply =3D <&pm8916_l8>; + vqmmc-supply =3D <&pm8916_l5>; +}; + +&sdhc_2 { + vmmc-supply =3D <&pm8916_l11>; + vqmmc-supply =3D <&pm8916_l12>; +}; + +&usb_hs_phy { + v1p8-supply =3D <&pm8916_l7>; + v3p3-supply =3D <&pm8916_l13>; +}; + +&rpm_requests { + smd_rpm_regulators: regulators { + compatible =3D "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 {}; + }; +}; --=20 2.34.1