video, sm501: add edid and commandline support