Search for CP violation in D+ -> phi pi(+) and D-s(+) -> K-S(0)pi(+) decays