Common Fan Properties

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/fan-common.yaml#"

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

Maintainers (maintainers): "Naresh Solanki <naresh.solanki@9elements.com>", "Billy Tsai <billy_tsai@aspeedtech.com>"

Properties and child nodes (properties) #

max-rpm — not listed as required here #

Max RPM supported by fan.

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

Maximum value (maximum): 100000

min-rpm — not listed as required here #

Min RPM supported by fan.

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

Maximum value (maximum): 1000

pulses-per-revolution — not listed as required here #

The number of pulse from fan sensor per revolution.

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

Maximum value (maximum): 4

tach-div — not listed as required here #

Divisor for the tach sampling clock, which determines the sensitivity of the tach pin.

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

target-rpm — not listed as required here #

The default desired fan speed in RPM.

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

fan-driving-mode — not listed as required here #

Select the driving mode of the fan.(DC, PWM and so on)

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

Allowed values (enum): "dc", "pwm"

pwms — not listed as required here #

PWM provider.

Maximum number of items (maxItems): 1

#cooling-cells — not listed as required here #

Exact value (const): 2

cooling-levels — not listed as required here #

The control value which correspond to thermal cooling states.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

tach-ch — not listed as required here #

The tach channel used for the fan.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

label — not listed as required here #

Optional fan label

fan-supply — not listed as required here #

Power supply for fan.

reg — not listed as required here #

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Edit this page