diff options
author | Kuninori Morimoto | 2012-05-08 06:07:49 +0200 |
---|---|---|
committer | Florian Tobias Schandinat | 2012-05-13 15:07:59 +0200 |
commit | db6668d83a265a15ffd79dbc8432598808b34bb4 (patch) | |
tree | 7e0b6aaf31ee2799c6ae8acf074c917591c5de90 /include | |
parent | fbdev: sh_mobile_hdmi: add interrupt output option (diff) | |
download | kernel-qcow2-linux-db6668d83a265a15ffd79dbc8432598808b34bb4.tar.gz kernel-qcow2-linux-db6668d83a265a15ffd79dbc8432598808b34bb4.tar.xz kernel-qcow2-linux-db6668d83a265a15ffd79dbc8432598808b34bb4.zip |
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')
-rw-r--r-- | include/video/sh_mobile_hdmi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/video/sh_mobile_hdmi.h b/include/video/sh_mobile_hdmi.h index 2699635a99ef..ce8a540996c7 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; |