Skip to content

mb/protectli/vault_cml: Enable FP_RST button signal GPIO input#898

Merged
mkopec merged 1 commit into
dasharofrom
vp46xx_reset_pin
Jun 1, 2026
Merged

mb/protectli/vault_cml: Enable FP_RST button signal GPIO input#898
mkopec merged 1 commit into
dasharofrom
vp46xx_reset_pin

Conversation

@philipanda
Copy link
Copy Markdown
Contributor

@philipanda philipanda commented May 20, 2026

The button sits on a single function pin of the IT8786.
Enabled the chip's GPIO block in devicetree.cb, and
configured the GP80 pin as an input in bootblock.
Mapped to /dev/port at 0xa07 bit 2.

Upstream-Status: Inappropriate [Dasharo downstream]

@philipanda
Copy link
Copy Markdown
Contributor Author

Tested on openwrt: release, press, release, press

root@OpenWrt:~# dd if=/dev/port bs=1 count=1 skip=$((0xa07)) | hexdump
1+0 records in
1+0 records out
0000000 0003
0000001
root@OpenWrt:~# dd if=/dev/port bs=1 count=1 skip=$((0xa07)) | hexdump
1+0 records in
1+0 records out
0000000 0002
0000001
root@OpenWrt:~# dd if=/dev/port bs=1 count=1 skip=$((0xa07)) | hexdump
1+0 records in
1+0 records out
0000000 0003
0000001
root@OpenWrt:~# dd if=/dev/port bs=1 count=1 skip=$((0xa07)) | hexdump
1+0 records in
1+0 records out
0000000 0002
0000001

filipleple
filipleple previously approved these changes May 26, 2026
The button sits on a single function pin of the IT8786.
Enabled the chip's GPIO block in devicetree.cb, and
configured the GP80 pin as an input in bootblock.
Mapped to /dev/port at `0xa07` bit `2`.

Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
@mkopec mkopec force-pushed the vp46xx_reset_pin branch from 3ace515 to ce70484 Compare June 1, 2026 06:36
@mkopec mkopec merged commit ce70484 into dasharo Jun 1, 2026
38 of 39 checks passed
@mkopec mkopec deleted the vp46xx_reset_pin branch June 1, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants