1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 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-flashlight 19 20 "#address-cells": 21 const: 1 22 23 "#size-cells": 24 const: 0 25 26patternProperties: 27 "^led@[0-1]$": 28 type: object 29 $ref: common.yaml# 30 unevaluatedProperties: false 31 32 properties: 33 reg: 34 enum: [0, 1] 35 36required: 37 - compatible 38 - "#address-cells" 39 - "#size-cells" 40 41additionalProperties: false 42