Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
Extension
.yaml
Size
2181 bytes
Lines
99
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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/thermal/amlogic,thermal.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Amlogic Thermal

maintainers:
  - Guillaume La Roque <glaroque@baylibre.com>

description: Binding for Amlogic Thermal

$ref: thermal-sensor.yaml#

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - amlogic,g12a-cpu-thermal
              - amlogic,g12a-ddr-thermal
          - const: amlogic,g12a-thermal
      - enum:
          - amlogic,a1-cpu-thermal
          - amlogic,t7-thermal

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  power-domains:
    maxItems: 1

  amlogic,ao-secure:
    description: phandle to the ao-secure syscon
    $ref: /schemas/types.yaml#/definitions/phandle

  '#thermal-sensor-cells':
    const: 0

  amlogic,secure-monitor:
    description: phandle to the secure monitor
    $ref: /schemas/types.yaml#/definitions/phandle-array
    items:
      - items:
          - description: phandle to the secure monitor
          - description: sensor index to get specific calibration data

required:
  - compatible
  - reg
  - interrupts
  - clocks

allOf:
  - if:
      properties:
        compatible:
          contains:
            enum:
              - amlogic,a1-cpu-thermal
              - amlogic,g12a-thermal
    then:
      required:

Annotation

Implementation Notes