Skip to content

Conversation

@gmarull
Copy link
Member

@gmarull gmarull commented Aug 22, 2022

Add a new reset driver for GD32 platforms. This driver controls the
reset registers from the RCU peripheral. It can be used to restore
peripherals to their initial state when initializing a device.

Signed-off-by: Gerard Marull-Paretas [email protected]

@gmarull
Copy link
Member Author

gmarull commented Aug 23, 2022

cc: @andrei-edward-popa

Add a new reset driver for GD32 platforms. This driver controls the
reset registers from the RCU peripheral. It can be used to restore
peripherals to their initial state when initializing a device.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Similar to pinctrl, almost all device drivers will depend on the reset
controller being available, so default the driver class to y at SoC
level.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to reset the peripheral state before initialization.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to reset the peripheral state before initialization.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to reset the peripheral state before initialization.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to restore the peripheral to its initial state before
configuring it.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to reset the peripheral state before initialization.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to reset the peripheral state before initialization.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to reset the peripheral state before initialization.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Use the reset API to reset the peripheral state before initialization.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
@str4t0m str4t0m added the platform: GD32 GigaDevice label Aug 26, 2022
Copy link
Member

@soburi soburi left a comment

Choose a reason for hiding this comment

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

LGTM

@nandojve nandojve added this to the v3.2.0 milestone Aug 28, 2022
@nandojve nandojve mentioned this pull request Aug 28, 2022
55 tasks
@carlescufi carlescufi merged commit d55bc1f into zephyrproject-rtos:main Aug 29, 2022
@gmarull gmarull deleted the gd32-reset branch April 24, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: GD32 GigaDevice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants