Firefly Open Source Community

HDMI EDID

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 1/2/2015 22:17:25     
I noticed in the firefly-rk3288.dts that i2c5 is disabled although the schematics shows it is wired for support. Does this mean that its not possible to get EDID for HDMI? The reason for my question is because with my test 3.14 kernel I'm not seeing any valid EDID information returned from the hdmi driver and wanted to know if EDID should be possible for HDMI.
Reply

Use props Report

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 1/3/2015 05:43:45     

Well, I found out the answer myself?by turning on i2c5 it can detect EDID on my kernel.




Another question is VGA mapped to lcd0 and HDMI to lcd1 under Android ?
Reply

Use props Report

171

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
171
Posted at 1/3/2015 09:57:50     
Nice work! Thanks for posting this.
  1. --- a/kernel/arch/arm/boot/dts/firefly-rk3288.dts
  2. +++ b/kernel/arch/arm/boot/dts/firefly-rk3288.dts
  3. @@ -535,7 +535,7 @@
  4. };

  5. &i2c5 {
  6. -       status = "disabled";
  7. +       status = "okay";
  8. };
Copy the code



Reply

Use props Report

2380

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2380
Posted at 1/5/2015 09:43:03     

yeah, VGA mapped to lcd0 and HDMI to lcd1

find it in http://www.t-firefly.com/download/firef ... .rar 

Reply

Use props Report

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 1/8/2015 14:44:00     

Even with i2c5 disabled in the dtb, hdmi edid is still detected in Android, so I guessing that it is turned on somewhere in the kernel.

What puzzling me at the moment is what needs to be powered in order to get the hdmi interface working. I can see VDD10_LCD and VCC_18 need to be turned on (via?ACT8846). However with just these 2 ?turned on I'm not getting any interrupts generated from the HDMI controller when plugging in a hdmi source/cable (hot plugin) which leaves me to believe the interface is not fully powered. This is using my test kernel. I also noticed on the VGA side:




1. There is a?gpio (gpio0 GPIO_C1) line to power down the ?SDA7123 which I assume doesn't effect the hdmi interface.

2. The Android VGA drivers seems to set a number of outputs on the ACT8846 when probed which I assume aren't required for hdmi.




I would appreciate if the flyfire team could comment.




Reply

Use props Report

2380

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2380
Posted at 1/9/2015 17:53:07     

RK3288 HDMI is not use irq to check the plug and unplug.

it use?timer to scan , refer to this file:drivers/video/rockchip/hdmi/rk3288/rk3288_hdmi.c

276 static void rk3288_hdmi_irq_work_func(struct work_struct *work)
Reply

Use props Report

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 1/12/2015 16:50:09     

I'd be interested to know why the Android kernel is polling instead of using interrupts?for hpd detection, possibly because of?the interface VGA??

For those of you who may be interested, I've confirmed that the hdmi interface does work using an interrupt handler for hpd, furthermore?EDID detection also works via i2c5. What is important is that?VDD10_LCD and?VCC_18 need to be powered for hdmi to work.
Reply

Use props Report

This user has been deleted
Posted at 10/7/2016 21:55:38     
Tip: the author has been banned or deleted automatically shield
Reply

Use props Report

High mode
B Color Image Link Quote Code Smilies |Upload

This forum Credits Rules

Quick Reply Back to top Back to list