Page MenuHomeFreeBSD

remove ti_scm_syscon.c
Needs ReviewPublic

Authored by oskar.holmlund_ohdata.se on Sep 10 2020, 8:01 PM.
Tags
Referenced Files
Unknown Object (File)
Sun, Oct 12, 1:07 PM
Unknown Object (File)
Mon, Sep 29, 4:24 AM
Unknown Object (File)
Sat, Sep 20, 4:17 AM
Unknown Object (File)
Fri, Sep 19, 12:14 PM
Unknown Object (File)
Thu, Sep 18, 8:06 PM
Unknown Object (File)
Tue, Sep 16, 10:56 PM
Unknown Object (File)
Tue, Sep 16, 8:13 PM
Unknown Object (File)
Sep 15 2025, 7:59 AM
Subscribers

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
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