Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: stm32: set default gpio line names using pin names
Add stm32_pctrl_get_desc_pin_from_gpio function to find a stm32 pin descriptor which is matching with a gpio. Most of the time pin number is equal to pin index in array. So the first part of the function is useful to speed up. And during gpio bank register, we set default gpio names with pin names. Signed-off-by: Valentin Caron <[email protected]> Change-Id: I4bf65ae77cc3f01d2e81c3944d3be69f00f70aff Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/271696 Reviewed-by: CITOOLS <[email protected]> Reviewed-by: CIBUILD <[email protected]> Reviewed-by: Antonio Maria BORNEO <[email protected]> Reviewed-by: Amelie DELAUNAY <[email protected]> Reviewed-by: Eric FOURMONT <[email protected]> Domain-Review: Amelie DELAUNAY <[email protected]>
- Loading branch information