drivers/pinctrl/renesas/pinctrl-rzg2l.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/renesas/pinctrl-rzg2l.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/renesas/pinctrl-rzg2l.c- Extension
.c- Size
- 138382 bytes
- Lines
- 4057
- 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/bitfield.hlinux/bitops.hlinux/clk.hlinux/gpio/driver.hlinux/interrupt.hlinux/io.hlinux/mfd/syscon.hlinux/module.hlinux/mutex.hlinux/of.hlinux/of_irq.hlinux/platform_device.hlinux/property.hlinux/regmap.hlinux/seq_file.hlinux/spinlock.hlinux/pinctrl/consumer.hlinux/pinctrl/pinconf-generic.hlinux/pinctrl/pinconf.hlinux/pinctrl/pinctrl.hlinux/pinctrl/pinmux.hdt-bindings/pinctrl/renesas,r9a08g046-pinctrl.hdt-bindings/pinctrl/renesas,r9a09g047-pinctrl.hdt-bindings/pinctrl/renesas,r9a09g057-pinctrl.hdt-bindings/pinctrl/rzg2l-pinctrl.h../core.h../pinconf.h../pinmux.h
Detected Declarations
struct rzg2l_register_offsetsstruct rzg2l_hwcfgstruct rzg2l_dedicated_configsstruct rzg2l_pinctrlstruct rzg2l_pinctrl_datastruct rzg2l_pinctrl_pin_settingsstruct rzg2l_pinctrl_reg_cachestruct rzg2l_pinctrlenum rzg2l_iolh_indexfunction rzg2l_pinctrl_get_variable_pin_cfgfunction rzg2l_pmc_writebfunction rzv2h_pmc_writebfunction rzg2l_validate_pinfunction rzg2l_pinctrl_set_clone_modefunction rzg2l_pinctrl_set_pfc_modefunction rzg2l_pinctrl_set_muxfunction rzg2l_map_add_configfunction rzg2l_dt_subnode_to_mapfunction of_property_for_each_stringfunction rzg2l_dt_free_mapfunction rzg2l_dt_node_to_mapfunction for_each_child_of_node_scopedfunction rzg2l_read_pin_configfunction rzg2l_rmw_pin_configfunction rzg2l_caps_to_pwr_regfunction rzg2l_get_power_sourcefunction rzg2l_set_power_sourcefunction rzg2l_ps_is_supportedfunction rzg2l_ps_to_iolh_idxfunction rzg2l_iolh_val_to_uafunction rzg2l_iolh_ua_to_valfunction rzg2l_ds_is_supportedfunction rzg2l_pin_to_oen_bitfunction rzg2l_read_oenfunction rzg2l_oen_write_with_pwprfunction rzg2l_write_oenfunction rzg3s_pin_to_oen_bitfunction rzg2l_hw_to_bias_paramfunction rzg2l_bias_param_to_hwfunction rzv2h_hw_to_bias_paramfunction rzv2h_bias_param_to_hwfunction rzg2l_pin_names_to_oen_bitfunction rzv2h_pin_to_oen_bitfunction rzg3e_pin_to_oen_bitfunction rzg2l_pinctrl_pinconf_getfunction rzg2l_pinctrl_pinconf_setfunction rzg2l_pinctrl_pinconf_group_setfunction rzg2l_pinctrl_pinconf_group_get
Annotated Snippet
core_initcall(rzg2l_pinctrl_init);
MODULE_AUTHOR("Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>");
MODULE_DESCRIPTION("Pin and gpio controller driver for RZ/G2L family");
Annotation
- Immediate include surface: `linux/bitfield.h`, `linux/bitops.h`, `linux/clk.h`, `linux/gpio/driver.h`, `linux/interrupt.h`, `linux/io.h`, `linux/mfd/syscon.h`, `linux/module.h`.
- Detected declarations: `struct rzg2l_register_offsets`, `struct rzg2l_hwcfg`, `struct rzg2l_dedicated_configs`, `struct rzg2l_pinctrl`, `struct rzg2l_pinctrl_data`, `struct rzg2l_pinctrl_pin_settings`, `struct rzg2l_pinctrl_reg_cache`, `struct rzg2l_pinctrl`, `enum rzg2l_iolh_index`, `function rzg2l_pinctrl_get_variable_pin_cfg`.
- 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.