opnsense-src/sys/arm/mv
Mitchell Horne 6f27755482 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
2025-01-16 13:27:00 -04:00
..
armada sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
armada38x sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
armadaxp sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
clk armada38x: implement gateclk clkdev methods 2025-01-16 13:27:00 -04:00
a37x0_gpio.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
a37x0_iic.c bus_generic_detach: Delete children after detaching them 2025-01-02 13:21:30 -05:00
a37x0_iicreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
a37x0_spi.c Use bus_generic_detach instead of device_delete_children in detach 2025-01-02 13:24:28 -05:00
files.arm7 iicbus: Move twsi under a new controller subdirectory 2023-10-03 09:56:19 +02:00
gpio.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ic.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mpic.c arm/mpic: remove empty pic_init_secondary() hook 2024-01-23 02:52:37 +00:00
mv_ap806_clock.c syscon: Move syscon code in dev/syscon 2024-01-10 19:20:37 +01:00
mv_ap806_gicp.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mv_ap806_sei.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mv_armv7_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mv_common.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mv_cp110_clock.c syscon: Move syscon code in dev/syscon 2024-01-10 19:20:37 +01:00
mv_cp110_clock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mv_cp110_icu.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mv_cp110_icu_bus.c syscon: Move syscon code in dev/syscon 2024-01-10 19:20:37 +01:00
mv_pci.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
mv_pci_ctrl.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
mv_spi.c bus_delayed_attach_children: Switch return type to void 2024-12-06 17:27:14 -05:00
mv_thermal.c syscon: Move syscon code in dev/syscon 2024-01-10 19:20:37 +01:00
mvebu_gpio.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
mvebu_pinctrl.c syscon: Move syscon code in dev/syscon 2024-01-10 19:20:37 +01:00
mvreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mvvar.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mvwin.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rtc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
std-pj4b.mv sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
timer.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00