drivers/pinctrl/nomadik/pinctrl-nomadik.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/nomadik/pinctrl-nomadik.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/nomadik/pinctrl-nomadik.c- Extension
.c- Size
- 36319 bytes
- Lines
- 1305
- 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/bitops.hlinux/cleanup.hlinux/clk.hlinux/device.hlinux/err.hlinux/gpio/driver.hlinux/init.hlinux/interrupt.hlinux/io.hlinux/kernel.hlinux/of.hlinux/of_address.hlinux/of_platform.hlinux/platform_device.hlinux/property.hlinux/seq_file.hlinux/slab.hlinux/spinlock.hlinux/string_choices.hlinux/types.hlinux/pinctrl/consumer.hlinux/pinctrl/machine.hlinux/pinctrl/pinconf.hlinux/pinctrl/pinctrl.hlinux/pinctrl/pinmux.h../core.h../pinctrl-utils.hlinux/gpio/gpio-nomadik.h
Detected Declarations
struct nmk_pinctrlstruct nmk_cfg_paramfunction __nmk_gpio_set_modefunction __nmk_gpio_set_pullfunction __nmk_gpio_set_lowemifunction __nmk_gpio_make_inputfunction __nmk_gpio_set_mode_safefunction nmk_gpio_disable_lazy_irqfunction nmk_write_maskedfunction nmk_prcm_altcx_set_modefunction nmk_gpio_glitch_slpm_initfunction nmk_gpio_glitch_slpm_restorefunction nmk_prcm_gpiocr_get_modefunction nmk_get_groups_cntfunction nmk_get_group_pinsfunction conveniencefunction nmk_pin_dbg_showfunction nmk_dt_add_map_muxfunction nmk_dt_add_map_configsfunction nmk_dt_pin_configfunction nmk_pinctrl_dt_get_configfunction nmk_pinctrl_dt_subnode_to_mapfunction of_property_for_each_stringfunction of_property_for_each_stringfunction nmk_pinctrl_dt_node_to_mapfunction for_each_child_of_node_scopedfunction nmk_pmx_get_funcs_cntfunction nmk_pmx_get_func_groupsfunction nmk_pmx_setfunction nmk_gpio_request_enablefunction nmk_gpio_disable_freefunction nmk_pin_config_getfunction nmk_pin_config_setfunction nmk_pinctrl_suspendfunction nmk_pinctrl_resumefunction nmk_pinctrl_probefunction nmk_pinctrl_initmodule init nmk_pinctrl_init
Annotated Snippet
core_initcall(nmk_pinctrl_init);
Annotation
- Immediate include surface: `linux/bitops.h`, `linux/cleanup.h`, `linux/clk.h`, `linux/device.h`, `linux/err.h`, `linux/gpio/driver.h`, `linux/init.h`, `linux/interrupt.h`.
- Detected declarations: `struct nmk_pinctrl`, `struct nmk_cfg_param`, `function __nmk_gpio_set_mode`, `function __nmk_gpio_set_pull`, `function __nmk_gpio_set_lowemi`, `function __nmk_gpio_make_input`, `function __nmk_gpio_set_mode_safe`, `function nmk_gpio_disable_lazy_irq`, `function nmk_write_masked`, `function nmk_prcm_altcx_set_mode`.
- 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.