|
| 1 | +""" |
| 2 | +SPDX-FileCopyrightText: Copyright (c) 2025 The Linux Foundation |
| 3 | +SPDX-License-Identifier: Apache-2.0 |
| 4 | +
|
| 5 | +This module contains the mapping of binding types to their human-readable names and descriptions. |
| 6 | +Each entry can be either: |
| 7 | +- A string representing the human-readable name |
| 8 | +- A tuple of (abbreviation, full name) for cases where an abbreviation exists |
| 9 | +""" |
| 10 | + |
| 11 | +BINDING_TYPES = { |
| 12 | + # zephyr-keep-sorted-start re(^ ") |
| 13 | + "acpi": ("ACPI", "Advanced Configuration and Power Interface"), |
| 14 | + "adc": ("ADC", "Analog to Digital Converter"), |
| 15 | + "alh": ("ALH", "Audio Link Hub"), |
| 16 | + "arc": "ARC architecture", |
| 17 | + "arm": "ARM architecture", |
| 18 | + "audio": "Audio", |
| 19 | + "auxdisplay": "Auxiliary Display", |
| 20 | + "base": "Base", |
| 21 | + "battery": "Battery", |
| 22 | + "bluetooth": "Bluetooth", |
| 23 | + "cache": "Cache", |
| 24 | + "can": ("CAN", "Controller Area Network"), |
| 25 | + "charger": "Charger", |
| 26 | + "clock": "Clock control", |
| 27 | + "coredump": "Core dump", |
| 28 | + "counter": "Counter", |
| 29 | + "cpu": "CPU", |
| 30 | + "crypto": "Cryptographic accelerator", |
| 31 | + "dac": ("DAC", "Digital to Analog Converter"), |
| 32 | + "dai": ("DAI", "Digital Audio Interface"), |
| 33 | + "debug": "Debug", |
| 34 | + "dfpmcch": "DFPMCCH", |
| 35 | + "dfpmccu": "DFPMCCU", |
| 36 | + "disk": "Disk", |
| 37 | + "display": "Display", |
| 38 | + "display/panel": "Display panel", |
| 39 | + "dma": ("DMA", "Direct Memory Access"), |
| 40 | + "dsa": ("DSA", "Distributed Switch Architecture"), |
| 41 | + "edac": ("EDAC", "Error Detection and Correction"), |
| 42 | + "espi": ("eSPI", "Enhanced Serial Peripheral Interface"), |
| 43 | + "ethernet": "Ethernet", |
| 44 | + "firmware": "Firmware", |
| 45 | + "flash_controller": "Flash controller", |
| 46 | + "fpga": ("FPGA", "Field Programmable Gate Array"), |
| 47 | + "fs": "File system", |
| 48 | + "fuel-gauge": "Fuel gauge", |
| 49 | + "gnss": ("GNSS", "Global Navigation Satellite System"), |
| 50 | + "gpio": ("GPIO", "General Purpose Input/Output"), |
| 51 | + "haptics": "Haptics", |
| 52 | + "hda": ("HDA", "High Definition Audio"), |
| 53 | + "hdlc_rcp_if": "IEEE 802.15.4 HDLC RCP interface", |
| 54 | + "hwinfo": "Hardware information", |
| 55 | + "hwspinlock": "Hardware spinlock", |
| 56 | + "i2c": ("I2C", "Inter-Integrated Circuit"), |
| 57 | + "i2s": ("I2S", "Inter-IC Sound"), |
| 58 | + "i3c": ("I3C", "Improved Inter-Integrated Circuit"), |
| 59 | + "ieee802154": "IEEE 802.15.4", |
| 60 | + "iio": ("IIO", "Industrial I/O"), |
| 61 | + "input": "Input", |
| 62 | + "interrupt-controller": "Interrupt controller", |
| 63 | + "ipc": ("IPC", "Inter-Processor Communication"), |
| 64 | + "ipm": ("IPM", "Inter-Processor Mailbox"), |
| 65 | + "kscan": "Keyscan", |
| 66 | + "led": ("LED", "Light Emitting Diode"), |
| 67 | + "led_strip": ("LED", "Light Emitting Diode"), |
| 68 | + "lora": "LoRa", |
| 69 | + "mbox": "Mailbox", |
| 70 | + "mdio": ("MDIO", "Management Data Input/Output"), |
| 71 | + "memory-controllers": "Memory controller", |
| 72 | + "memory-window": "Memory window", |
| 73 | + "mfd": ("MFD", "Multi-Function Device"), |
| 74 | + "mhu": ("MHU", "Mailbox Handling Unit"), |
| 75 | + "net": "Networking", |
| 76 | + "mipi-dbi": ("MIPI DBI", "Mobile Industry Processor Interface Display Bus Interface"), |
| 77 | + "mipi-dsi": ("MIPI DSI", "Mobile Industry Processor Interface Display Serial Interface"), |
| 78 | + "misc": "Miscellaneous", |
| 79 | + "mm": "Memory management", |
| 80 | + "mmc": ("MMC", "MultiMediaCard"), |
| 81 | + "mmu_mpu": ("MMU / MPU", "Memory Management Unit / Memory Protection Unit"), |
| 82 | + "modem": "Modem", |
| 83 | + "mspi": "Multi-bit SPI", |
| 84 | + "mtd": ("MTD", "Memory Technology Device"), |
| 85 | + "wireless": "Wireless network", |
| 86 | + "options": "Options", |
| 87 | + "ospi": "Octal SPI", |
| 88 | + "pcie": ("PCIe", "Peripheral Component Interconnect Express"), |
| 89 | + "peci": ("PECI", "Platform Environment Control Interface"), |
| 90 | + "phy": "PHY", |
| 91 | + "pinctrl": "Pin control", |
| 92 | + "pm_cpu_ops": "Power management CPU operations", |
| 93 | + "power": "Power management", |
| 94 | + "power-domain": "Power domain", |
| 95 | + "ppc": "PPC architecture", |
| 96 | + "ps2": ("PS/2", "Personal System/2"), |
| 97 | + "pwm": ("PWM", "Pulse Width Modulation"), |
| 98 | + "qspi": "Quad SPI", |
| 99 | + "regulator": "Regulator", |
| 100 | + "reserved-memory": "Reserved memory", |
| 101 | + "reset": "Reset controller", |
| 102 | + "retained_mem": "Retained memory", |
| 103 | + "retention": "Retention", |
| 104 | + "riscv": "RISC-V architecture", |
| 105 | + "rng": ("RNG", "Random Number Generator"), |
| 106 | + "rtc": ("RTC", "Real Time Clock"), |
| 107 | + "sd": "SD", |
| 108 | + "sdhc": "SDHC", |
| 109 | + "sensor": "Sensors", |
| 110 | + "serial": "Serial controller", |
| 111 | + "shi": ("SHI", "Secure Hardware Interface"), |
| 112 | + "sip_svc": ("SIP", "Service in Platform"), |
| 113 | + "smbus": ("SMBus", "System Management Bus"), |
| 114 | + "sound": "Sound", |
| 115 | + "spi": ("SPI", "Serial Peripheral Interface"), |
| 116 | + "sram": "SRAM", |
| 117 | + "stepper": "Stepper", |
| 118 | + "syscon": "System controller", |
| 119 | + "tach": "Tachometer", |
| 120 | + "tcpc": ("TCPC", "USB Type-C Port Controller"), |
| 121 | + "test": "Test", |
| 122 | + "timer": "Timer", |
| 123 | + "timestamp": "Timestamp", |
| 124 | + "usb": "USB", |
| 125 | + "usb-c": "USB Type-C", |
| 126 | + "uac2": "USB Audio Class 2", |
| 127 | + "video": "Video", |
| 128 | + "virtualization": "Virtualization", |
| 129 | + "w1": "1-Wire", |
| 130 | + "watchdog": "Watchdog", |
| 131 | + "wifi": "Wi-Fi", |
| 132 | + "xen": "Xen", |
| 133 | + "xspi": ("XSPI", "Expanded Serial Peripheral Interface"), |
| 134 | + # zephyr-keep-sorted-stop |
| 135 | +} |
0 commit comments