Skip to content

Commit

Permalink
ODROID-C2: Add gpio wakeup function
Browse files Browse the repository at this point in the history
- using gpio number from kernel
- bit [23:16] of AO_DEBUG_REG0
- chattering time for gpio power key detection : 300ms

Change-Id: I8834ccccf44cf0cde2d16f603612f90e0f6f8897
  • Loading branch information
Joy Cho committed Feb 22, 2017
1 parent 3eb97d4 commit d2ac6cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file modified fip/gxb/bl301.bin
Binary file not shown.
3 changes: 3 additions & 0 deletions include/configs/odroidc2.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,7 @@
/* HPD Disable : Always HDMI Connect */
#define ODROID_DISABLE_HPD 1

/* Wakeup from GPIO key */
#define CONFIG_GPIO_WAKEUP 1

#endif

0 comments on commit d2ac6cc

Please sign in to comment.