Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1822032iog; Thu, 16 Jun 2022 14:48:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vzIxIjb3rvJ3OwM2s+Y88tHYN1EzQ46MXD0Uw6mWDRUq0h11I/TzeJ3QYq5VHK8qYlVNYg X-Received: by 2002:a65:64c8:0:b0:3fa:91bf:a5d8 with SMTP id t8-20020a6564c8000000b003fa91bfa5d8mr6351687pgv.473.1655416119274; Thu, 16 Jun 2022 14:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655416119; cv=none; d=google.com; s=arc-20160816; b=Q3jlyNWG5N6L6xVsR/HxukYSkEcq5YGjKULIYVL4RFRbNXrgpSLBrNltwQB/c7bOhv 35s5xQu1CWa6rgXSAo8v75SJi2dER8YgsZENarnC7mqwVWCKQrRFlKLxe/zirGtxIkaG +q/CyhFQa+xcBFUUyS8IAvDmv8KhZiNxH/+2ew7aq+u959fl2LZ7NunqmJub4nUOStfb HrqlormefDNYwJs2T9oMmKwxAQ0JIywmRlDyax7buZKrmn58REgU/uKRZqC3Xn53TSsN 7WvH3KYhePyV4H52LH8TT117N8q39GjVTRfI5g4+8s+A8Ys61wrjkPafBmIRU0zNM7Xd iGVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1NvKVp9EY1lQLLZ0Uj/3ziHPWB5PBfQnDPktmmL6XEk=; b=XbTI/Mqd/xhJ/a+PYHRQamBTxRzhbXiI6GLftYnSnIx3Dqkn0cacsB2adnV3cuc+7n Dz4QKpod0glJV510q81LW/MjMX7hQwjsdim4Irl+qkOQ5s8WcAovqUUZzANiv4qUOCWh wIiVzIFBTz51P87qrVVlVB/z1yh5q+UYv8Y1czuPL6WDIHdFIlDgNait5Ov6MqS9TEx5 mWsArZD1Dhm5bvWc7XuC0kQErKpmIwfk/RDnNJ1nHXIVILEz3hw9slc3XoxAV2tsYDkr hCSxjLfp053jMrwyIEL+AA9HDSceZ00SeY8ez7fsz5ObV1BbreBscaD7+ArIxjoLLOtn 7dfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q6kggNEw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u7-20020a626007000000b0051b95f36eacsi3696094pfb.274.2022.06.16.14.48.26; Thu, 16 Jun 2022 14:48:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q6kggNEw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379068AbiFPVKV (ORCPT + 99 others); Thu, 16 Jun 2022 17:10:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379056AbiFPVKS (ORCPT ); Thu, 16 Jun 2022 17:10:18 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7D4160BA2 for ; Thu, 16 Jun 2022 14:10:14 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id gd1so2397409pjb.2 for ; Thu, 16 Jun 2022 14:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=1NvKVp9EY1lQLLZ0Uj/3ziHPWB5PBfQnDPktmmL6XEk=; b=Q6kggNEwsYy473XSBdvlOd5aXGi14mWaUXKCRel2oNoa9ukMQEm6VLZ36BSmEzjUw8 xVjg+yj2Cf7WYniqQWa061j05YQBrlt3J8sWSdxuzyoIGAnHdsSZK0OPY2rgLYkZCGdz RGHvnW9PyQpZtnrKN3TNt9/AMOmKe76T+/caN0MOE3lbxICjjK5bFR+Qhp/bDFV7LEnZ ygPkdnsJl4x4bJeL8fdqMJEOMIyvVNtRqEeXO2BdN/B+P+LbfjtD4WyGc67vqWXugVv3 iNbUjj0Z+ZhCSCUDlVRSwcvWTlaYCTp/0ixXT9BwdhOZGpaNiy9JJrytROI9rct/lCCR 7ykQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=1NvKVp9EY1lQLLZ0Uj/3ziHPWB5PBfQnDPktmmL6XEk=; b=apBuYPFFHMloqnfzhySuoN81KSa2U+/BH90dAzemGgQ2LkZ/ZwBeD0x0LE76I4SQhp ZNq/Ew9tTklmuyrW/cjcwXeBGoUOnvPPwCPO2JyKN0ouMgpg3E2oSU0E3cm+MvFAAG02 AL5nEYQ5uQrFDeQm96FPWoGvjvbRvzGIr8tfFevOCU4+qhasDPaCtGx0KKbVX/txJ2zv PEUvrFnrelsvnS7VUwgfYh3BamBBr90AThv/TG7sAYm/WhIRu19B/HqYb39zyq2ZYT4z vfOgi7xkMelDHm+WbdF3EFJo77FkMK2UicOeXJHrpA2XiJWi6QLh95/SewFd72q0kGfl sW4g== X-Gm-Message-State: AJIora93h5cLLvE9FNcJJyCYyoUztB5azkmBWv6jMtTIGvxD1dkKTl5g BsMRBzdI94V6kA38v74aBN9dOQ== X-Received: by 2002:a17:90b:4c8f:b0:1e6:9bf9:1ab8 with SMTP id my15-20020a17090b4c8f00b001e69bf91ab8mr6904606pjb.215.1655413814235; Thu, 16 Jun 2022 14:10:14 -0700 (PDT) Received: from [172.22.33.138] ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id n46-20020a056a000d6e00b0051868418b06sm2167316pfv.35.2022.06.16.14.10.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 14:10:13 -0700 (PDT) Message-ID: Date: Thu, 16 Jun 2022 14:10:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 04/15] dt-bindings: leds: Add Mediatek MT6370 flashlight Content-Language: en-US To: ChiaEn Wu , jic23@kernel.org, lars@metafoo.de, matthias.bgg@gmail.com, lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com, Alice Chen References: <20220613111146.25221-1-peterwu.pub@gmail.com> <20220613111146.25221-5-peterwu.pub@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220613111146.25221-5-peterwu.pub@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/06/2022 04:11, ChiaEn Wu wrote: > From: Alice Chen > > Add Mediatek MT6370 flashlight binding documentation. > > Signed-off-by: Alice Chen > --- > .../leds/mediatek,mt6370-flashlight.yaml | 44 +++++++++++++++++++ > 1 file changed, 44 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 000000000000..13610bc23d0e > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml > @@ -0,0 +1,44 @@ > +# 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 > + > +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# > + > + properties: > + reg: > + enum: > + - 0 # Address of LED1 > + - 1 # Address of LED2 Just: enum: [0, 1] No need for description. > + > + unevaluatedProperties: false > + > +required: > + - compatible > + - "#address-cells" > + - "#size-cells" > + > +additionalProperties: false Best regards, Krzysztof