Skip to content

Commit

Permalink
driver: reset: sti: add keyscan for stih416
Browse files Browse the repository at this point in the history
Add keyscan reset on stih416 reset controller.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
  • Loading branch information
Gabriel FERNANDEZ authored and Maxime Coquelin committed May 21, 2014
1 parent ce73d9b commit d6c057f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/reset/sti/reset-stih416.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ static const struct syscfg_reset_channel_data stih416_softresets[] = {
[STIH416_COMPO_A_SOFTRESET] = STIH416_SRST_CPU(SYSCFG_7564, 4),
[STIH416_VP8_DEC_SOFTRESET] = STIH416_SRST_CPU(SYSCFG_7564, 10),
[STIH416_VTG_MAIN_SOFTRESET] = STIH416_SRST_CPU(SYSCFG_7564, 16),
[STIH416_KEYSCAN_SOFTRESET] = STIH416_SRST_LPM(LPM_SYSCFG_1, 8),
};

static struct syscfg_reset_controller_data stih416_powerdown_controller = {
Expand Down
1 change: 1 addition & 0 deletions include/dt-bindings/reset-controller/stih416-resets.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
#define STIH416_COMPO_A_SOFTRESET 25
#define STIH416_VP8_DEC_SOFTRESET 26
#define STIH416_VTG_MAIN_SOFTRESET 27
#define STIH416_KEYSCAN_SOFTRESET 28

#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH416 */

0 comments on commit d6c057f

Please sign in to comment.