commit | c4dd1ba355aae2bc3d1213da6c66c53e3c31e028 | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Wed Aug 10 09:39:07 2016 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Wed Aug 10 09:23:33 2016 +0100 |
tree | 5d6175b5371a9010f5736c5c5ed84f95548f60cc | |
parent | 0f4be8cf637ea4637faba8a0e4bf2270287c6ba0 [diff] |
mfd: stmpe: Add reset support for all STMPE variant Reset was only implemented for STMPE1801 variant despite all variant have a SOFT_RESET bit. For STMPE2401/2403/801/1601/1801 SOFT_RESET bit is bit 7 of SYS_CTRL register. For STMPE610/811 (which have the same variant id) SOFT_RESET bit is bit 1 of SYS_CTRL register. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>