opnsense-src/sys/arm
Mitchell Horne d09ec2eeb0 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

(cherry picked from commit 6f2775548278c76e7c33b15aaaaa759270a8dcd5)
2025-03-04 11:11:46 -04:00
..
allwinner Revert "sound: Make device registration more intuitive" 2024-11-14 17:25:41 +01:00
altera/socfpga sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
annapurna/alpine sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
arm arm nexus: Use bus_generic_rman_* 2025-02-27 08:09:20 -05:00
broadcom/bcm2835 Revert "sound: Make device registration more intuitive" 2024-11-14 17:25:41 +01:00
conf sys: add conf/std.debug, generic debugging options 2024-10-09 10:44:35 +02:00
freescale Revert "sound: Make device registration more intuitive" 2024-11-14 17:25:41 +01:00
include atomics: Constify loads 2025-01-16 19:06:53 +01:00
mv armada38x: implement gateclk clkdev methods 2025-03-04 11:11:46 -04:00
nvidia Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
qemu sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
qualcomm arm/qualcomm: Fix a typo in a source code comment 2024-12-31 10:32:06 +01:00
rockchip sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
ti Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
xilinx Use bus_delayed_attach_children instead of its inline implementation 2024-11-30 21:46:05 -05:00