Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11261356rwl; Mon, 2 Jan 2023 17:45:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXuYkRDAqDnBg3+yk6xr++M8oy/CZ2O92M3vHDVKWqmirqxNDSh5Miguh4TKsHqeI1PPIoBc X-Received: by 2002:a05:6402:321a:b0:48e:a96c:fd6c with SMTP id g26-20020a056402321a00b0048ea96cfd6cmr2087200eda.30.1672710313095; Mon, 02 Jan 2023 17:45:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672710313; cv=none; d=google.com; s=arc-20160816; b=Gr46v/P8cnqEghefypW3QWVW6jjIo9dhfk7IGsZJPLuCTOLKFV2QgNgeEPVCBPlYAX LGuU4wFDuSb+SrRL3kexyCxHNJNKzDhz5UJ3im09W6TlpT4wf+DlhrdePN4F8kILJTsM DK+51KUxdy7pOEAl51h9jr09wfPteAbiE2JTPYO4n/OvH8zpYch6MFUmkGQz954mwxjo 3/6qnOvOUMVCdMbjG2CuegdPhyAI1hMx9BqaFOkCZTsagDla/L2UCjNt6naB7w6V6aQP OGrg0uHwLnh4ei3i5g6TPlNATo2s2SUdz8kBjV5HekckgZBWW6Obt0zOxJ1BjEXqTLXK PDQQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w18-20020a056402269200b0045782fcb80asi28150580edd.225.2023.01.02.17.44.57; Mon, 02 Jan 2023 17:45:13 -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 + 62 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 Content-Transfer-Encoding: 8bit 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 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 {}; + }; +}; -- 2.34.1