2022-07-22 11:06:36

by ChiaEn Wu

[permalink] [raw]
Subject: [PATCH v6 04/13] dt-bindings: leds: Add MediaTek MT6370 flashlight

From: Alice Chen <[email protected]>

Add MediaTek MT6370 flashlight binding documentation.

Signed-off-by: Alice Chen <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---
.../bindings/leds/mediatek,mt6370-flashlight.yaml | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml

diff --git a/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml
new file mode 100644
index 0000000..e9d02ed
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Flash LED driver for MT6370 PMIC from MediaTek Integrated.
+
+maintainers:
+ - Alice Chen <[email protected]>
+
+description: |
+ This module is part of the MT6370 MFD device.
+ Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode.
+
+properties:
+ compatible:
+ const: mediatek,mt6370-flashlight
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 0
+
+patternProperties:
+ "^led@[0-1]$":
+ type: object
+ $ref: common.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ reg:
+ enum: [0, 1]
+
+required:
+ - compatible
+ - "#address-cells"
+ - "#size-cells"
+
+additionalProperties: false
--
2.7.4


2022-07-30 22:05:56

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH v6 04/13] dt-bindings: leds: Add MediaTek MT6370 flashlight

On Fri 2022-07-22 18:23:58, ChiaEn Wu wrote:
> From: Alice Chen <[email protected]>
>
> Add MediaTek MT6370 flashlight binding documentation.
>
> Signed-off-by: Alice Chen <[email protected]>
> Reviewed-by: Krzysztof Kozlowski <[email protected]>

You'll need to get sign-offs right... And review from dt people before
this can be applied.

Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.


Attachments:
(No filename) (487.00 B)
signature.asc (201.00 B)
Download all attachments