• Laurent Pinchart's avatar
    media: i2c: max9286: Select HS as data enable signal · 40f75457
    Laurent Pinchart authored
    
    
    GMSL can transport three synchronization signals: VSync, HSync and Data
    Enable. The MAX9286 can select either HS or DE as a line valid signal.
    
    Not all serializers (and transmission formats) support the DE signal.
    The MAX9271, used by the RDACM20 and RDACM21 cameras, doesn't document
    DE support. Nonetheless, the max9286 driver selects the DE signal as
    line valid in register 0x0c (by not setting the DESEL bit). It's not
    clear why this works. As HS is a more common line valid qualifier, set
    the DESEL bit by default. This is needed to support the onsemi MARS
    cameras.
    
    If a camera requires usage of the DE signal in the future, this will
    need to be made configurable.
    Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Tested-by: Jacopo Mondi <jacopo@jmondi.org> # On Eagle V3M with RDACM20
    Reviewed-by: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
    40f75457
max9286.c 42.7 KB