The data lines are good up to the voltage level of the Vcc line.
So if power from 3.3V, your data out lines will be ~3.3V and any incoming lines should be <=3.3V.
If you power from 5V, same thing: outputsp will be ~5V, and any coming lines should be <=5V.