I’ve got to be honest - this giving salary to charity is utter nonsense.
Different debate about whether there should be a pay rise or not, but once it has been awarded, it should be completely up to the recipient what they do with it. If someone sent me a letter telling me I should give part of my salary to charity, I would tell them to bolt.