Skip to content

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

Open
philipanda wants to merge 1 commit into
dasharofrom
vp46xx_reset_pin
Open

mb/protectli/vault_cml: Enable FP_RST button signal GPIO input#898
philipanda wants to merge 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]

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>
@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

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.

1 participant