diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-05-08 00:07:20 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-05-13 09:07:59 -0400 |
commit | e0defc86423d1b5652826c9317c36dfb6af1cd48 (patch) | |
tree | b6c6578f886b7326d6286232f459088000b1c762 /drivers/video | |
parent | 3f521abd6cf1320d65a49cf9fc327b82168b5ba0 (diff) |
fbdev: sh_mobile_hdmi: add interrupt output option
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/sh_mobile_hdmi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/sh_mobile_hdmi.c b/drivers/video/sh_mobile_hdmi.c index e201d6fea2d6..0bc39bc976a8 100644 --- a/drivers/video/sh_mobile_hdmi.c +++ b/drivers/video/sh_mobile_hdmi.c | |||
@@ -1186,6 +1186,13 @@ static int __init sh_hdmi_probe(struct platform_device *pdev) | |||
1186 | pm_runtime_enable(&pdev->dev); | 1186 | pm_runtime_enable(&pdev->dev); |
1187 | pm_runtime_get_sync(&pdev->dev); | 1187 | pm_runtime_get_sync(&pdev->dev); |
1188 | 1188 | ||
1189 | /* init interrupt polarity */ | ||
1190 | if (pdata->flags & HDMI_OUTPUT_PUSH_PULL) | ||
1191 | hdmi_bit_set(hdmi, 0x02, 0x02, HDMI_SYSTEM_CTRL); | ||
1192 | |||
1193 | if (pdata->flags & HDMI_OUTPUT_POLARITY_HI) | ||
1194 | hdmi_bit_set(hdmi, 0x01, 0x01, HDMI_SYSTEM_CTRL); | ||
1195 | |||
1189 | /* Product and revision IDs are 0 in sh-mobile version */ | 1196 | /* Product and revision IDs are 0 in sh-mobile version */ |
1190 | dev_info(&pdev->dev, "Detected HDMI controller 0x%x:0x%x\n", | 1197 | dev_info(&pdev->dev, "Detected HDMI controller 0x%x:0x%x\n", |
1191 | hdmi_read(hdmi, HDMI_PRODUCT_ID), hdmi_read(hdmi, HDMI_REVISION_ID)); | 1198 | hdmi_read(hdmi, HDMI_PRODUCT_ID), hdmi_read(hdmi, HDMI_REVISION_ID)); |