Apple has confirmed to The Verge that an upcoming software update will let the speaker output Dolby Atmos audio as well as 5.1 and 7.1 channel audio from the Apple TV 4K.
The article says that the feature will work best when you have two HomePod speakers paired up, but also works with just one. Alas, this feature isn’t supported by the new US$99 HomePod mini.