drivers/i2c/busses/i2c-nomadik.c
Source file repositories/reference/linux-study-clean/drivers/i2c/busses/i2c-nomadik.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/i2c/busses/i2c-nomadik.c- Extension
.c- Size
- 31492 bytes
- Lines
- 1240
- Domain
- Driver Families
- Bucket
- drivers/i2c
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/amba/bus.hlinux/bitfield.hlinux/clk.hlinux/err.hlinux/i2c.hlinux/init.hlinux/interrupt.hlinux/io.hlinux/mfd/syscon.hlinux/module.hlinux/of.hlinux/of_device.hlinux/pinctrl/consumer.hlinux/pm_runtime.hlinux/regmap.hlinux/slab.hlinux/units.h
Detected Declarations
struct i2c_vendor_datastruct i2c_nmk_clientstruct nmk_i2c_devenum i2c_freq_modeenum i2c_eyeq5_speedenum i2c_statusenum i2c_operationenum i2c_operating_modefunction i2c_set_bitfunction i2c_clr_bitfunction nmk_i2c_readbfunction nmk_i2c_writebfunction flush_i2c_fifofunction disable_all_interruptsfunction clear_all_interruptsfunction init_hwfunction load_i2c_mcr_regfunction setup_i2c_controllerfunction nmk_i2c_wait_xfer_donefunction read_i2cfunction fill_tx_fifofunction write_i2cfunction nmk_i2c_xfer_onefunction datafunction disable_interruptsfunction i2c_irq_handlerfunction nmk_i2c_suspend_latefunction nmk_i2c_resume_earlyfunction nmk_i2c_runtime_suspendfunction nmk_i2c_runtime_resumefunction nmk_i2c_functionalityfunction nmk_i2c_of_probefunction nmk_i2c_eyeq5_probefunction nmk_i2c_probefunction nmk_i2c_removefunction nmk_i2c_initfunction nmk_i2c_exitmodule init nmk_i2c_init
Annotated Snippet
subsys_initcall(nmk_i2c_init);
module_exit(nmk_i2c_exit);
MODULE_AUTHOR("Sachin Verma");
MODULE_AUTHOR("Srinidhi KASAGAR");
MODULE_DESCRIPTION("Nomadik/Ux500 I2C driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/amba/bus.h`, `linux/bitfield.h`, `linux/clk.h`, `linux/err.h`, `linux/i2c.h`, `linux/init.h`, `linux/interrupt.h`, `linux/io.h`.
- Detected declarations: `struct i2c_vendor_data`, `struct i2c_nmk_client`, `struct nmk_i2c_dev`, `enum i2c_freq_mode`, `enum i2c_eyeq5_speed`, `enum i2c_status`, `enum i2c_operation`, `enum i2c_operating_mode`, `function i2c_set_bit`, `function i2c_clr_bit`.
- Atlas domain: Driver Families / drivers/i2c.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.