Skip to content

STM32: SDMCC Enable pin configuration using device tree #29477

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 4 commits into from
Oct 29, 2020

Conversation

erwango
Copy link
Member

@erwango erwango commented Oct 23, 2020

Add device tree SDMMC signals
Add dt based pinctrl support on STM32 SDMMC driver
Convert users

Add required code to support pinctrl setup base don device tree.

Signed-off-by: Erwan Gouriou <[email protected]>
Update binding to support pinctrl-0 property.

Signed-off-by: Erwan Gouriou <[email protected]>
struct {
const struct soc_gpio_pinctrl *list;
size_t len;
} pinctrl;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea of the struct for pinctrl, but would make it common and then provide an initializer macro so that all drivers use the same.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure could be done once all are in.

Update boards supporting SDMMC to use dts based pinctrl config.

Signed-off-by: Erwan Gouriou <[email protected]>
Copy link
Collaborator

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Point to PR 75 of modules/hal/stm32/hal_stm32
stm32cube: update stm32f0 to version V1.11.1
stm32cube: update stm32f1 to version V1.8.2
stm32cube: update stm32f2 to version V1.9.1
stm32cube: update stm32f3 to version V1.11.1
stm32cube: update stm32f4 to version V1.25.1
stm32cube: update stm32f7 to version V1.16.0
stm32cube: update stm32g4 to version V1.3.0
stm32cube: update stm32h7 to version V1.8.0
stm32cube: update stm32l0 to version V1.11.3
stm32cube: update stm32l4 to version V1.16.0
stm32cube: update stm32l5 to version V1.3.1
stm32cube: update stm32wb to version V1.9.0

Signed-off-by: Alexandre Bourdiol <[email protected]>
@carlescufi carlescufi requested a review from gmarull October 28, 2020 16:04
@carlescufi carlescufi merged commit 007677e into zephyrproject-rtos:master Oct 29, 2020
@erwango erwango deleted the dev_pinctrl_sdmmc branch January 27, 2022 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants