diff --git a/arch/arm64/boot/dts/vendor/bindings/pci/msm_ep_pcie.txt b/arch/arm64/boot/dts/vendor/bindings/pci/msm_ep_pcie.txt index 36fadcb1d89b..917cca312113 100644 --- a/arch/arm64/boot/dts/vendor/bindings/pci/msm_ep_pcie.txt +++ b/arch/arm64/boot/dts/vendor/bindings/pci/msm_ep_pcie.txt @@ -79,6 +79,8 @@ Optional Properties: reboot/panic. - qcom,pme-in-wake-from-d3cold: Issue PME message in device initiated wake from d3cold. + - qcom,pcie-bme-deassert-irq: Enable BME deassert irq as part of aggregated irq + if it is supported by the target. Example: diff --git a/arch/arm64/boot/dts/vendor/qcom/katmai-cpu-fp2.dtsi b/arch/arm64/boot/dts/vendor/qcom/katmai-cpu-fp2.dtsi index f87e6f72849b..62a5072a918b 100644 --- a/arch/arm64/boot/dts/vendor/qcom/katmai-cpu-fp2.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/katmai-cpu-fp2.dtsi @@ -39,6 +39,7 @@ dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0 4>; next-level-cache = <&L2_1>; + #cooling-cells = <2>; L2_1: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -56,6 +57,7 @@ dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0 4>; next-level-cache = <&L2_2>; + #cooling-cells = <2>; L2_2: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -73,6 +75,7 @@ dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0 4>; next-level-cache = <&L2_3>; + #cooling-cells = <2>; L2_3: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -108,6 +111,7 @@ dynamic-power-coefficient = <520>; qcom,freq-domain = <&cpufreq_hw 1 4>; next-level-cache = <&L2_5>; + #cooling-cells = <2>; L2_5: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -125,6 +129,7 @@ dynamic-power-coefficient = <520>; qcom,freq-domain = <&cpufreq_hw 1 4>; next-level-cache = <&L2_6>; + #cooling-cells = <2>; L2_6: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -142,6 +147,7 @@ dynamic-power-coefficient = <520>; qcom,freq-domain = <&cpufreq_hw 2 4>; next-level-cache = <&L2_7>; + #cooling-cells = <2>; L2_7: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; diff --git a/arch/arm64/boot/dts/vendor/qcom/sdxlemur-mtp-mbb-pcie-ep-ipq.dts b/arch/arm64/boot/dts/vendor/qcom/sdxlemur-mtp-mbb-pcie-ep-ipq.dts index 54b101cea42d..4951cba0188a 100644 --- a/arch/arm64/boot/dts/vendor/qcom/sdxlemur-mtp-mbb-pcie-ep-ipq.dts +++ b/arch/arm64/boot/dts/vendor/qcom/sdxlemur-mtp-mbb-pcie-ep-ipq.dts @@ -10,3 +10,8 @@ "qcom,sdxlemur", "qcom,mtp"; qcom,board-id = <0xB010008 0x20B>; }; + +&sdx_ext_ipc { + ipq807x_attach = <1>; + status = "ok"; +}; diff --git a/arch/arm64/boot/dts/vendor/qcom/sdxlemur.dtsi b/arch/arm64/boot/dts/vendor/qcom/sdxlemur.dtsi index 27cede7e5cc0..b6c47cd59dc6 100644 --- a/arch/arm64/boot/dts/vendor/qcom/sdxlemur.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/sdxlemur.dtsi @@ -990,6 +990,7 @@ qcom,aoss-rst-clr; qcom,aux-clk = <0x11>; qcom,avoid-reboot-in-d3hot; + qcom,pcie-bme-deassert-irq; qcom,phy-init = <0x1240 0x01 0x0 0x100c 0x02 0x0 diff --git a/arch/arm64/boot/dts/vendor/qcom/yupik-iot-hsp.dtsi b/arch/arm64/boot/dts/vendor/qcom/yupik-iot-hsp.dtsi index b4cf6a1a5007..9a78f463913e 100644 --- a/arch/arm64/boot/dts/vendor/qcom/yupik-iot-hsp.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/yupik-iot-hsp.dtsi @@ -4,6 +4,89 @@ &soc { }; +&sde_edp { + status = "disabled"; + pinctrl-names = "mdss_dp_hpd_active", "mdss_dp_hpd_tlmm", "mdss_dp_hpd_ctrl", + "mdss_dp_active", "mdss_dp_sleep", "mdss_edp_bl_pwm"; + pinctrl-0 = <&edp_hpd_ctrl>; + pinctrl-1 = <&edp_hpd_ctrl>; + pinctrl-2 = <&edp_hpd_ctrl>; + pinctrl-3 = <&edp_hpd_ctrl>; + pinctrl-4 = <&edp_hpd_ctrl>; + pinctrl-5 = <&pmic_edp_bl_pwm>; + qcom,dp-hpd-gpio = <&tlmm 60 0>; + qcom,edp-vcc-en-gpio = <&tlmm 80 0>; + //qcom,edp-backlight-pwr-gpio = <&tlmm 102 0>; + qcom,edp-pwm-en-gpio = <&pm8350c_gpios 8 0>; + qcom,edp-backlight-en-gpio = <&pm8350c_gpios 7 0>; + qcom,edp-default-panel = <&edp_panel_1080p_video>; + qcom,panel-notifier-support; +}; + +&mdss_mdp { + edp_panel_1080p_video: qcom,mdss_edp_panel_1080p_video { + status = "ok"; + }; +}; + +&tlmm { + edp_hpd_ctrl: hpd_ctrl@60 { + mux { + pins = "gpio60"; + function = "edp_hot"; + }; + + config { + pins = "gpio60"; + bias-disable; + input-enable; + drive-strength = <2>; + }; + }; +}; + +&pm8350c_gpios { + pmic_edp_bl_en: pmic-edp-bl-en-state { + pins = "gpio7"; + function = "normal"; + bias-disable; + qcom,drive-strength = ; + /* Force backlight to be disabled to match state at boot. */ + output-low; + }; + + pmic_edp_bl_pwm: pmic-edp-bl-pwm-state { + pins = "gpio8"; + function = "func1"; + bias-disable; + qcom,drive-strength = ; + /* Force backlight to be disabled to match state at boot. */ + output-low; + }; +}; + +&pm8350c_pwm_2 { + status = "ok"; +}; + +&soc { + edp_panel_bl_reg: edp_panel_bl_reg { + compatible = "qcom,stub-regulator"; + regulator-name = "edp_panel_bl_reg"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + pm8350c_pwm_backlight: backlight { + compatible = "pwm-backlight"; + power-supply = <&edp_panel_bl_reg>; + enable-gpios = <&pm8350c_gpios 7 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_edp_bl_en>; + pwms = <&pm8350c_pwm_2 0 65535 0>; + }; +}; + &pcie0 { status = "ok"; }; diff --git a/arch/arm64/boot/dts/vendor/qcom/yupik-iot.dtsi b/arch/arm64/boot/dts/vendor/qcom/yupik-iot.dtsi index f069e51e512b..6f817f25531f 100644 --- a/arch/arm64/boot/dts/vendor/qcom/yupik-iot.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/yupik-iot.dtsi @@ -28,3 +28,15 @@ &gcc_usb30_sec_gdsc { status = "ok"; }; + +&usb1 { + qcom,default-mode-none; + status = "ok"; + dwc3@8c00000 { + snps,usb2-gadget-lpm-disable; + }; +}; + +&usb2_phy1 { + status = "ok"; +}; diff --git a/arch/arm64/boot/dts/vendor/qcom/yupik.dtsi b/arch/arm64/boot/dts/vendor/qcom/yupik.dtsi index 0c9f95d5f7e4..e9e5c07a5a38 100644 --- a/arch/arm64/boot/dts/vendor/qcom/yupik.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/yupik.dtsi @@ -101,6 +101,7 @@ dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0 4>; next-level-cache = <&L2_1>; + #cooling-cells = <2>; L2_1: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -118,6 +119,7 @@ dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0 4>; next-level-cache = <&L2_2>; + #cooling-cells = <2>; L2_2: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -135,6 +137,7 @@ dynamic-power-coefficient = <100>; qcom,freq-domain = <&cpufreq_hw 0 4>; next-level-cache = <&L2_3>; + #cooling-cells = <2>; L2_3: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -170,6 +173,7 @@ dynamic-power-coefficient = <520>; qcom,freq-domain = <&cpufreq_hw 1 4>; next-level-cache = <&L2_5>; + #cooling-cells = <2>; L2_5: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -187,6 +191,7 @@ dynamic-power-coefficient = <520>; qcom,freq-domain = <&cpufreq_hw 1 4>; next-level-cache = <&L2_6>; + #cooling-cells = <2>; L2_6: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; @@ -5274,6 +5279,7 @@ qcom,pas-id = <0xf>; qcom,firmware-name = "yupik_ipa_fws"; qcom,pil-force-shutdown; + qcom,proxy-timeout-ms = <1000>; memory-region = <&pil_ipa_gsi_mem>; };