regulator: rtmv20: Wrong mask for strobe-polarity-high/vsync-polarity-high?
From: Axel Lin
Date: Sat Jun 26 2021 - 09:52:47 EST
Hi ChiYuan,
In drivers/regulator/rtmv20-regulator.c
#define RTMV20_STROBEPOL_MASK BIT(1)
#define RTMV20_VSYNPOL_MASK BIT(1)
{ "richtek,strobe-polarity-high", 1, 0, 1, 1,
RTMV20_REG_LDCTRL2,
RTMV20_STROBEPOL_MASK },
{ "richtek,vsync-polarity-high", 1, 0, 1, 1, RTMV20_REG_LDCTRL2,
RTMV20_VSYNPOL_MASK },
Both "richtek,strobe-polarity-high" and "richtek,vsync-polarity-high"
read the same register with the same mask.
Looks like one of the register or mask definitions is wrong.
I think this needs to be double checked.
Regards,
Axel