Documentation/devicetree/bindings/mfd/mxs-lradc.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mfd/mxs-lradc.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mfd/mxs-lradc.yaml
Extension
.yaml
Size
3161 bytes
Lines
135
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-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/mxs-lradc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale MXS Low-Resolution ADC (LRADC)

maintainers:
  - Dario Binacchi <dario.binacchi@amarulasolutions.com>

description:
  The LRADC provides 16 physical channels of 12-bit resolution for
  analog-to-digital conversion and includes an integrated 4-wire/5-wire
  touchscreen controller.

properties:
  compatible:
    items:
      - enum:
          - fsl,imx23-lradc
          - fsl,imx28-lradc

  reg:
    maxItems: 1

  clocks:
    minItems: 1

  interrupts:
    minItems: 9
    maxItems: 13

  fsl,lradc-touchscreen-wires:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [4, 5]
    description: >
      Number of wires used to connect the touchscreen to LRADC.

      If this property is not present, then the touchscreen is disabled.

  fsl,ave-ctrl:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 1
    maximum: 32
    default: 4
    description:
      Number of samples per direction to calculate an average value.

  fsl,ave-delay:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 2
    maximum: 2048
    default: 2
    description: >
      Delay between consecutive samples.

      It is used if 'fsl,ave-ctrl' > 1, counts at 2 kHz and its default value (2)
      is 1 ms.

  fsl,settling:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 1
    maximum: 2047
    default: 10
    description: >
      Delay between plate switch to next sample.

      It counts at 2 kHz and its default (10) is 5 ms.

Annotation

Implementation Notes