Compounds of formula (I)
wherein R1, R2, R4, and W are defined in the description are TRPV 1 antagonists with CNS penetration. Compositions comprising such compounds and methods for treating conditions and disorders using such compounds and compositions are also disclosed.