You forgot to mention MB and which controller it is on.
If AMD - ahci
If Intel - ahci, sata, raid makes no difference as long as The SSD is NOT a member drive of a Raid0, or 1, configuration and you have loaded the latest intel RST driver (ver 10.6 or later). The driver iaSTor is better than msahci and will pass the Trim command.
But unless you need sata as the controller, as the old saying goes "KISS" and set to AHCI
Do not recommend the MB Marvel based Sata III ports unless the only option.