HomeFreeBSD

armada38x: implement gateclk clkdev methods

Description

armada38x: implement gateclk clkdev methods

Implement basic clkdev methods required by the generic clk_gate device.
This should make it functional, and prevent panics when invoking the
clock's CLKNODE_GET_GATE method (e.g. with sysctl -a).

Additionally, we need to fill in other key fields of the clk_gate_def
structure before registering each clk.

PR: 278188
Reported by: solo_code@protonmail.com
Tested by: solo_code@protonmail.com
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D48419

Details

Provenance
mhorneAuthored on Apr 15 2024, 8:18 PM
Differential Revision
D48419: armada38x: implement gateclk clkdev methods
Parents
rG40faf87894ff: ip: Defer checks for an unspecified dstaddr until after pfil hooks
Branches
Unknown
Tags
Unknown