Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp287422iog; Fri, 24 Jun 2022 04:09:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tkuaYbDvUnmDtZ0yPkr6lWC1e+fsLuFAocsUEbk2tsgmua1L2YOXHRVA9TblMUceufWGJ+ X-Received: by 2002:a17:906:5253:b0:711:ee52:764e with SMTP id y19-20020a170906525300b00711ee52764emr12747050ejm.171.1656068959476; Fri, 24 Jun 2022 04:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656068959; cv=none; d=google.com; s=arc-20160816; b=nxMOBMJn5Eo08gMYbrkXErsVyF79gG5JkbdhSRZyccgjdedUHGEaByNRGwc6XgrjNK 6v+ju4tVmhsvSLDpqlLeQDojhjbhNP7cMZ3IaoAvJcj0I3HN+46yLhYaKiuLa8yIV7CV cAiyb+R9SykkJQLkrNTDfS52BHRFiZntZoeEcNOBSh3lBY2jyo2wW/FoWlN8Ki6Nd2sn zElbGloPYjTFzToeAsOM6bzfIqeM6ypOeIKOMtzivBPXSafOvR5nAnpuJMA+Ee+3u56S rBBJDF6hAWzdTelZwhKL3xRxywZSzsaq/ukWJZfpvmuwAOQtDrJRZcnK0KP+2VUbIUdE XW8Q== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=2t+7HTFw4Am9k5wfnt+zpTYwsim5TZ2i9yEsItPpeso=; b=KrUGNMXd6KksR3RG+t67ImL6sJqtOctUAteFm3gdw5sOuJFAVddbXFbkxhZHAt96CO jyP43e4D72d4Zt1jBMvE7aXcyW6kBDQ9WT4UsB1xfGTMbpdLZe4Z+iVom+gshcoYoNIe 6rJIFrUB1GWeso7Onh3JwM1BRwkTWmkm55MWnz7ZMVIVZq1hf6XKgw9poWU2UBJl12Tb EfvcGQEk9u3znjuCdR/eHlBbrj5zqJNcDTuhQMph1FTc1jTnrl2MHH97OS4txzxQQTO2 cYDxnGUlmS12L/asKsXOGKWinTvue5Piahj3YWV9K+1pZAcYvTZ+9/JaEt/iqGQb4AfK 10xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xcoXh7yC; 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 ht8-20020a170907608800b007262a166933si2526249ejc.165.2022.06.24.04.08.30; Fri, 24 Jun 2022 04:09:19 -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=xcoXh7yC; 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 S231598AbiFXKpS (ORCPT + 99 others); Fri, 24 Jun 2022 06:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231639AbiFXKpN (ORCPT ); Fri, 24 Jun 2022 06:45:13 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 554E87C86B for ; Fri, 24 Jun 2022 03:45:11 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id q6so3788646eji.13 for ; Fri, 24 Jun 2022 03:45:11 -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 :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=2t+7HTFw4Am9k5wfnt+zpTYwsim5TZ2i9yEsItPpeso=; b=xcoXh7yCPrSwwOXsVEte8S9NR0zXlkpvvmSX4mcTWFeTdYGxCOjXXMGpaIaqsIAE1K bp0d/k4GmQ8d8KFLm3LHJNOZx0WMiu4WZUX7HLNDAsZEJN1sptGsrLYyPxjY9ktKrSY+ anicQhYWBm83eN/+nf24xt/88s2e96BqLLMqqV5kNG1Cun51WNovucO46nd97ihvrKZF dnLW7i1sNcOp3Mp4GU7oElU9RGuLLHZTaYOd/EiSoahcaoQ1ovR0ARSV/9WojV7BCFK1 Svcita+pSItq8jdZ6ZzrgytfqP0wj21BQU9Nqu6VjwpUbWuvEYZFpH+8A2yDStdJm384 PEnQ== 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:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=2t+7HTFw4Am9k5wfnt+zpTYwsim5TZ2i9yEsItPpeso=; b=foB69FWg/fH/QITbxNKlDwGklaeew8YB/5X/Kc3pEa5Vkx//EbU1lmVpsC3AowhORv NDthH15NslKH3M04cS0c+SGjDJXsK8eUZZ2uONfCL6KPDvw/fytoqx1FvdLbcrM74ysL /kkENve4+EpiVFycEGiMJisw2vIkF2qwfvBiBEEu7Ctd9ac4nSyr1cfPY8cPZeQlV9dq kxBIzdMELIZQ9nmxMz085L+sh8BRD/ZuJezLUuuhwEpCOD+rVQd34nHHG8RDLKl1GzXw rCmlMo6/MnGBuZVNK5oB2A4BqezC5t27ZbrGCuJfUBfyN/gBDy0K19L5TzVQJSDoCi4Z R4pg== X-Gm-Message-State: AJIora82Vkk0ZRMASr5YNplqoztDkfzWLuntCCMWLIiWcz0sNeIYrSha 6DXeeoWmlZdsys78bWMlNPNNQQ== X-Received: by 2002:a17:906:2dd:b0:712:1293:3dd8 with SMTP id 29-20020a17090602dd00b0071212933dd8mr12766549ejk.448.1656067509878; Fri, 24 Jun 2022 03:45:09 -0700 (PDT) Received: from [192.168.0.234] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id ci25-20020a170906c35900b006fe921fcb2dsm906732ejb.49.2022.06.24.03.45.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jun 2022 03:45:09 -0700 (PDT) Message-ID: <237b1ecc-9a87-b37f-46fd-4612a7ae56f6@linaro.org> Date: Fri, 24 Jun 2022 12:45:07 +0200 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 v3 03/14] dt-bindings: leds: mt6370: Add Mediatek mt6370 current sink type LED indicator Content-Language: en-US From: Krzysztof Kozlowski To: ChiaEn Wu , lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, sre@kernel.org, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, jic23@kernel.org, lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, deller@gmx.de Cc: chiaen_wu@richtek.com, alice_chen@richtek.com, cy_huang@richtek.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-iio@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com References: <20220623115631.22209-1-peterwu.pub@gmail.com> <20220623115631.22209-4-peterwu.pub@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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=ham 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 24/06/2022 12:35, Krzysztof Kozlowski wrote: > On 23/06/2022 13:56, ChiaEn Wu wrote: >> From: ChiYuan Huang >> >> Add Mediatek mt6370 current sink type LED indicator binding documentation. >> >> Signed-off-by: ChiYuan Huang >> --- >> >> v3 >> - Use leds-class-multicolor.yaml instead of common.yaml. >> - Split multi-led and led node. >> - Add subdevice "led" in "multi-led". >> --- >> .../bindings/leds/mediatek,mt6370-indicator.yaml | 77 ++++++++++++++++++++++ >> 1 file changed, 77 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml >> >> diff --git a/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml b/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml >> new file mode 100644 >> index 0000000..45030f3 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml >> @@ -0,0 +1,77 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/leds/mediatek,mt6370-indicator.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: LED driver for MT6370 PMIC from MediaTek Integrated. >> + >> +maintainers: >> + - Alice Chen >> + >> +description: | >> + This module is part of the MT6370 MFD device. >> + Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode >> + >> +allOf: >> + - $ref: leds-class-multicolor.yaml# >> + >> +properties: >> + compatible: >> + const: mediatek,mt6370-indicator >> + >> + "#address-cells": >> + const: 1 >> + >> + "#size-cells": >> + const: 0 >> + >> +patternProperties: >> + "^multi-led@[0-3]$": >> + type: object > > Here as well unevaluatedProperties:false (on the type level) Ah, no, it does not work currently. Your code looks good. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof