Message ID | 20240907-sdm660-wifi-v1-3-e316055142f8@linaro.org |
---|---|
State | New |
Headers | show |
Series | arm64: qcom: sda660-ifc6560: enable GPU and WiFi support | expand |
On 7.09.2024 8:48 PM, Dmitry Baryshkov wrote: > Enable Adreno GPU on the Inforce IFC6560 SBC. It requires the Zap shader > binary that was provided by the vendor. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- Reviewed-by: Konrad Dybcio <konradybcio@kernel.org> May I ask you to rename adreno_gpu to gpu for consistency with other DTs? Konrad
diff --git a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts index 60412281ab27..ac0197624c09 100644 --- a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts +++ b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts @@ -110,6 +110,14 @@ vreg_l10a_1p8: vreg-l10a-regulator { }; }; +&adreno_gpu { + status = "okay"; +}; + +&adreno_gpu_zap { + firmware-name = "qcom/sda660/a512_zap.mbn"; +}; + &adsp_pil { firmware-name = "qcom/sda660/adsp.mbn"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 40ad99d75738..92695375a63b 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1150,6 +1150,10 @@ opp-160000000 { opp-supported-hw = <0xff>; }; }; + + adreno_gpu_zap: zap-shader { + memory-region = <&zap_shader_region>; + }; }; kgsl_smmu: iommu@5040000 {
Enable Adreno GPU on the Inforce IFC6560 SBC. It requires the Zap shader binary that was provided by the vendor. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts | 8 ++++++++ arch/arm64/boot/dts/qcom/sdm630.dtsi | 4 ++++ 2 files changed, 12 insertions(+)