Messages in this thread | | | From | Axel Lin <> | Date | Sat, 26 Jun 2021 21:50:47 +0800 | Subject | regulator: rtmv20: Wrong mask for strobe-polarity-high/vsync-polarity-high? |
| |
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
| |