docs: add Dragon Q8B GPIO output/input example mirroring Q6A - #2097
Merged
Milir-Radxa merged 1 commit intoSep 4, 2026
Merged
Conversation
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.
Why
Dragon Q8B's pin-gpio guide previously only listed tool installation and GPIO controller identification steps. This PR expands the GPIO Usage section to match the structure of the Dragon Q6A guide, with example pins and code adapted to the Dragon Q8B hardware:
The example follows the Q6A output/input loopback test flow (hardware prep, python-periphery, test code, test steps, expected results). The GPIO controller on Dragon Q8B was confirmed internally as
/dev/gpiochip4, and the line offsets correspond to the GPIO numbers listed in the Q8B pinout table.Changes
docs/dragon/q8b/hardware-use/pin-gpio.mdi18n/en/docusaurus-plugin-content-docs/current/dragon/q8b/hardware-use/pin-gpio.mdBoth Chinese and English versions updated in sync.