Skip to content

Commit 4b6793b

Browse files
Vishnu Reddygouravk-qualcomm
authored andcommitted
PENDING: arm64: dts: qcom: lemans: switch iris iommus to iommu-map
Switch the iris video codec node in sa8775p (lemans) from the legacy 'iommus' property to 'iommu-map', using IRIS_NON_PIXEL_VCODEC and IRIS_PIXEL function IDs to identify the non-pixel and pixel context bank SMMU stream mappings respectively. Signed-off-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com> Signed-off-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com> Signed-off-by: Gourav Kumar <gouravk@qti.qualcomm.com>
1 parent 3a1b8a3 commit 4b6793b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

arch/arm64/boot/dts/qcom/lemans.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <dt-bindings/interconnect/qcom,osm-l3.h>
1818
#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
1919
#include <dt-bindings/mailbox/qcom-ipcc.h>
20+
#include <dt-bindings/media/qcom,sm8550-iris.h>
2021
#include <dt-bindings/firmware/qcom,scm.h>
2122
#include <dt-bindings/power/qcom-rpmpd.h>
2223
#include <dt-bindings/soc/qcom,gpr.h>
@@ -4565,8 +4566,8 @@
45654566
resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>;
45664567
reset-names = "bus";
45674568

4568-
iommus = <&apps_smmu 0x0880 0x0400>,
4569-
<&apps_smmu 0x0887 0x0400>;
4569+
iommu-map = <IRIS_NON_PIXEL_VCODEC &apps_smmu 0x0880 0x0400 0x1>,
4570+
<IRIS_PIXEL &apps_smmu 0x0887 0x0400 0x1>;
45704571
dma-coherent;
45714572

45724573
status = "disabled";

0 commit comments

Comments
 (0)