Re: [RFC 0/2] drm/dsi: DSI for devices with different control bus

From: Jani Nikula
Date: Wed Aug 19 2015 - 11:39:44 EST


On Wed, 19 Aug 2015, Thierry Reding <treding@xxxxxxxxxx> wrote:
> On Wed, Aug 19, 2015 at 04:52:24PM +0200, Lucas Stach wrote:
>> Am Mittwoch, den 19.08.2015, 16:34 +0200 schrieb Thierry Reding:
>> > I think that's a flawed interpretation of what's going on here. The
>> > device in fact has two interfaces: one is I2C, the other is DSI. In my
>> > opinion that's reason enough to represent it as two logical devices.
>> >
>> Does it really have 2 control interfaces that are used at the same time?
>> Or is the DSI connection a passive data bus if the register control
>> happens through i2c?
>
> The interfaces may not be used at the same time, and the DSI interface
> may even be crippled, but the device is still addressable from the DSI
> host controller, if for nothing else than for routing the video stream.

As a drive-by comment, the Toshiba TC358764XBG/65XBG chip can be
configured via both DSI and I2C. The I2C interface requires DSI clock on
the DSI interface to operate. You may not use the interfaces
simultaneously, but provided you protect against races in register
access, both interfaces can be operational at the same time.

Sorry I couldn't find a public spec of the chip to share.

HTH,
Jani.


--
Jani Nikula, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/