Page MenuHomeFreeBSD

sdhci: fdt: Correctly export clock per the binding
ClosedPublic

Authored by manu on Sep 11 2023, 11:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 20 2024, 8:35 PM
Unknown Object (File)
Oct 21 2024, 2:23 PM
Unknown Object (File)
Oct 9 2024, 3:15 AM
Unknown Object (File)
Sep 30 2024, 1:27 AM
Unknown Object (File)
Sep 10 2024, 10:18 PM
Unknown Object (File)
Sep 8 2024, 7:16 AM
Unknown Object (File)
Sep 4 2024, 10:08 PM
Unknown Object (File)
Aug 31 2024, 11:16 PM
Subscribers

Details

Summary

The binding says that we can have one or two clocks to export.
The first one is the actual sdclock while the second is the sample clock.
Both have the same parent, clk_xin.
Correctly export the clocks for RK3399 and ZynqMP.
No need to use a high ID as before, we have our own clock domain so use
ids starting at 1 as all exported clocks should be.

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53525
Build 50416: arc lint + arc unit

Event Timeline

manu requested review of this revision.Sep 11 2023, 11:48 AM

Scrolling through looks ok to me.

sys/dev/sdhci/sdhci_fdt.c
359

Hmm should this be part of D41809?

sys/dev/sdhci/sdhci_fdt.c
359

No, this is the old function name that exported the clock

bz added inline comments.
sys/dev/sdhci/sdhci_fdt.c
359

Sorry, I went by email order and that was confusing.

This revision is now accepted and ready to land.Sep 11 2023, 1:07 PM