summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Tull <alan.tull@freescale.com>2011-09-01 11:51:09 -0500
committerAlan Tull <alan.tull@freescale.com>2011-09-01 15:58:11 -0500
commit9f765e62f4e7c3db6e54361deed7c1125cf6dc6b (patch)
tree4ed5c53baacd543d7c792d29298b03f080386afc /include
parent943abe9eb69653a04f1566e8704be4aa6e6eb7cf (diff)
ENGR00155845-1 mfd for hdmi
This is a mfd for the internal HDMI Transmitter on i.Mx. It handles resources that are shared by the seperate video and audio drivers. Signed-off-by: Alan Tull <alan.tull@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/mxc-hdmi-core.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/mfd/mxc-hdmi-core.h b/include/linux/mfd/mxc-hdmi-core.h
new file mode 100644
index 000000000000..f5021c7acb44
--- /dev/null
+++ b/include/linux/mfd/mxc-hdmi-core.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+#ifndef __LINUX_MXC_HDMI_CORE_H_
+#define __LINUX_MXC_HDMI_CORE_H_
+
+u8 hdmi_readb(unsigned int reg);
+void hdmi_writeb(u8 value, unsigned int reg);
+void hdmi_mask_writeb(u8 data, unsigned int addr, u8 shift, u8 mask);
+unsigned int hdmi_read4(unsigned int reg);
+void hdmi_write4(unsigned int value, unsigned int reg);
+
+extern int mxc_hdmi_pixel_clk;
+extern int mxc_hdmi_ratio;
+
+#endif