sn5s330: Test polarity set function
sn5s330: Test polarity set function

Test sn5s330_set_polarity() function and verify the polarity bits are
set in the SN5S330_FUNC_SET4 register.

BRANCH=None
BUG=b:225245353
TEST=zmake -D configure --test test-drivers

Signed-off-by: Tristan Honscheid <1e17951ff5ffc8afe254954c03de64afef62fe52@google.com>
Change-Id: I97f890d6943b5cb83bdd2b404e3822d513022792
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3546938
Reviewed-by: Al Semjonovs <c3a2ecb550cad1e7d5a943ca6241377f7b43ffc4@google.com>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec