Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1812892iog; Thu, 16 Jun 2022 14:33:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sQBjN3SBZsN67J2MtlQuq/hUrGoSGlrJ9uY2rae4QhW8T0c0AwxOkGc4h7qF+AthEdI2ob X-Received: by 2002:a63:4b02:0:b0:3fc:a31a:304 with SMTP id y2-20020a634b02000000b003fca31a0304mr6084160pga.121.1655415207770; Thu, 16 Jun 2022 14:33:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655415207; cv=none; d=google.com; s=arc-20160816; b=G//QaG+7qnRI1Ao28MKDAfGarYpb2JPCzn6qpndbUJY18AyLt4+bkReJ5e/jusaW0+ +p7kWlXiEBkAwK98Ceqi7f7ytvAZA5FuEIfv8mm8AQcGJXBW3h72HQijCtXCFdnycPch 3CD1WwqX/y0LSPqY+2nt4Fghctdh53vwJ8cZwQOQSugCUVQmBsTOlcZMiWzBnYHkQSRN 9MYE8wW/CP407Cgyo8SDaRSPN0J9ZrvXUggA4rtDPk2jPSu7X6i6JaaWG6WvpMKpsz6a 9NsbQyRNkXo+2zoGYIiLD9xt6kNnSx2UQEW1UaSoXbc1V8yDQ6Viw1Pvb0spLzfzIWvo d1Tg== 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=tml1AzLWRr4YzF3sAdjGFBXOgQpNGM4CdcoqHXy6fq8=; b=exTHXfp3kUI54aJYQv8LyxRSr6Nxc4wmso6H+HE/zZ4fKvbytTBpK/w6qkeWqSwXzb QkmguJkG/ToKO8xeCjfVp/IZbo4l9vfOapht4f9Eqs+8y/9X1BYWpIPP0deQxA3+S3JN 3F5HsQ7sYg+yQuUUmTVoBlVbiy1VWkOH9r8CKy6BTkaGATbLXvUd9V5pLlx1sWNOdvQT uCsgihPooBO2bFzpR8zlP1y2yaar0TRmlBJZPbvyjWfhqd9KUrZLf20dsI0Ba50aKUMm uCt9UKXOuSZIJ+uybJo4ud3p0Bho+94FLnWxpc32+IAf9wdUUJB9DPuF09KimC1C9kDt dkAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jqIsk7Q+; 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 a33-20020a631a61000000b003db74ac9a75si3611704pgm.464.2022.06.16.14.33.15; Thu, 16 Jun 2022 14:33:27 -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=jqIsk7Q+; 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 S1379123AbiFPVPt (ORCPT + 99 others); Thu, 16 Jun 2022 17:15:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378332AbiFPVPs (ORCPT ); Thu, 16 Jun 2022 17:15:48 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E675560AB9 for ; Thu, 16 Jun 2022 14:15:46 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id u2so2534399pfc.2 for ; Thu, 16 Jun 2022 14:15:46 -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=tml1AzLWRr4YzF3sAdjGFBXOgQpNGM4CdcoqHXy6fq8=; b=jqIsk7Q+m6EcCuXgHO5qdrSbk9XCkK4QrELg4P/y5TFyxvqpcMjqJNM+E8zK9d5Q7c FcDjUcLBJ/8XBeegZ7WhoXEoQ9Rms8fcCrmoVVla5DeUWH6FcdNUr90bcpBiNfd+0yX0 QUgEc7zEmcPW4VNgURMMFv7Yf6dnaMW3BF2L0DpMkLVllk6pUf88SARfSTB/OlxSXWd/ S/ngORpZ2XySJVG+qWCpq4u1c45IieRfdipQCz36HZit/QPrMn0O9wYhQRmtnisyxeFf qptBWeOlEWksEUDXOIzm9lezHFrXuazZFiYdP96fsDiKS/P1FjazmQAqxUHu6o5SMaQW SbNQ== 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=tml1AzLWRr4YzF3sAdjGFBXOgQpNGM4CdcoqHXy6fq8=; b=tYzgA9PvEGQnmFSiwQAJSN9wC6f1bNyfELM6Yp+v0oHlOQYbtndqXzUsGJ0Oc2LDpa IeFyHrCFd15PxAJXfy3wKRqMN+XyBIvJ2WZaBpQgq+VTIhbA7fky1sqLlHXbFYUVA4dO 0s2TeYn2yV8jitjb1ty4SN1uGnEWgB1ayB1YLs1mpfWGYQweG8l+ctI6URLngRer1yHl UmEZCmsx3hJFtNIB6mrO5HJuDHdiVo+tG5mplJ91ISIH+h7iYsaAX4/IEdEA0Xu+0Jn8 jnbQcxyj1RdHnOlYmvn2clOIY68J3gR+LRVG+gJE5xat+2Z2t9/sEiyN2RrT3iOBZPCF w9UA== X-Gm-Message-State: AJIora+L8xZLzvqapPxGd8kgwSLDlGOLA2bpIfgt1mrHSRmfE9/H8Wzn Pffl9Mk/TwDY/ZtCImrv1mCokw== X-Received: by 2002:a63:3ec7:0:b0:408:d3ac:9c0c with SMTP id l190-20020a633ec7000000b00408d3ac9c0cmr6200985pga.176.1655414146402; Thu, 16 Jun 2022 14:15:46 -0700 (PDT) Received: from [172.22.33.138] ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id b13-20020a170902d88d00b0016196bcf743sm2052571plz.275.2022.06.16.14.15.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 14:15:46 -0700 (PDT) Message-ID: <28b73da7-d97c-5ea5-0b22-724fa971aeb0@linaro.org> Date: Thu, 16 Jun 2022 14:15:44 -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 06/15] dt-bindings: mfd: Add Mediatek MT6370 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-7-peterwu.pub@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220613111146.25221-7-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 binding documentation. > > Signed-off-by: ChiYuan Huang > --- > .../bindings/mfd/mediatek,mt6370.yaml | 279 ++++++++++++++++++ > .../dt-bindings/iio/adc/mediatek,mt6370_adc.h | 18 ++ > 2 files changed, 297 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt6370.yaml > create mode 100644 include/dt-bindings/iio/adc/mediatek,mt6370_adc.h > > diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6370.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6370.yaml > new file mode 100644 > index 000000000000..6c2639e81e50 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6370.yaml > @@ -0,0 +1,279 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/mediatek,mt6370.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek MT6370 SubPMIC > + > +maintainers: > + - ChiYuan Huang > + > +description: | > + MT6370 is a highly-integrated smart power management IC, which includes a > + single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C & > + Power Delivery (PD) controller, dual flash LED current sources, a RGB LED > + driver, a backlight WLED driver, a display bias driver and a general LDO for > + portable devices. > + > +properties: > + compatible: > + const: mediatek,mt6370 > + > + reg: > + maxItems: 1 > + > + wakeup-source: true > + > + interrupts: > + maxItems: 1 > + > + interrupt-controller: true > + > + '#interrupt-cells': > + const: 1 > + > + adc: > + type: object > + description: | > + Provides 9 channels for system monitoring, including vbusdiv5, vbusdiv2, > + vbat, vsys, chg_vddp, ts_bat, ibus, ibat, and temp_jc. > + > + properties: > + compatible: > + const: mediatek,mt6370-adc > + > + "#io-channel-cells": > + const: 1 > + > + required: > + - compatible > + - '#io-channel-cells' Decide in your entire patchset whether you use ' or ". Don't mix. Since you did not test your bindings, I am not reviewing it. First, test them. No need for me to do the job of a automated tool, right? Best regards, Krzysztof