On 16/04/14 19:11, Joachim Eastwood wrote: > On 16 April 2014 07:40, Tomi Valkeinen wrote: >> On 15/04/14 20:36, Joachim Eastwood wrote: >>> Hello, >>> >>> I am trying to get HDMI work with DT on my VAR-STK-OM44 (4460) board. >>> But during kernel boot I get the following message: >>> >>> [ 0.953796] ------------[ cut here ]------------ >>> [ 0.953826] WARNING: CPU: 0 PID: 1 at >>> drivers/video/omap2/dss/dss.c:483 dss_set_fck_rate+0x7c/0x8c() >>> [ 0.953826] clk rate mismatch: 153600000 != 170666666 >> >> I have a fix (attached) for this in fbdev-fixes, which I'll probably be >> sending to Linus today. I couldn't send it in the main fbdev pull >> request, as it depended on clk driver changes. And it's not fatal, most >> likely things work fine even with the warning. > > The warning disappeared after the patch. Thanks. > Feel free to add: Tested-By: Joachim Eastwood Thanks. It should be in -rc2. > This board (VAR-STK-OM44) has a TPD12S521 which has no controllable > settings so adding a driver for it would be pretty meaningless. I > think it's the same situation with Gumstix Parlor. That board also > just have a very simple HDMI transmitter which shouldn't require a > driver. > > But never the less I got HDMI working on my board adding the tpd21s015 > nodes and providing a dummy gpio for "CT CP HPD". This works but it's > a bit hacky. Remove the tpd21s015 nodes and try the attached patch. It adds HPD support to the hdmi connector. You also need something like this for the hdmi-connector node: pinctrl-names = "default"; pinctrl-0 = <&hdmi_conn_pins>; hpd-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */ And the respective pinctrl node: hdmi_conn_pins: pinmux_hdmi_conn_pins { pinctrl-single,pins = < 0x0fe (PIN_INPUT_PULLDOWN | MUX_MODE6) >; }; Note that I tested this yesterday on one board, but I couldn't get it working yet, so no promises =). But that may be an issue with the HPD pin on the board. > One other thing. > Does HDMI audio work with DT or is that a still TODO? > I am only getting probe deferral's from omap-hdmi-audio. Haven't look > to far into it. It's still on the works. If you volunteer for testing it (and Jyri needs someone to test), you can ask Jyri Sarha. Tomi