Stepwise adsorption at the same site: a thermodynamic treatment