drivers/gpu/drm/panel/panel-sitronix-st7701.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/panel/panel-sitronix-st7701.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/panel/panel-sitronix-st7701.c- Extension
.c- Size
- 49357 bytes
- Lines
- 1463
- Domain
- Driver Families
- Bucket
- drivers/gpu
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
drm/drm_mipi_dbi.hdrm/drm_mipi_dsi.hdrm/drm_modes.hdrm/drm_panel.hlinux/bitfield.hlinux/gpio/consumer.hlinux/delay.hlinux/module.hlinux/of.hlinux/regulator/consumer.hlinux/spi/spi.hvideo/mipi_display.h
Detected Declarations
struct st7701struct st7701_panel_descstruct st7701enum op_biasfunction st7701_dsi_writefunction st7701_dbi_writefunction st7701_vgls_mapfunction st7701_switch_cmd_bkxfunction st7701_init_sequencefunction ts8550b_gip_sequencefunction dmt028vghmcmi_1a_gip_sequencefunction kd50t048a_gip_sequencefunction rg_arc_gip_sequencefunction rg28xx_gip_sequencefunction wf40eswaa6mnn0_gip_sequencefunction st7701_preparefunction st7701_enablefunction st7701_disablefunction st7701_unpreparefunction st7701_get_modesfunction st7701_get_orientationfunction st7701_cleanupfunction st7701_probefunction st7701_dsi_probefunction st7701_spi_probefunction st7701_dsi_removefunction st7701_driver_initfunction st7701_driver_exitmodule init st7701_driver_init
Annotated Snippet
module_init(st7701_driver_init);
static void __exit st7701_driver_exit(void)
{
if (IS_ENABLED(CONFIG_DRM_MIPI_DSI))
mipi_dsi_driver_unregister(&st7701_dsi_driver);
if (IS_ENABLED(CONFIG_SPI))
spi_unregister_driver(&st7701_spi_driver);
}
module_exit(st7701_driver_exit);
MODULE_AUTHOR("Jagan Teki <jagan@amarulasolutions.com>");
MODULE_AUTHOR("Hironori KIKUCHI <kikuchan98@gmail.com>");
MODULE_DESCRIPTION("Sitronix ST7701 LCD Panel Driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `drm/drm_mipi_dbi.h`, `drm/drm_mipi_dsi.h`, `drm/drm_modes.h`, `drm/drm_panel.h`, `linux/bitfield.h`, `linux/gpio/consumer.h`, `linux/delay.h`, `linux/module.h`.
- Detected declarations: `struct st7701`, `struct st7701_panel_desc`, `struct st7701`, `enum op_bias`, `function st7701_dsi_write`, `function st7701_dbi_write`, `function st7701_vgls_map`, `function st7701_switch_cmd_bkx`, `function st7701_init_sequence`, `function ts8550b_gip_sequence`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: integration implementation candidate.
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.