mb/protectli/vault_ehl: Enable RST1 button signal GPIO input#894
Open
philipanda wants to merge 1 commit into
Open
mb/protectli/vault_ehl: Enable RST1 button signal GPIO input#894philipanda wants to merge 1 commit into
philipanda wants to merge 1 commit into
Conversation
The button sits on a multi-function pin of the IT8613E. Enabled the chip's GPIO block in devicetree.cb, muxed the pin to GP12 (away from PCIRST1#), and turned on its internal pull-up to make the signal go back to 1 after the button is released. Upstream-Status: Inappropriate [Dasharo downstream] Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
Contributor
Author
|
Test: Release, Press, Release, Press: root@DasharoToolsSuite:~# dd if=/dev/port bs=1 skip=$((0xa00)) count=1 2>/dev/null | hexdump
0000000 0004
0000001
root@DasharoToolsSuite:~# dd if=/dev/port bs=1 skip=$((0xa00)) count=1 2>/dev/null | hexdump
0000000 0000
0000001
root@DasharoToolsSuite:~# dd if=/dev/port bs=1 skip=$((0xa00)) count=1 2>/dev/null | hexdump
0000000 0004
0000001
root@DasharoToolsSuite:~# dd if=/dev/port bs=1 skip=$((0xa00)) count=1 2>/dev/null | hexdump
0000000 0000
0000001
root@DasharoToolsSuite:~# Also works on zarhus-openwrt with https://github.com/zarhus/protectli-openwrt-factory-reset-service. The service requires a change to disable the path where it returns 1 for VP2420 as unsupported. Holding down the |
Contributor
Author
|
@mkopec restored |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The button sits on a multi-function pin of the IT8613E. Enabled the chip's GPIO block in devicetree.cb, muxed the pin to GP12 (away from PCIRST1#), and turned on its internal pull-up to make the signal go back to 1 after the button is released.
Upstream-Status: Inappropriate [Dasharo downstream]