Skip to content

Commit

Permalink
driver: reset: sti: add keyscan for stih415
Browse files Browse the repository at this point in the history
Add keyscan reset on stih415 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 2e86cd2 commit ce73d9b
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-stih415.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ static const struct syscfg_reset_channel_data stih415_softresets[] = {
[STIH415_USB0_SOFTRESET] = STIH415_SRST_REAR(SYSCFG_376, 9),
[STIH415_USB1_SOFTRESET] = STIH415_SRST_REAR(SYSCFG_376, 10),
[STIH415_USB2_SOFTRESET] = STIH415_SRST_REAR(SYSCFG_376, 11),
[STIH415_KEYSCAN_SOFTRESET] = STIH415_SRST_LPM(LPM_SYSCFG_1, 8),
};

static struct syscfg_reset_controller_data stih415_powerdown_controller = {
Expand Down
1 change: 1 addition & 0 deletions include/dt-bindings/reset-controller/stih415-resets.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
#define STIH415_USB0_SOFTRESET 3
#define STIH415_USB1_SOFTRESET 4
#define STIH415_USB2_SOFTRESET 5
#define STIH415_KEYSCAN_SOFTRESET 6

#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH415 */

0 comments on commit ce73d9b

Please sign in to comment.