On equilibrium states and dust charging in dusty plasmas