3 of 4 added 4 characters in body

Was Bishop Berkeley part of the Enlightenment and if so - how did it fit his adherence to religion?

In his The Analyst Berkeley argued, among other things, that mathematicians must not "take things upon trust, submit to Authority" and so expressed a view of the Enlightenment. This made me think: if Berkeley adhered to the Enlightenment how could he explain his and others' adherence to religion? Do not religious people necessarily submit to Authority (in the shape of God)? Did Berkeley explain how Enlightenment's themes such as not submitting to Authority might align with religion?