what is the relationship of philosophy to religion or faith?
Well, philosophy and religion can simply be related to universal set(philosophy) and the subsets (religion) . The existence of philosophy is itself the existence of the religion. Religion is just a belief system and it created god that never existed.