Documentation/devicetree/bindings/trivial-devices.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/trivial-devices.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/trivial-devices.yaml
Extension
.yaml
Size
22837 bytes
Lines
544
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/trivial-devices.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Trivial I2C and SPI devices

maintainers:
  - Rob Herring <robh@kernel.org>

description: |
  This is a list of trivial I2C and SPI devices that have simple device tree
  bindings, consisting only of a compatible field, an address and possibly an
  interrupt line.

  If a device needs more specific bindings, such as properties to
  describe some aspect of it, there needs to be a specific binding
  document for it just like any other devices.

properties:
  reg:
    maxItems: 1
  interrupts:
    maxItems: 1

  spi-max-frequency: true

  compatible:
    items:
      # Entries are sorted alphanumerically by the compatible
      - enum:
            # ABB register based spi sensors
          - abb,spi-sensor
            # Acbel fsg032 power supply
          - acbel,fsg032
            # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
          - ad,ad7414  # Deprecated, use adi,ad7414
          - adi,ad7414
            # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
          - ad,adm9240
            # AD5110 - Nonvolatile Digital Potentiometer
          - adi,ad5110
            # Temperature sensor with integrated fan control
          - adi,adm1027
            # Analog Devices ADT7410 High Accuracy Digital Temperature Sensor
          - adi,adt7410
            # Analog Devices ADT7411 Temperature Sensor and 8-channel ADC
          - adi,adt7411
            # Analog Devices ADT7420 High Accuracy Digital Temperature Sensor
          - adi,adt7420
            # Analog Devices ADT7422 High Accuracy Digital Temperature Sensor
          - adi,adt7422
            # Temperature sensor with integrated fan control
          - adi,adt7463
            # Temperature sensor with integrated fan control
          - adi,adt7468
            # Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher
          - adi,lt7182s
            # AMS iAQ-Core VOC Sensor
          - ams,iaq-core
            # Aosong temperature & humidity sensors with I2C interface
          - aosong,aht10
          - aosong,aht20
          - aosong,dht20
            # Arduino microcontroller interface over SPI on UnoQ board
          - arduino,unoq-mcu
            # Temperature monitoring of Astera Labs PT5161L PCIe retimer
          - asteralabs,pt5161l
            # ATECC508A - i2c h/w elliptic curve crypto module

Annotation

Implementation Notes