Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1811920iog; Thu, 16 Jun 2022 14:31:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sB1DFpFEzF7Njrab5XBCOfCcIR1obK696bk8pKwU/Nf4JfFqFjZmEyb0mw2pGp1ykyPQtV X-Received: by 2002:a05:6a00:22ce:b0:51c:15ac:3977 with SMTP id f14-20020a056a0022ce00b0051c15ac3977mr6743851pfj.3.1655415117151; Thu, 16 Jun 2022 14:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655415117; cv=none; d=google.com; s=arc-20160816; b=08+EWF+D0y/7qOREGd4rBoX6Y9zulmBak0/QWeOM+DxpHPmcqVnGUBpju4dmeOYAV8 yGfwD0+EjLXr5g/a6fke059M2yR2PRpGTjeE53CAEMOEfgf6JGB46EhV5r7pnPH9PviH pyso/vq1ArnIUEmOSW0efYgYms+Sg9v4M3ZQ/rNI8xqVS+yGvsbeIisTLjVGtxvCSRjM 2mLFbfm3KzXLEu+1fIBlK6v6JQhhfFqYIP1uRGB1HZkqjEgT461yKuwRu7/yUELs5Ixq b6bWiZCywJbro0JZP6rjowMMnw3dzOH+u+DmlemkRmDdL6bX8x3iveU9Cee0LerT9WSh ryZA== 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=zhpZ+GjXampjNpe+tQocPabcYpHKe+t5MxtxSoAd/gk=; b=bW3jhKKnAsaxl5m/9wk2hX2YUyXAsgdSPVMIybqvgKTzYPZlRICX0et9ZqFomXKlNz yidkNI2Pa9WreUzpFWt/bAIxUOJaSyn6pPMk3/RRZQEjrxeL3uyeRLypQ70NtB0C8xnz f31hBexdkdeAgJZraqOs5G+cD6kXl7kv8E6l0EtXnZ60jysLaWjjOo3ynpazce5iRlAo B9i6n7xofF8M+uXMSrRDAJtt5bNtSM4Tku2zsfFTp3q1KTQrAN2P+8/PbIY8Sh+PMKe8 DnCbU8jTo13TMqIoPtcZJqJpoCabb2txQDJ2yFWXczxucnZgjQW3+N9bRIMLEz161TRc /C2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="c/mnodrb"; 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 w64-20020a636243000000b003c6dde2ad19si3719129pgb.26.2022.06.16.14.31.43; Thu, 16 Jun 2022 14:31:57 -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="c/mnodrb"; 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 S1379072AbiFPVJ1 (ORCPT + 99 others); Thu, 16 Jun 2022 17:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379048AbiFPVJZ (ORCPT ); Thu, 16 Jun 2022 17:09:25 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31F9E60B85 for ; Thu, 16 Jun 2022 14:09:24 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id e11so2519180pfj.5 for ; Thu, 16 Jun 2022 14:09:24 -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=zhpZ+GjXampjNpe+tQocPabcYpHKe+t5MxtxSoAd/gk=; b=c/mnodrbMqdEEZtK4ydiC51al8PB7S6Cw/2mpPGAnndPSmu2+WM1Ll5DPr4l2TlOQS nqxcxIqTkzcsEO3ksP2QW/htFKuizhTMRc2FmleMjdWDxtyteBBiNyVAp83VADdUQn3X G/hCcE8fhF8THykoNLr9837Zpz64pICy6pXDGznnY2WIMG93RYJ0Cm2F5tQqmGHz/ew2 yqiJMi3apylM6BgwpGCG/sfJ83FiC5EaO/9MBOx8Ti2RX8TKdRByxdJEyDRw3bdyXr/x BWCtUHy2R46F/HtRQqol9dJaSnsHI9AI05hVUXfj35TZbFtNdUodT4OBz0pviOs5GdPx gbLQ== 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=zhpZ+GjXampjNpe+tQocPabcYpHKe+t5MxtxSoAd/gk=; b=z6KkUO/iEr/LT3vXIDGzWcKwpchmifJ3Mk4/UEuj4x6PLIx0pdYaeEnn8CheTXwiNE H4tvsGo9m1nS/p0KXyaIf1Mis+O6Ud+oXmVzBR9eigtassmx664kxIxBIxU5vza57Oiu yBm9w5OenxYAtiZMSmkhNYdrT/Gc3iCHYg6BVYSnkmSyIxQwD8bhXqE5LQknxAuvB040 l5zXw+4nOZ1/TYThNRXKdB0bh2IvnroyqaKfRDTM5AJj0al9XMYd6LoXQukZj1vuS2ej XYh2aDP7FeIqKzGg1oEgnRnWdwk7wgncGBV9/W/a5M3HZl+CQohXg7uwkmKjZ2OsmtWm OLPw== X-Gm-Message-State: AJIora+A2oiEY12i0QJJhxuJrWChkjKPWSCiR5RhT8PYj2enIR9ytgmU Wh+JZUJZTK6uzXQPKje2JrhZ5g== X-Received: by 2002:a63:3c3:0:b0:3fc:5864:7412 with SMTP id 186-20020a6303c3000000b003fc58647412mr6068104pgd.138.1655413763706; Thu, 16 Jun 2022 14:09:23 -0700 (PDT) Received: from [172.22.33.138] ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id u2-20020a17090a4bc200b001e2ebcce5d5sm1929001pjl.37.2022.06.16.14.09.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 14:09:23 -0700 (PDT) Message-ID: <91e9e3af-8208-7535-1864-08744f934593@linaro.org> Date: Thu, 16 Jun 2022 14:09:21 -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 03/15] dt-bindings: leds: mt6370: Add Mediatek mt6370 current sink type LED indicator 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, ChiYuan Huang References: <20220613111146.25221-1-peterwu.pub@gmail.com> <20220613111146.25221-4-peterwu.pub@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220613111146.25221-4-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=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 13/06/2022 04:11, ChiaEn Wu wrote: > From: ChiYuan Huang > > Add Mediatek mt6370 current sink type LED indicator binding documentation. > > Signed-off-by: ChiYuan Huang > --- > .../leds/mediatek,mt6370-indicator.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 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 000000000000..42b96c8047a3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml > @@ -0,0 +1,48 @@ > +# 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 > + > +properties: > + compatible: > + const: mediatek,mt6370-indicator > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > +patternProperties: > + "^(multi-)?led@[0-3]$": If this is multi-led, then you should reference /schemas/leds/leds-pwm-multicolor.yaml See other examples using it. Best regards, Krzysztof