42 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Flash LED driver for MT6370 PMIC from MediaTek Integrated.8 9maintainers:10 - Alice Chen <alice_chen@richtek.com>11 12description: |13 This module is part of the MT6370 MFD device.14 Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode.15 16properties:17 compatible:18 const: mediatek,mt6370-flashlight19 20 "#address-cells":21 const: 122 23 "#size-cells":24 const: 025 26patternProperties:27 "^led@[0-1]$":28 type: object29 $ref: common.yaml#30 unevaluatedProperties: false31 32 properties:33 reg:34 enum: [0, 1]35 36required:37 - compatible38 - "#address-cells"39 - "#size-cells"40 41additionalProperties: false42