In the case of the Switch AC adapter, it will be compatible with the Switch 2. However, it will only work with that if you directly plug it into the system. It won’t work if you plug it into the dock ...