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
This commit add new enum PadConfig used as representation
of association between pad and internal chip I/O.
This new enum implement GPIO::Configure interface
in order to provide necessary functionality for GPIO
such as floating state management and low power state.
Signed-off-by: Michał Mazurek <mazurekm@google.com>
lint of pinmux
pinmux pad fixes
Signed-off-by: Michał Mazurek <mazurekm@google.com>
* Replacing old pinmux reference with Pad and PadConfig.
* Improved handling of GPIO LowPower.
* Improved handling of GPIO floating state.
Signed-off-by: Michał Mazurek <mazurekm@google.com>
Following commit introduce new trait that allow to configure
Pinmux during board initialization. The new interface allows to
configure Pinmux for specific board layout. When new board that
uses Ealgrey chip is added user should also implement this trait
to provide support for board specific I/O layout.
* Add new trait EarlGreyPinmuxConfig for passing baord I/O layout to chip drivers
* Add CW310 pinmux layout configuration, compatible with OpenTitan Hyperdebug
* Initialize GPIO port based on currently board I/O layout.
Signed-off-by: Michał Mazurek <mazurekm@google.com>
WG-OpenTitanIn the purview of the OpenTitan working group.
4 participants
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.
Pull Request Overview
padctl
withPadConfig
in lowrisc GPIODepend on changes form: (Merged) #3707
Testing Strategy
Manual test using
CW310
as DUT andHyperdebug
withopentitan
toolas test bench for generating stimulus.
TODO
Documentation Updated
N/A
Formatting
make prepush
.