Skip to content
  • Sean Anderson's avatar
    spi: dw: Add SoC-specific compatible strings · 237e5880
    Sean Anderson authored and Jagan Teki's avatar Jagan Teki committed
    
    
    This adds SoC-specific compatible strings to all users of the designware
    spi device. This will allow for the correct driver to be selected for each
    device. Where it is publicly documented, a compatible string for the
    specific device version has also been added. Devices without
    publicly-documented device versions include MSCC SoCs, and Arc Socs. All
    compatible strings except those for SoCFPGAs and some of the versioned
    strings have been taken from Linux.
    
    Since SSI_MAX_XFER_SIZE is determined at runtime, this is not strictly
    necessary. However, it is a good cleanup and brings things closer to Linux.
    
    Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
    Tested-by Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
    Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
    237e5880