I don't prescribe to reducing a digital input to match a phono input using line attenuators and or switch volume controls. Think of it this way, the shortest path for the signal is the best, the more switching and filters your signal goes through, the more it's degraded. Systems overall output performance will also suffer doing this, in other words it will not play as loud reducing all the input gain.
However depending on your vinyl front end components you choose, gain volume can match or even be better than a digital input. This is where learning about cartridges and staging comes into play and experimenting with different components.
Marantz 2215
Power output: 15 watts per channel into 8Ω (stereo)
Frequency response: 15Hz to 50kHz
Total harmonic distortion: 0.9%
Damping factor: 45
Input sensitivity: 1.8mV (MM), 180mV (line)
Signal to noise ratio: 77dB (line)
Input sensitivity has a huge discrepancy in line & phono, and can be overcome with cartridge choices and better staging.