-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
drivers: pinctrl: new state based API proposal #37572
Commits on Oct 25, 2021
-
drivers: pinctrl: initial skeleton
Initial skeleton for pinctrl drivers. This patch includes common infrastructure and API definitions for pinctrl drivers. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84d040c - Browse repository at this point
Copy the full SHA 84d040cView commit details -
drivers: pinctrl: allow to skip states
If a certain state has to be skipped, a macro named Z_PINCTRL_SKIP_<STATE> can be defined evaluating to 1. This can be useful, for example, to automatically ignore the sleep state if no device power management is enabled. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed1c7e5 - Browse repository at this point
Copy the full SHA ed1c7e5View commit details -
drivers: pinctrl: add support for dynamic pin control
Add support for dynamic pin control, that is, allow to change device pin configuration at runtime. Because no device de-initialization is available yet, this API has limited usage options, e.g. modify pin configuration at early boot stage (before device driver is initialized) Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5517b4b - Browse repository at this point
Copy the full SHA 5517b4bView commit details -
dts: bindings: pinctrl: add pincfg-node-group
When using group based representation on pinctrl nodes, the pin configuration properties end up being at the grand-children level, so the `pincfg-node.yaml` file can't be used. Having a common file that can be used for both cases would require tooling changes, so for now a copy that operated at the grand-children level has been created. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85101f6 - Browse repository at this point
Copy the full SHA 85101f6View commit details -
tests: drivers: pinctrl: add tests for API
Add a set of tests to check the API behavior. The API tests can only run on a platform that does not have an actual pinctrl driver, e.g. native_posix. The test itself implements a pinctrl mock driver and provides the required "pinctrl_soc.h" header with required types/macros. The implementation is used in the tests to verify the behavior of the API or Devicetree macros. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4047889 - Browse repository at this point
Copy the full SHA 4047889View commit details -
doc: doxygen: add Doxygen predefined macro
A pre-defined Doxygen macro allows for better control of what is included in the final documentation than maintaining a long list of CONFIG_* entries. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a479319 - Browse repository at this point
Copy the full SHA a479319View commit details -
doc: reference: add pinctrl API
Add pinctrl API documentation to the reference guides. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6970e0 - Browse repository at this point
Copy the full SHA b6970e0View commit details -
doc: enable figures enumeration
Enable figures enumeration. This option allows to use :numref: in order to reference figures, thus allowing more precise references other than "the figure below" or similar. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff13f41 - Browse repository at this point
Copy the full SHA ff13f41View commit details -
doc: guides: add pinctrl guide
Add a user guide that provides general concepts on pin control, details on Zephyr model, implementation guidelines, etc. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89ffb51 - Browse repository at this point
Copy the full SHA 89ffb51View commit details -
CODEOWNERS: add myself to pinctrl
Add myself as code owner for pinctrl drivers. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc30583 - Browse repository at this point
Copy the full SHA bc30583View commit details