Hyperfocal Distance for Landscape
From wiki Hyperfocal Distance is the closest distance at which a lens can be focused while keeping objects at infinity acceptably sharp; that is, the focus distance with the maximum depth of field. So you can set the focus to hyperfocal distance (using appropriate aperture and focal length), then …