drivers/pinctrl/renesas/pinctrl-rzt2h.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/renesas/pinctrl-rzt2h.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/renesas/pinctrl-rzt2h.c- Extension
.c- Size
- 35688 bytes
- Lines
- 1306
- Domain
- Driver Families
- Bucket
- drivers/pinctrl
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/array_size.hlinux/bitfield.hlinux/bitops.hlinux/bits.hlinux/cleanup.hlinux/clk.hlinux/gpio/driver.hlinux/io.hlinux/ioport.hlinux/module.hlinux/mutex.hlinux/of_device.hlinux/of_irq.hlinux/platform_device.hlinux/pm_runtime.hlinux/spinlock.hlinux/types.hlinux/pinctrl/consumer.hlinux/pinctrl/pinconf-generic.hlinux/pinctrl/pinconf.hlinux/pinctrl/pinctrl.hlinux/pinctrl/pinmux.hdt-bindings/pinctrl/renesas,r9a09g077-pinctrl.h../core.h../pinconf.h../pinmux.h
Detected Declarations
struct rzt2h_pinctrl_datastruct rzt2h_pinctrlfunction rzt2h_drive_strength_ua_to_idxfunction rzt2h_drive_strength_idx_to_uafunction rzt2h_pinctrl_drctl_rmwqfunction rzt2h_validate_pinfunction rzt2h_pinctrl_set_gpio_enfunction rzt2h_pinctrl_set_pfc_modefunction rzt2h_pinctrl_set_muxfunction rzt2h_map_add_configfunction rzt2h_dt_subnode_to_mapfunction of_property_for_each_stringfunction scoped_guardfunction rzt2h_dt_free_mapfunction rzt2h_dt_node_to_mapfunction for_each_child_of_node_scopedfunction rzt2h_pinctrl_pinconf_getfunction rzt2h_pinctrl_pinconf_setfunction rzt2h_pinctrl_pinconf_group_getfunction rzt2h_pinctrl_pinconf_group_setfunction rzt2h_gpio_requestfunction rzt2h_gpio_set_directionfunction rzt2h_gpio_get_directionfunction rzt2h_gpio_setfunction rzt2h_gpio_getfunction rzt2h_gpio_direction_inputfunction rzt2h_gpio_direction_outputfunction rzt2h_gpio_freefunction rzt2h_gpio_irq_disablefunction rzt2h_gpio_irq_enablefunction rzt2h_gpio_irq_set_wakefunction rzt2h_gpio_child_to_parent_hwirqfunction rzt2h_gpio_irq_domain_freefunction rzt2h_gpio_init_irq_valid_maskfunction rzt2h_gpio_registerfunction rzt2h_pinctrl_registerfunction rzt2h_pinctrl_cfg_regionsfunction rzt2h_pinctrl_probefunction rzt2h_pinctrl_suspend_noirqfunction rzt2h_pinctrl_initmodule init rzt2h_pinctrl_init
Annotated Snippet
core_initcall(rzt2h_pinctrl_init);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Thierry Bultel <thierry.bultel.yh@bp.renesas.com>");
MODULE_AUTHOR("Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>");
MODULE_DESCRIPTION("Pin and gpio controller driver for the RZ/T2H family");
Annotation
- Immediate include surface: `linux/array_size.h`, `linux/bitfield.h`, `linux/bitops.h`, `linux/bits.h`, `linux/cleanup.h`, `linux/clk.h`, `linux/gpio/driver.h`, `linux/io.h`.
- Detected declarations: `struct rzt2h_pinctrl_data`, `struct rzt2h_pinctrl`, `function rzt2h_drive_strength_ua_to_idx`, `function rzt2h_drive_strength_idx_to_ua`, `function rzt2h_pinctrl_drctl_rmwq`, `function rzt2h_validate_pin`, `function rzt2h_pinctrl_set_gpio_en`, `function rzt2h_pinctrl_set_pfc_mode`, `function rzt2h_pinctrl_set_mux`, `function rzt2h_map_add_config`.
- Atlas domain: Driver Families / drivers/pinctrl.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.