From nobody Fri Dec 19 07:49:11 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 3B350C6FD1D for ; Fri, 7 Apr 2023 19:49:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230046AbjDGTtb (ORCPT ); Fri, 7 Apr 2023 15:49:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230197AbjDGTtQ (ORCPT ); Fri, 7 Apr 2023 15:49:16 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55E5176AB for ; Fri, 7 Apr 2023 12:49:14 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id he13so4917280wmb.2 for ; Fri, 07 Apr 2023 12:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680896953; x=1683488953; 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=K/DHrk49vUBVWlm5NrT6lO9bNYVi+21wKREqdqKmUws=; b=kmZMdNysMb5VIEkXebVDmgXywocnEat6oPEmZhsNVS4cPxBsXEOP2gth7209mUaf51 2qRrXdSSY972vlN9uIw0LzEhdiiQvsrtydPVIu0S/lWn5JbJCcAfe7E6FzdKU1r2JegU tuLOd30N27R9qlJA4vYcD2s2swQ2xH9+3y8r4C7Hiq07WqwyVDpy78bLHTOmWAzM86pQ QlQjk6guTigTWQBc1lxV5iYu9/4NaFjYT0kKRZfuPdPr/9hvZawwlLQVmG8AcpZb+QWo ANQKyc2Fc/zbW3JtRJJGewHoqOSFJtydMbgW0/9wurNO/1ZAzwpwwH5IxPpGFFSSg8Kt XmUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680896953; x=1683488953; 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=K/DHrk49vUBVWlm5NrT6lO9bNYVi+21wKREqdqKmUws=; b=BOLDk3FMDoX+n2rhq+oXvxWF/CXUadAXIQWPgBGAEfe7iDBuuVMdVtbj+UvYoorXBE e3pBs2cP8CUFzomJIjjFJz3N+I6zPNhqdUa/HJfvTkLHge2n7iGsT2rPDoJqtytRufXv 4lSSKyb53IG0fzpKlRocKmnkCdA6bLHTWXmSMkitYwLL8zXcmaIMcmUnAnc/+HBhmbcg v1AB/4+q/qMU6SVen8HnWIxf850k50euZGmlEsIGok+fg7+o3RIN4ZOeTSgaDVVvBdyB yUfENUyoj/iXM+DYqqILmuCIMS9mJy0/WwGcP3Lsx1g41BwJQru8VHJk5rsIgs8Yv4HR kyOg== X-Gm-Message-State: AAQBX9d5NpT2VOt7cj4zJRqkdbqeSjOS72NuwUQ9m93nZYpFZ1FCGKqB 8I3zZKMBXUdyWFyNprB/n8Sl9A== X-Google-Smtp-Source: AKy350aMDp1jimULttE1OgKaYThyamFt8dwR6CbqA0W+Mm/c4jjbdbj7sp9v0GmLtZfIBuBJlHsQZQ== X-Received: by 2002:a05:600c:2296:b0:3f0:5fda:c95f with SMTP id 22-20020a05600c229600b003f05fdac95fmr2300287wmf.26.1680896952843; Fri, 07 Apr 2023 12:49:12 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id r15-20020a05600c458f00b003f03d483966sm9429551wmo.44.2023.04.07.12.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:49:12 -0700 (PDT) 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.net Subject: [PATCH v9 3/5] arm64: dts: qcom: Add msm8939-pm8916.dtsi include Date: Fri, 7 Apr 2023 20:49:03 +0100 Message-Id: <20230407194905.611461-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230407194905.611461-1-bryan.odonoghue@linaro.org> References: <20230407194905.611461-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 Reviewed-by: Konrad Dybcio 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..24393a1590580 --- /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>; +}; + +&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 {}; + }; +}; + +&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>; +}; + +&wcnss { + vddpx-supply =3D <&pm8916_l7>; +}; + +&wcnss_iris { + vddxo-supply =3D <&pm8916_l7>; + vddrfa-supply =3D <&pm8916_s3>; + vddpa-supply =3D <&pm8916_l9>; + vdddig-supply =3D <&pm8916_l5>; +}; --=20 2.39.2