Commit 29589248 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

arm64: dts: qcom: msm8916: Disable venus by default

Venus needs firmware that is usually signed with a device-specific key.
There are also devices that might not need it (especially during
bring-up), so let's follow more recent SoCs and disable it by default.

Enable it explicitly for all current devices except msm8916-mtp. That
one has just UART enabled currently so it cannot really benefit from
Venus.
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230911-msm8916-rmem-v1-1-b7089ec3e3a1@gerhold.netSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent a3d5fb3b
...@@ -362,6 +362,10 @@ &usb_hs_phy { ...@@ -362,6 +362,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
firmware-name = "qcom/apq8016/wcnss.mbn"; firmware-name = "qcom/apq8016/wcnss.mbn";
......
...@@ -155,6 +155,10 @@ &usb_hs_phy { ...@@ -155,6 +155,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -192,6 +192,10 @@ &usb_hs_phy { ...@@ -192,6 +192,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -160,6 +160,10 @@ &usb_hs_phy { ...@@ -160,6 +160,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -150,6 +150,10 @@ &usb_hs_phy { ...@@ -150,6 +150,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -328,6 +328,10 @@ &usb_hs_phy { ...@@ -328,6 +328,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -259,6 +259,10 @@ &usb_hs_phy { ...@@ -259,6 +259,10 @@ &usb_hs_phy {
extcon = <&pm8916_usbin>; extcon = <&pm8916_usbin>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -146,6 +146,10 @@ &usb_hs_phy { ...@@ -146,6 +146,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -284,6 +284,10 @@ &usb_hs_phy { ...@@ -284,6 +284,10 @@ &usb_hs_phy {
extcon = <&muic>; extcon = <&muic>;
}; };
&venus {
status = "okay";
};
&tlmm { &tlmm {
accel_int_default: accel-int-default-state { accel_int_default: accel-int-default-state {
pins = "gpio115"; pins = "gpio115";
......
...@@ -158,6 +158,10 @@ &usb_hs_phy { ...@@ -158,6 +158,10 @@ &usb_hs_phy {
extcon = <&pm8916_usbin>; extcon = <&pm8916_usbin>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -163,6 +163,10 @@ &usb_hs_phy { ...@@ -163,6 +163,10 @@ &usb_hs_phy {
extcon = <&muic>; extcon = <&muic>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -359,6 +359,10 @@ &usb_hs_phy { ...@@ -359,6 +359,10 @@ &usb_hs_phy {
extcon = <&muic>; extcon = <&muic>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -115,6 +115,10 @@ &usb_hs_phy { ...@@ -115,6 +115,10 @@ &usb_hs_phy {
extcon = <&pm8916_usbin>; extcon = <&pm8916_usbin>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -189,6 +189,10 @@ &usb_hs_phy { ...@@ -189,6 +189,10 @@ &usb_hs_phy {
extcon = <&usb_id>; extcon = <&usb_id>;
}; };
&venus {
status = "okay";
};
&wcnss { &wcnss {
status = "okay"; status = "okay";
}; };
......
...@@ -1797,7 +1797,7 @@ venus: video-codec@1d00000 { ...@@ -1797,7 +1797,7 @@ venus: video-codec@1d00000 {
clock-names = "core", "iface", "bus"; clock-names = "core", "iface", "bus";
iommus = <&apps_iommu 5>; iommus = <&apps_iommu 5>;
memory-region = <&venus_mem>; memory-region = <&venus_mem>;
status = "okay"; status = "disabled";
video-decoder { video-decoder {
compatible = "venus-decoder"; compatible = "venus-decoder";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment