Page MenuHomeFreeBSD

TI AM335x: Cleanup after migration to dev/extres/clk framework
Needs ReviewPublic

Authored by oskar.holmlund_ohdata.se on Aug 26 2020, 3:01 PM.

Details

Reviewers
manu
mmel
Summary

My previous implementation of ti_clkctrl with gate subclocks wasnt that good.

  • Change to use proper gate (sys/dev/extres/clk/clk_gate.c) instead of a special flag in ti_clk_clkctrl.c
  • Use constants from devicetree definitions.
  • add comments there to find the clocks in the TRM (&dts labels)

AM335x also got subclocks in TRM CM_WKUP_DEBUGSS_CLKCTRL 8.1.12.2.6 but i silently ignore these subclocks until AM572x support are done.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Unit Tests Skipped