Page MenuHomeFreeBSD

D13205.id.diff
No OneTemporary

D13205.id.diff

Index: head/sys/arm/allwinner/clkng/aw_ccung.c
===================================================================
--- head/sys/arm/allwinner/clkng/aw_ccung.c
+++ head/sys/arm/allwinner/clkng/aw_ccung.c
@@ -76,6 +76,10 @@
#include <arm/allwinner/clkng/ccu_sun8i_r.h>
#endif
+#if defined(SOC_ALLWINNER_A83T)
+#include <arm/allwinner/clkng/ccu_a83t.h>
+#endif
+
#include "clkdev_if.h"
#include "hwreset_if.h"
@@ -102,6 +106,10 @@
#define A13_CCU 6
#endif
+#if defined(SOC_ALLWINNER_A83T)
+#define A83T_CCU 7
+#endif
+
static struct ofw_compat_data compat_data[] = {
#if defined(SOC_ALLWINNER_A31)
{ "allwinner,sun5i-a13-ccu", A13_CCU},
@@ -117,6 +125,9 @@
{ "allwinner,sun50i-a64-ccu", A64_CCU },
{ "allwinner,sun50i-a64-r-ccu", A64_R_CCU },
#endif
+#if defined(SOC_ALLWINNER_A83T)
+ { "allwinner,sun8i-a83t-ccu", A83T_CCU },
+#endif
{NULL, 0 }
};
@@ -357,6 +368,11 @@
break;
case A64_R_CCU:
ccu_sun8i_r_register_clocks(sc);
+ break;
+#endif
+#if defined(SOC_ALLWINNER_A83T)
+ case A83T_CCU:
+ ccu_a83t_register_clocks(sc);
break;
#endif
}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 27, 11:06 PM (3 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27315385
Default Alt Text
D13205.id.diff (1 KB)

Event Timeline