drivers/gpu/drm/bridge/ti-sn65dsi86.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/bridge/ti-sn65dsi86.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/bridge/ti-sn65dsi86.c- Extension
.c- Size
- 63944 bytes
- Lines
- 2192
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/atomic.hlinux/auxiliary_bus.hlinux/bitfield.hlinux/bits.hlinux/clk.hlinux/debugfs.hlinux/gpio/consumer.hlinux/gpio/driver.hlinux/i2c.hlinux/iopoll.hlinux/module.hlinux/of_graph.hlinux/pm_runtime.hlinux/pwm.hlinux/regmap.hlinux/regulator/consumer.hlinux/unaligned.hdrm/display/drm_dp_aux_bus.hdrm/display/drm_dp_helper.hdrm/drm_atomic.hdrm/drm_atomic_helper.hdrm/drm_bridge.hdrm/drm_bridge_connector.hdrm/drm_edid.hdrm/drm_mipi_dsi.hdrm/drm_of.hdrm/drm_print.hdrm/drm_probe_helper.h
Detected Declarations
struct ti_sn65dsi86function ti_sn65dsi86_read_u8function ti_sn65dsi86_read_u16function ti_sn65dsi86_write_u16function get_new_adjusted_display_modefunction ti_sn_bridge_get_dsi_freqfunction ti_sn_bridge_set_refclk_freqfunction ti_sn65dsi86_enable_commsfunction ti_sn65dsi86_disable_commsfunction ti_sn65dsi86_resumefunction ti_sn65dsi86_suspendfunction status_showfunction Devicesfunction ti_sn_aux_transferfunction pre_enablefunction ti_sn_aux_wait_hpd_assertedfunction ti_sn_aux_probefunction ti_sn_attach_hostfunction ti_sn_bridge_attachfunction ti_sn_bridge_detachfunction ti_sn_bridge_mode_validfunction ti_sn_bridge_atomic_disablefunction ti_sn_bridge_set_dsi_ratefunction ti_sn_bridge_get_bppfunction ti_sn_bridge_calc_min_dp_rate_idxfunction ti_sn_bridge_read_valid_ratesfunction ti_sn_bridge_set_video_timingsfunction ti_sn_get_max_lanesfunction ti_sn_link_trainingfunction ti_sn_bridge_atomic_enablefunction ti_sn_bridge_atomic_pre_enablefunction ti_sn_bridge_atomic_post_disablefunction ti_sn_bridge_detectfunction ti_sn65dsi86_debugfs_initfunction ti_sn_bridge_hpd_enablefunction ti_sn_bridge_hpd_disablefunction ti_sn_bridge_parse_lanesfunction ti_sn_bridge_parse_dsi_hostfunction ti_sn_bridge_interruptfunction ti_sn_bridge_probefunction ti_sn_bridge_removefunction ti_sn_pwm_pin_requestfunction ti_sn_pwm_pin_releasefunction ti_sn_pwm_requestfunction ti_sn_pwm_freefunction ti_sn_pwm_applyfunction ti_sn_pwm_get_statefunction ti_sn_pwm_probe
Annotated Snippet
module_init(ti_sn65dsi86_init);
static void __exit ti_sn65dsi86_exit(void)
{
auxiliary_driver_unregister(&ti_sn_bridge_driver);
auxiliary_driver_unregister(&ti_sn_aux_driver);
ti_sn_pwm_unregister();
ti_sn_gpio_unregister();
i2c_del_driver(&ti_sn65dsi86_driver);
}
module_exit(ti_sn65dsi86_exit);
MODULE_AUTHOR("Sandeep Panda <spanda@codeaurora.org>");
MODULE_DESCRIPTION("sn65dsi86 DSI to eDP bridge driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/atomic.h`, `linux/auxiliary_bus.h`, `linux/bitfield.h`, `linux/bits.h`, `linux/clk.h`, `linux/debugfs.h`, `linux/gpio/consumer.h`, `linux/gpio/driver.h`.
- Detected declarations: `struct ti_sn65dsi86`, `function ti_sn65dsi86_read_u8`, `function ti_sn65dsi86_read_u16`, `function ti_sn65dsi86_write_u16`, `function get_new_adjusted_display_mode`, `function ti_sn_bridge_get_dsi_freq`, `function ti_sn_bridge_set_refclk_freq`, `function ti_sn65dsi86_enable_comms`, `function ti_sn65dsi86_disable_comms`, `function ti_sn65dsi86_resume`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.