diff options
author | Lei YU <mine260309@gmail.com> | 2017-04-06 15:08:50 +0800 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2017-04-06 15:08:50 +0800 |
commit | b72169d0e60abb116aeb5bfe226b3c3f36758823 (patch) | |
tree | 51e21e45402bf47a1bcaa9c171bb12b89a73170a /configs | |
parent | c99bd0c47ac238bfd3ca46ab9a2effc504e12b7a (diff) | |
download | talos-skeleton-b72169d0e60abb116aeb5bfe226b3c3f36758823.tar.gz talos-skeleton-b72169d0e60abb116aeb5bfe226b3c3f36758823.zip |
Fix Romulus power and reset button
The POWER_BUTTON and RESET_BUTTON direction needs to be set to `both`,
otherwise there is no interrupt generated and thus the buttons do not
work.
Change the direction to `both` fix the issue.
Fixes openbmc/openbmc#1437
Change-Id: If586dd2e44aa2a8790f045d1e37f4d8f3ea210c8
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/Romulus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/Romulus.py b/configs/Romulus.py index bb124ce..a1d89d4 100644 --- a/configs/Romulus.py +++ b/configs/Romulus.py @@ -280,11 +280,11 @@ GPIO_CONFIG['IDBTN'] = \ # PM_FP_PWRBTN_IN_L GPIO_CONFIG['POWER_BUTTON'] = \ - {'gpio_pin': 'I3', 'direction': 'in'} + {'gpio_pin': 'I3', 'direction': 'both'} # PM_NMIBTN_IN_L GPIO_CONFIG['RESET_BUTTON'] = \ - {'gpio_pin': 'J1', 'direction': 'in'} + {'gpio_pin': 'J1', 'direction': 'both'} HWMON_CONFIG = { '4-0050' : { |