The invention provides hexahydropyrrolo[3,4-c]pyrrole derivatives and related compounds of formula (I) as autotaxin (ATX) inhibitors and as inhibitors of the lysophosphatidic acid (LPA) production for treating e.g. renal conditions, liver conditions, inflammatory conditions, conditions of the nervous system, conditions of the respiratory system, vascular and cardiovascular conditions, fibrotic diseases, cancer, ocular conditions, metabolic conditions, cholestatic and other forms of chronic pruritus and acute and chronic organ transplant rejection.L'invention concerne de nouveaux composés ayant la formule générale (I) où R1, Y, A, W, R2, m, n, p et q sont tels que décrits ici, des compositions comprenant les composés et des procédés d'utilisation des composés.