Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ properties:

vdda-qref-supply: true

vdda-refgen-supply: true

# Only required on platforms where the hardware voting doesn't work properly
refgen-supply: true

qcom,4ln-config-sel:
description: PCIe 4-lane configuration
$ref: /schemas/types.yaml#/definitions/phandle-array
Expand Down Expand Up @@ -271,6 +276,28 @@ allOf:
"#clock-cells":
const: 0

- if:
properties:
compatible:
contains:
enum:
- qcom,qcs8300-qmp-gen4x2-pcie-phy
- qcom,sa8775p-qmp-gen4x2-pcie-phy
- qcom,sa8775p-qmp-gen4x4-pcie-phy
then:
required:
- vdda-refgen-supply

- if:
properties:
compatible:
contains:
enum:
- qcom,qcs8300-qmp-gen4x2-pcie-phy
then:
required:
- refgen-supply

examples:
- |
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/qcom/lemans-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,8 @@
&pcie0_phy {
vdda-phy-supply = <&vreg_l5a>;
vdda-pll-supply = <&vreg_l1c>;
vdda-qref-supply = <&vreg_l4a>;
vdda-refgen-supply = <&vreg_l7a>;

status = "okay";
};
Expand All @@ -890,6 +892,8 @@
&pcie1_phy {
vdda-phy-supply = <&vreg_l5a>;
vdda-pll-supply = <&vreg_l1c>;
vdda-qref-supply = <&vreg_l4a>;
vdda-refgen-supply = <&vreg_l7a>;

status = "okay";
};
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -985,13 +985,17 @@
&pcie0_phy {
vdda-phy-supply = <&vreg_l5a>;
vdda-pll-supply = <&vreg_l1c>;
vdda-qref-supply = <&vreg_l4a>;
vdda-refgen-supply = <&vreg_l7a>;

status = "okay";
};

&pcie1_phy {
vdda-phy-supply = <&vreg_l5a>;
vdda-pll-supply = <&vreg_l1c>;
vdda-qref-supply = <&vreg_l4a>;
vdda-refgen-supply = <&vreg_l7a>;

status = "okay";
};
Expand Down
28 changes: 15 additions & 13 deletions arch/arm64/boot/dts/qcom/qcs8300-ride.dts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
vddpcie1p3-supply = <&vreg_conn_1p35>;
vddpcie1p9-supply = <&vreg_conn_1p95>;


bt-enable-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
wlan-enable-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;

Expand Down Expand Up @@ -615,7 +616,7 @@

&pcieport0 {
reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;

wifi@0 {
compatible = "pci17cb,1103";
Expand All @@ -639,8 +640,7 @@
vdda-phy-supply = <&vreg_l6a>;
vdda-pll-supply = <&vreg_l5a>;
vdda-qref-supply = <&vreg_l4a>;
vdda-qref-supply = <&vreg_l7a>;
vdda-refgen-supply = <&refgen>;
vdda-refgen-supply = <&vreg_l7a>;

status = "okay";
};
Expand All @@ -654,15 +654,14 @@

&pcieport1 {
reset-gpios = <&tlmm 23 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 21 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
};

&pcie1_phy {
vdda-phy-supply = <&vreg_l6a>;
vdda-pll-supply = <&vreg_l5a>;
vdda-qref-supply = <&vreg_l4a>;
vdda-qref-supply = <&vreg_l7a>;
vdda-refgen-supply = <&refgen>;
vdda-refgen-supply = <&vreg_l7a>;

status = "okay";
};
Expand Down Expand Up @@ -709,6 +708,8 @@

&serdes0 {
phy-supply = <&vreg_l5a>;
vdda-0p9-supply = <&vreg_l4a>;

status = "okay";
};

Expand All @@ -734,12 +735,6 @@
};

