"libere et quiete tenendum omnibus liberis consuetudinibus cum quibus aliquis comes Anglie tenet castella sua"
Although this document has been considered by some as a licence to crenellate the current opinion rejects this as a licence to crenellate.
Supposedly a retrospective licence, although Round writes this a royal confirmation of William's possession of the castle. Not, in a meaningful sense, a licence to crenellate although has been called this by some.
Original source is
(In fact, the original source given is usually a transcription/translation of what are precious medieval documents not readily availably. It should be noted that these transcription/translations often date to the nineteenth or early twentieth centuries and that unwitting bias of transcribers may affect the translation. Care should also be taken to avoid giving modern meaning to the medieval use of certain stock words and terms.)
Significant later source are;
More details about licences to crenellate can be found here.
Please let me know if you see any errors, can add information or can otherwise help to improve this resource. Contact me