Amlogic Thermal

Schema identifier ($id): "http://devicetree.org/schemas/thermal/amlogic,thermal.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Guillaume La Roque <glaroque@baylibre.com>"

Binding for Amlogic Thermal

Shared schema rule ($ref): thermal-sensor.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "amlogic,g12a-cpu-thermal", "amlogic,g12a-ddr-thermal"

Item 2

Exact value (const): "amlogic,g12a-thermal"

Rule 2

Exact value (const): "amlogic,a1-cpu-thermal"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

amlogic,ao-secure — required here #

phandle to the ao-secure syscon

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

#thermal-sensor-cells — not listed as required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "amlogic,ao-secure"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

temperature-sensor@ff634800 {
    compatible = "amlogic,g12a-cpu-thermal",
                 "amlogic,g12a-thermal";
    reg = <0xff634800 0x50>;
    interrupts = <0x0 0x24 0x0>;
    clocks = <&clk 164>;
    #thermal-sensor-cells = <0>;
    amlogic,ao-secure = <&sec_AO>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page