&tlmm {
bt_en_state: bt-en-state {
pins = "gpio55";
function = "gpio";
bias-pull-down;
};

pcie0_default_state: pcie0-default-state {
wake-pins {
pins = "gpio0";
Expand All @@ -763,6 +758,13 @@
};
};

bt_en_state: bt-en-state {
pins = "gpio55";
function = "gpio";
bias-pull-down;
output-low;
};

ethernet0_default: ethernet0-default-state {
ethernet0_mdc: ethernet0-mdc-pins {
pins = "gpio5";
Expand Down Expand Up @@ -844,7 +846,7 @@
vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
};
};

Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_10_0_SM8650_H

static const struct dpu_caps sm8650_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_0_sm8750.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define _DPU_12_0_SM8750_H

static const struct dpu_caps sm8750_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_12_2_GLYMUR_H

static const struct dpu_caps glymur_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_13_0_kaanapali.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_13_0_KAANAPALI_H

static const struct dpu_caps kaanapali_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_14_msm8937.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_1_14_MSM8937_H

static const struct dpu_caps msm8937_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
.max_mixer_blendstages = 0x4,
.max_linewidth = DEFAULT_DPU_LINE_WIDTH,
.pixel_ram_size = 40 * 1024,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_15_msm8917.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_1_14_MSM8917_H

static const struct dpu_caps msm8917_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
.max_mixer_blendstages = 0x4,
.max_linewidth = DEFAULT_DPU_LINE_WIDTH,
.pixel_ram_size = 16 * 1024,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_16_msm8953.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_1_16_MSM8953_H

static const struct dpu_caps msm8953_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
.max_mixer_blendstages = 0x4,
.max_linewidth = DEFAULT_DPU_LINE_WIDTH,
.pixel_ram_size = 40 * 1024,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define _DPU_1_7_MSM8996_H

static const struct dpu_caps msm8996_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x7,
.has_src_split = true,
.max_linewidth = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_3_0_MSM8998_H

static const struct dpu_caps msm8998_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x7,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_3_2_SDM660_H

static const struct dpu_caps sdm660_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x7,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_3_3_SDM630_H

static const struct dpu_caps sdm630_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
.max_mixer_blendstages = 0x7,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_4_0_SDM845_H

static const struct dpu_caps sdm845_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_5_0_SM8150_H

static const struct dpu_caps sm8150_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_5_1_SC8180X_H

static const struct dpu_caps sc8180x_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_2_sm7150.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_5_2_SM7150_H

static const struct dpu_caps sm7150_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_5_3_SM6150_H

static const struct dpu_caps sm6150_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x9,
.has_dim_layer = true,
.has_idle_pc = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_4_sm6125.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define _DPU_5_4_SM6125_H

static const struct dpu_caps sm6125_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x6,
.has_dim_layer = true,
.has_idle_pc = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_6_0_SM8250_H

static const struct dpu_caps sm8250_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_6_2_SC7180_H

static const struct dpu_caps sc7180_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x9,
.has_dim_layer = true,
.has_idle_pc = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm6115.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_6_3_SM6115_H

static const struct dpu_caps sm6115_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
.max_mixer_blendstages = 0x4,
.has_dim_layer = true,
.has_idle_pc = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define _DPU_6_4_SM6350_H

static const struct dpu_caps sm6350_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x7,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_6_5_QCM2290_H

static const struct dpu_caps qcm2290_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
.max_mixer_blendstages = 0x4,
.has_dim_layer = true,
.has_idle_pc = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_9_sm6375.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define _DPU_6_9_SM6375_H

static const struct dpu_caps sm6375_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_LINE_WIDTH,
.max_mixer_blendstages = 0x4,
.has_dim_layer = true,
.has_idle_pc = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_7_0_SM8350_H

static const struct dpu_caps sm8350_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_7_2_SC7280_H

static const struct dpu_caps sc7280_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0x7,
.has_dim_layer = true,
.has_idle_pc = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_8_0_SC8280XP_H

static const struct dpu_caps sc8280xp_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 11,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_8_1_SM8450_H

static const struct dpu_caps sm8450_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define _DPU_8_4_SA8775P_H

static const struct dpu_caps sa8775p_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define _DPU_9_0_SM8550_H

static const struct dpu_caps sm8550_dpu_caps = {
.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
.max_mixer_blendstages = 0xb,
.has_src_split = true,
.has_dim_layer = true,
Expand Down
Loading