Phonons in mixed valence systems