summaryrefslogtreecommitdiff
path: root/sys/src/9/imx8/fns.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-06-11 21:12:04 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-06-11 21:12:04 +0000
commit931ae0cfebeb46892406efc7468636e59f8110a9 (patch)
treeae94bfb7f75e49c986ae6968291d919623e17e90 /sys/src/9/imx8/fns.h
parent276f2039a9bceb4bc23b0fa1ce3169057aac405e (diff)
imx8: mainscreen turn on!
supports the lcd panel and adds alot of infrastructure like for the ccm clock module and the i2c controllers.
Diffstat (limited to 'sys/src/9/imx8/fns.h')
-rw-r--r--sys/src/9/imx8/fns.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/src/9/imx8/fns.h b/sys/src/9/imx8/fns.h
index 146216073..31baa25c9 100644
--- a/sys/src/9/imx8/fns.h
+++ b/sys/src/9/imx8/fns.h
@@ -80,6 +80,7 @@ extern void meminit(void);
extern void putasid(Proc*);
extern void* ucalloc(usize);
+extern void* fbmemalloc(usize);
/* clock */
extern void clockinit(void);
@@ -138,3 +139,11 @@ extern void writeconf(void);
extern int isaconfig(char*, int, ISAConf*);
extern void links(void);
+
+/* ccm */
+extern void setclkgate(char *name, int on);
+extern void setclkrate(char *name, char *source, int freq);
+extern int getclkrate(char *name);
+
+/* lcd */
+extern void lcdinit(void);