Re: [RFC v01] Driver for Toshiba TC358743 CSI-2 to HDMI bridge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mats,

Am Dienstag, den 17.02.2015, 16:53 +0100 schrieb Mats Randgaard
(matrandg):
> > I think this calculation should include the blanking intervals.
> 
> As far as I understand is only the active video from the HDMI interface 
> transferred on the CSI interface, so I think this calculation is 
> correct. We transfer 1080p60 video on four lanes with 823.5 Mbps/lane, 
> which would not have been possible if the blanking should have been 
> transferred as well ((2200 * 1125 * 60 * 24) bps / 823.5 Mbps/lane  = 
> 4.33 lanes.

You are right, I confused the "reference" and "minimum" suitable CSI
lane speed fields in REF_02. There ought to be _some_ overhead though?
(1920 * 1080 * 60 * 24) bps = 746.496 Mbps, but REF_02 suggests a
minimum of 820.92 Mbps per lane (reference is 891 Mbps as expected).

[...]
> >> +	i2c_wr32(sd, HSTXVREGEN,
> >> +			((lanes > 0) ? MASK_CLM_HSTXVREGEN : 0x0) |
> >> +			((lanes > 0) ? MASK_D0M_HSTXVREGEN : 0x0) |
> >> +			((lanes > 1) ? MASK_D1M_HSTXVREGEN : 0x0) |
> >> +			((lanes > 2) ? MASK_D2M_HSTXVREGEN : 0x0) |
> >> +			((lanes > 3) ? MASK_D3M_HSTXVREGEN : 0x0));
> >> +
> >> +	i2c_wr32(sd, TXOPTIONCNTRL, MASK_CONTCLKMODE);
> > Since anything below can't be undone without pulling CTXRST, I propose
> > to split tc358743_set_csi into tc358743_set_csi (above) and
> > tc358743_start_csi (below).
> >
> > To make this driver work with the Synopsys DesignWare MIPI CSI-2 Host
> > Controller, there needs to be a time when the lanes are in stop state
> > first, so the host can synchronize. I'd then like to call start_csi in
> > s_stream only.
> 
> With help from Toshiba we have now implemented start and stop of the CSI 
> interface without pulling CTXRST. You can see our solution in the next 
> RFC, and I would appreciate if you could test if that works fine for you 
> as well!

I'm looking forward to it.

regards
Philipp

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux