summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-05-07 21:07:49 -0700
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-05-13 13:07:59 +0000
commitdb6668d83a265a15ffd79dbc8432598808b34bb4 (patch)
tree7e0b6aaf31ee2799c6ae8acf074c917591c5de90 /include/video
parente0defc86423d1b5652826c9317c36dfb6af1cd48 (diff)
downloadop-kernel-dev-db6668d83a265a15ffd79dbc8432598808b34bb4.zip
op-kernel-dev-db6668d83a265a15ffd79dbc8432598808b34bb4.tar.gz
fbdev: sh_mobile_hdmi: 32bit register access support
Latest SuperH HDMI allows 32bit access only. But the data is 8bit. So, we can keep compatibility by switching 8/32 bit access. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/sh_mobile_hdmi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/video/sh_mobile_hdmi.h b/include/video/sh_mobile_hdmi.h
index 2699635a..ce8a540 100644
--- a/include/video/sh_mobile_hdmi.h
+++ b/include/video/sh_mobile_hdmi.h
@@ -18,10 +18,11 @@ struct clk;
/*
* flags format
*
- * 0x000000BA
+ * 0x00000CBA
*
* A: Audio source select
* B: Int output option
+ * C: Chip specific option
*/
/* Audio source select */
@@ -35,6 +36,8 @@ struct clk;
#define HDMI_OUTPUT_PUSH_PULL (1 << 4) /* System control : output mode */
#define HDMI_OUTPUT_POLARITY_HI (1 << 5) /* System control : output polarity */
+/* Chip specific option */
+#define HDMI_32BIT_REG (1 << 8)
struct sh_mobile_hdmi_info {
unsigned int flags;
OpenPOWER on IntegriCloud