• Paul Kocialkowski's avatar
    media: sunxi: Add support for the A83T MIPI CSI-2 controller · 576d196c
    Paul Kocialkowski authored
    The A83T supports MIPI CSI-2 with a composite controller, covering
    both the protocol logic and the D-PHY implementation. This controller
    seems to be found on the A83T only and probably was abandoned since.
    
    This implementation splits the protocol and D-PHY registers and
    uses the PHY framework internally. The D-PHY is not registered as a
    standalone PHY driver since it cannot be used with any other
    controller.
    
    There are a few notable points about the controller:
    - The initialisation sequence involes writing specific magic init
      values that do not seem to make any particular sense given the
      concerned register fields;
    - Interrupts appear to be hitting regardless of the interrupt mask
      registers, which can cause a serious flood when transmission errors
      occur.
    
    Only 8-bit and 10-bit Bayer formats are currently supported.
    While up to 4 internal channels to the CSI controller exist, only one
    is currently supported by this implementation.
    
    This wo...
    576d196c
sun8i_a83t_dphy.h 1.4 KB