Tottenham and Swansea City have agreed a deal to take defender Joe Rodon to north London on the final day of the domestic transfer window.