Skip to content

--get-gpio: Return all GPIOs if no name was passed #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025
Merged

Conversation

JohnAZoidberg
Copy link
Member

Another benefit is that you can find out the names of all GPIOs.

> sudo framework_tool --get-gpio
ec_espi_rst_l                    0
runpwrok                         1
otg_en                           0
ec_i2c0_clk0                     0
ec_i2c0_sda0                     0
ec_i2c1_clk0                     0
ec_i2c1_sda0                     0
ec_i2c2_clk0                     0
[...]

Another benefit is that you can find out the names of all GPIOs.

```
> sudo framework_tool --get-gpio
ec_espi_rst_l                    0
runpwrok                         1
otg_en                           0
ec_i2c0_clk0                     0
ec_i2c0_sda0                     0
ec_i2c1_clk0                     0
ec_i2c1_sda0                     0
ec_i2c2_clk0                     0
[...]
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg
Copy link
Member Author

Tested on Framework 13 AMD AI 300 and Framework 12.

@JohnAZoidberg JohnAZoidberg reopened this May 13, 2025
@JohnAZoidberg JohnAZoidberg merged commit c2e8bed into main May 13, 2025
6 checks passed
@JohnAZoidberg JohnAZoidberg deleted the gpioget-all branch May 13, 2025 01:41
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