TPS62901: What is max value of resistor connect to GND for the mode pin to consider as shorting to gnd

Part Number: TPS62901

Tool/software:

For the Gnd setting. Can I connect resistor value of 1k between mode and gnd to be consider shorting to GND. If not. what is the max resistor value have to be to for MODE pin to be shorted to GND?

The reason I am asking is I want to connect control signal to the mode pin to dynamically change the mode.