Skip to content
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

GD32: Use clocks instead rcu-periph-clock property #49074

Closed
Tracked by #38657
nandojve opened this issue Aug 15, 2022 · 0 comments · Fixed by #49880
Closed
Tracked by #38657

GD32: Use clocks instead rcu-periph-clock property #49074

nandojve opened this issue Aug 15, 2022 · 0 comments · Fixed by #49880
Assignees
Labels
area: Clock Control Enhancement Changes/Updates/Additions to existing features platform: GD32 GigaDevice

Comments

@nandojve
Copy link
Member

Is your enhancement proposal related to a problem? Please describe.
The rcu-periph-clock property is not well align with devicetree and should be replaced. The correct property for that use is clocks.
This is a step closer to have a full clock capability on the GD32 SoCs family.

Describe the solution you'd like
Replace rcu-periph-clock property by correct clocks property. The change itself not require a implementation of clock driver to allow the fix.

Additional context
The solution can mimics the following implementation from Linux. A reference from &rcu node + RCU_TYPE_PERIPHERAL + clock identificator. The change to correct the property not seems to represent a high effort in the first look.

CC: @gmarull @cameled @soburi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Clock Control Enhancement Changes/Updates/Additions to existing features platform: GD32 GigaDevice
Projects
None yet
5 participants