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)
Wed, Sep 2, 3:06 PM
Unknown Object (File)
Wed, Sep 2, 3:00 PM
Unknown Object (File)
Tue, Sep 1, 10:55 AM
Unknown Object (File)
Wed, Aug 26, 2:13 AM
Unknown Object (File)
Mon, Aug 24, 1:53 PM
Unknown Object (File)
Sun, Aug 16, 3:51 AM
Unknown Object (File)
Wed, Aug 12, 10:08 PM
Unknown Object (File)
Wed, Aug 12, 7:40 PM
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