drivers/pinctrl/realtek/pinctrl-rtd1625.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/realtek/pinctrl-rtd1625.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/realtek/pinctrl-rtd1625.c- Extension
.c- Size
- 122931 bytes
- Lines
- 3139
- Domain
- Driver Families
- Bucket
- drivers/pinctrl
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/of.hlinux/platform_device.hlinux/pinctrl/pinctrl.hpinctrl-rtd.h
Detected Declarations
enum rtd1625_iso_pins_enumenum rtd1625_isom_pins_enumenum rtd1625_ve4_pins_enumenum rtd1625_main2_pins_enumfunction rtd1625_pinctrl_probe
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Realtek DHC 1625 pin controller driver
*
* Copyright (c) 2023 Realtek Semiconductor Corp.
*
*/
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-rtd.h"
enum rtd1625_iso_pins_enum {
RTD1625_ISO_GPIO_8 = 0,
RTD1625_ISO_GPIO_9,
RTD1625_ISO_GPIO_10,
RTD1625_ISO_GPIO_11,
RTD1625_ISO_USB_CC1,
RTD1625_ISO_USB_CC2,
RTD1625_ISO_GPIO_45,
RTD1625_ISO_GPIO_46,
RTD1625_ISO_GPIO_47,
RTD1625_ISO_GPIO_48,
RTD1625_ISO_GPIO_49,
RTD1625_ISO_GPIO_50,
RTD1625_ISO_GPIO_52,
RTD1625_ISO_GPIO_94,
RTD1625_ISO_GPIO_95,
RTD1625_ISO_GPIO_96,
RTD1625_ISO_GPIO_97,
RTD1625_ISO_GPIO_98,
RTD1625_ISO_GPIO_99,
RTD1625_ISO_GPIO_100,
RTD1625_ISO_GPIO_101,
RTD1625_ISO_GPIO_102,
RTD1625_ISO_GPIO_103,
RTD1625_ISO_GPIO_104,
RTD1625_ISO_GPIO_105,
RTD1625_ISO_GPIO_106,
RTD1625_ISO_GPIO_107,
RTD1625_ISO_GPIO_108,
RTD1625_ISO_GPIO_109,
RTD1625_ISO_GPIO_110,
RTD1625_ISO_GPIO_111,
RTD1625_ISO_GPIO_112,
RTD1625_ISO_GPIO_128,
RTD1625_ISO_GPIO_129,
RTD1625_ISO_GPIO_130,
RTD1625_ISO_GPIO_131,
RTD1625_ISO_GPIO_145,
RTD1625_ISO_GPIO_146,
RTD1625_ISO_GPIO_147,
RTD1625_ISO_GPIO_148,
RTD1625_ISO_GPIO_149,
RTD1625_ISO_GPIO_150,
RTD1625_ISO_GPIO_151,
RTD1625_ISO_GPIO_152,
RTD1625_ISO_GPIO_153,
RTD1625_ISO_GPIO_154,
RTD1625_ISO_GPIO_155,
RTD1625_ISO_GPIO_156,
RTD1625_ISO_GPIO_157,
RTD1625_ISO_GPIO_158,
RTD1625_ISO_GPIO_159,
RTD1625_ISO_GPIO_160,
RTD1625_ISO_GPIO_161,
RTD1625_ISO_GPIO_162,
RTD1625_ISO_GPIO_163,
RTD1625_ISO_HI_WIDTH,
RTD1625_ISO_SF_EN,
RTD1625_ISO_ARM_TRACE_DBG_EN,
RTD1625_ISO_EJTAG_AUCPU0_LOC,
RTD1625_ISO_EJTAG_AUCPU1_LOC,
RTD1625_ISO_EJTAG_VE2_LOC,
RTD1625_ISO_EJTAG_SCPU_LOC,
RTD1625_ISO_EJTAG_PCPU_LOC,
RTD1625_ISO_EJTAG_ACPU_LOC,
RTD1625_ISO_I2C6_LOC,
RTD1625_ISO_UART0_LOC,
RTD1625_ISO_AI_I2S1_LOC,
RTD1625_ISO_AO_I2S1_LOC,
RTD1625_ISO_ETN_PHY_LOC,
RTD1625_ISO_SPDIF_LOC,
RTD1625_ISO_RGMII_VDSEL,
RTD1625_ISO_CSI_VDSEL,
RTD1625_ISO_SPDIF_IN_MODE,
};
Annotation
- Immediate include surface: `linux/module.h`, `linux/of.h`, `linux/platform_device.h`, `linux/pinctrl/pinctrl.h`, `pinctrl-rtd.h`.
- Detected declarations: `enum rtd1625_iso_pins_enum`, `enum rtd1625_isom_pins_enum`, `enum rtd1625_ve4_pins_enum`, `enum rtd1625_main2_pins_enum`, `function rtd1625_pinctrl_probe`.
- Atlas domain: Driver Families / drivers/pinctrl.
- Implementation status: source 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.