arm64: dts: hi6220: Add media subsystem reset dts
authorXinliang Liu <xinliang.liu@linaro.org>
Mon, 20 Jun 2016 03:50:05 +0000 (11:50 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 29 Jun 2016 21:39:08 +0000 (23:39 +0200)
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>
arch/arm64/boot/dts/hisilicon/hi6220.dtsi
include/dt-bindings/reset/hisi,hi6220-resets.h

index 189d21541f9c8082eea7826ee8df624bc17d8d49..c19b82799a34c0af5c5446e6acd8a8a1fb0d0f1e 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/reset/hisi,hi6220-resets.h>
 #include <dt-bindings/clock/hi6220-clock.h>
 #include <dt-bindings/pinctrl/hisi.h>
 #include <dt-bindings/thermal/thermal.h>
                        compatible = "hisilicon,hi6220-mediactrl", "syscon";
                        reg = <0x0 0xf4410000 0x0 0x1000>;
                        #clock-cells = <1>;
+                       #reset-cells = <1>;
                };
 
                pm_ctrl: pm_ctrl@f7032000 {
index ca08a7e5248e7bc3ab6e32821d93b5d29babd136..322ec5335b65cf880aa70456a43581b1a89e1368 100644 (file)
 #define PERIPH_RSDIST9_CARM_SOCDBG      0x507
 #define PERIPH_RSDIST9_CARM_ETM         0x508
 
+#define MEDIA_G3D                       0
+#define MEDIA_CODEC_VPU                 2
+#define MEDIA_CODEC_JPEG                3
+#define MEDIA_ISP                       4
+#define MEDIA_ADE                       5
+#define MEDIA_MMU                       6
+#define MEDIA_XG2RAM1                   7
+
 #endif /*_DT_BINDINGS_RESET_CONTROLLER_HI6220*/