Page MenuHomeFreeBSD

remove ti_scm_syscon.c
Needs ReviewPublic

Authored by oskar.holmlund_ohdata.se on Sep 10 2020, 8:01 PM.

Details

Reviewers
mmel
skibo
manu
Summary

Remove sys/arm/ti/ti_scm_syscon.c due to the driver will interfere with other platforms than TI.
Add reference to dev/extres/syscon/syscon_generic.c

Reported by Thomas Skibo (ARM mailinglist)

Diff Detail

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

Event Timeline

Copy clk_div.c, clk_gate.c and clk_mux from sys/dev/extres/clk/ and extend them with options to use syscon if the parent are syscon, otherwise use clkdev.

Update ti_divider_clock.c/ti_gate_clock.c/ti_mux_clock.c to use "ti version" of clk_*.c.
Also get the handle to syscon if the (grand)parent are syscon otherwise it will be null and clkdev are used instead.

Remove ti_scm_syscon.c