HomePods are wireless so they can’t use HDMI. You need a HDMI for 4K and HDR.
This is the cable I’m using now. If ever activates 120Hz on the 4K 2nd Gen then I’ll get
this cable. If I were shopping for a cable now I’d get the latter cable from the start.