Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: hi6220: Add media subsystem reset dts

Add media subsystem reset dts support.

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Xinliang Liu and committed by
Philipp Zabel
339d00cb 50f44e89

+10
+2
arch/arm64/boot/dts/hisilicon/hi6220.dtsi
··· 5 5 */ 6 6 7 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 + #include <dt-bindings/reset/hisi,hi6220-resets.h> 8 9 #include <dt-bindings/clock/hi6220-clock.h> 9 10 #include <dt-bindings/pinctrl/hisi.h> 10 11 #include <dt-bindings/thermal/thermal.h> ··· 253 252 compatible = "hisilicon,hi6220-mediactrl", "syscon"; 254 253 reg = <0x0 0xf4410000 0x0 0x1000>; 255 254 #clock-cells = <1>; 255 + #reset-cells = <1>; 256 256 }; 257 257 258 258 pm_ctrl: pm_ctrl@f7032000 {
+8
include/dt-bindings/reset/hisi,hi6220-resets.h
··· 64 64 #define PERIPH_RSDIST9_CARM_SOCDBG 0x507 65 65 #define PERIPH_RSDIST9_CARM_ETM 0x508 66 66 67 + #define MEDIA_G3D 0 68 + #define MEDIA_CODEC_VPU 2 69 + #define MEDIA_CODEC_JPEG 3 70 + #define MEDIA_ISP 4 71 + #define MEDIA_ADE 5 72 + #define MEDIA_MMU 6 73 + #define MEDIA_XG2RAM1 7 74 + 67 75 #endif /*_DT_BINDINGS_RESET_CONTROLLER_HI6220*/