Hi Vladimir, On 16/10/18 14:48, Laurent Pinchart wrote: > Hi Vladimir, > > On Saturday, 13 October 2018 16:47:48 EEST Vladimir Zapolskiy wrote: >> On 10/12/2018 03:01 PM, Laurent Pinchart wrote: >>> On Tuesday, 9 October 2018 00:12:01 EEST Vladimir Zapolskiy wrote: >>>> From: Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx> >>>> >>>> TI DS90Ux9xx de-/serializers have a capability to multiplex pin >>>> functions, in particular a pin may have selectable functions of GPIO, >>>> GPIO line transmitter, one of I2S lines, one of RGB24 video signal lines >>>> and so on. >>>> >>>> The change adds a description of DS90Ux9xx pin multiplexers and GPIO >>>> controllers. >>>> >>>> Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx> [...] >>>> +Available pins, groups and functions (reference to device datasheets): >>>> + >>>> +function: "gpio" ("gpio4" is on DS90Ux925 and DS90Ux926 only, >>>> + "gpio9" is on DS90Ux940 only) >>>> + - pins: "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", >>>> + "gpio7", "gpio8", "gpio9" >>>> + >>>> +function: "gpio-remote" >>>> + - pins: "gpio0", "gpio1", "gpio2", "gpio3" >>>> + >>>> +function: "pass" (DS90Ux940 specific only) >>>> + - pins: "gpio0", "gpio3" >>> >>> What do those functions mean ? >> >> "gpio" function should be already familiar to you. > > I assume this function is only available for the local device, not the remote > one ? > >> "gpio-remote" function is the pin function for a GPIO line bridging. >> >> "pass" function sets a pin to a status pin function for detecting >> display timing issues, namely DE or Vsync length value mismatch. > > All this is not clear at all from the proposed DT bindings, it should be > properly documented. It's not clear to me as well. The "gpio-remote" can mean two different things (at least in the camera serdes TI chips): - a GPIO input on the the *local* chip, replicated as an output on the *remote* chip - a GPIO input on the the *remote* chip, replicated as an output on the *local* chip How to you differentiate them in DT? The "pass" function is also not clear. A comprehensive example would help a lot. Bye, -- Luca