diff options
author | Robby Cai <robby.cai@nxp.com> | 2021-01-13 10:54:39 +0800 |
---|---|---|
committer | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2021-04-27 10:42:00 +0000 |
commit | f3c2dd6f1cb9183affb1f2017d0947e1f6d9ad00 (patch) | |
tree | 3418f27a33466948285ad961980e041e3f80a073 | |
parent | 8796436b8f66dae5cef04fdd79fd7fa85db7e95f (diff) |
MLK-23600-5 Fix the way VIV_VIDIOC_QUERY_EXTMEM used reserved memory
use memory-region to get reserved memory
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Guoniu.zhou <guoniu.zhou@nxp.com>
(cherry picked from commit 5a28380ef4f4afffdabcfacd062706487cc150f8)
(cherry picked from commit 9a75296315d40f8737bda9d5d097a0c6d402ff16)
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 3870ecbe4c98..fb2e0b83abe3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -206,6 +206,16 @@ no-map; reg = <0 0x92400000 0 0x2000000>; }; + + isp0_reserved: isp0@B0000000 { + no-map; + reg = <0 0xB0000000 0 0x10000000>; + }; + + isp1_reserved: isp1@B0000000 { + no-map; + reg = <0 0xB0000000 0 0x10000000>; + }; }; osc_32k: clock-osc-32k { @@ -1820,6 +1830,7 @@ power-domains = <&ispdwp_pd>; id = <0>; gpr = <&mediamix_blk_ctl>; + memory-region = <&isp0_reserved>; status = "disabled"; }; @@ -1837,6 +1848,7 @@ power-domains = <&ispdwp_pd>; id = <1>; gpr = <&mediamix_blk_ctl>; + memory-region = <&isp1_reserved>; status = "disabled"; }; |