Flash LED driver for MT6370 PMIC from MediaTek Integrated.

Schema identifier ($id): "http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml#"

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

Maintainers (maintainers): "Alice Chen <alice_chen@richtek.com>"

This module is part of the MT6370 MFD device. Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt6370-flashlight"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^led@[0-1]$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — not listed as required here

Allowed values (enum): 0, 1

Required in this object (required): "compatible", "#address-cells", "#size-cells"

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

false

Not 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