Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4044686pxu; Mon, 21 Dec 2020 02:54:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeGmsuGb7nxwVHWANGPy31EUQS6Nn8N75MF/DYN2iAXWxvT98nvV+jzAZtcba+RNb0315u X-Received: by 2002:a17:907:2108:: with SMTP id qn8mr14592716ejb.127.1608548050347; Mon, 21 Dec 2020 02:54:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608548050; cv=none; d=google.com; s=arc-20160816; b=ZWnJ40E5OXG2wFpaI2Cz3WQuhZoJw+0OGToyyA9JUbRbKeXFov4do4vqv588623P/1 XzhWnM6x/nAI1gS7gJihwlqWVxn9eiZKrsyu4T+Ds68ZUHchIxB0DrOdjQ9aso2jXT2F DcFoiyHQaUAsJQ9WUfiubEf9RvuRurQo9mdfNvdABTqGf3mIR2kK0o7z/JLUHVRuHeIh B9U7MnIEc1UUkFabYJZfl2F/pjG8aCw7vUlMBaAw4w/Wimceq0Mszsql31+e/JtbkQGg W0IVCGyeQYYlJ1X8QRryM+rEreDNMVbJRc6mWn9uRaYiSjXfsnjiQX8Hha+KBSExZfcf 17mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MNobEilaD0h1UawZqnqzshuQEXfNf6QvqrdcgX0cMjQ=; b=G9rzonQ8CmOMJz0mVkxdZtrKbgMow99FI8ijiOBtfsb4dUrKUFqEF2Bx17RbH6fTZC WiB0uSTAROzAGQWzZoJU3LTbCiJuSFlEWlz01csxWPo5Oh2fxCDDsNZXXfHwOnPR19T9 2mkl6EUJL3JAx1Zr/BeL6X/mCqeco1AkWFpsnAiS25PGYkdrHg6nlbS9474QBlCnM1qn eGXKfZWTCkCyw3N69lsWO3TONNYzEUCofWS4MJblWhLQ1Ay8oXyXrQ5jCFi4jnZUbVjp 1xfuydLEkticmK/E+08hCOEmt2MRGUL1U8oP3wGR42Va+15JqpGG477dD0STUg8pK02e If7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dHSFfanV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q5si8356663ejj.266.2020.12.21.02.53.47; Mon, 21 Dec 2020 02:54:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dHSFfanV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726325AbgLUKwm (ORCPT + 99 others); Mon, 21 Dec 2020 05:52:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbgLUKwd (ORCPT ); Mon, 21 Dec 2020 05:52:33 -0500 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8D5AC061282 for ; Mon, 21 Dec 2020 02:51:52 -0800 (PST) Received: by mail-oi1-x22f.google.com with SMTP id 15so10850222oix.8 for ; Mon, 21 Dec 2020 02:51:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MNobEilaD0h1UawZqnqzshuQEXfNf6QvqrdcgX0cMjQ=; b=dHSFfanVm4ow6eIvl0iRyabcaty+3B3PDQwZTQUnM710BAkk2LIfArzbjS4qQsXpJU f4VwdCAoJ+ZQudclnRlZ2q6Mb7Bt0Qav6TQYFGXraJb/8NgpogVjZ3qgEyM8HJ3CT311 4FbMKcKCBUEYaqs/pz9ublufxybe4jInJtch90bvPlRbJaLRIXQ/nFnVFbPSR6WtMfLn urUrgPuQQ4kbc+Jxs0gPmrOha5EeIWzIaZ2bq/FRSKLW6ka/1hDPlHOuz7E3KiJNtqvg o8tQuptHdbwwkgu/Jk/GPIDQjBcpKocTerfFOeTbJfBAwaWrGhy9veJPPRs/iq1UtTqP LO8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MNobEilaD0h1UawZqnqzshuQEXfNf6QvqrdcgX0cMjQ=; b=dkuwOV4MDpB/1XjajtK2I7EJPxUKXSPpf22RVkiIXA+KpO8TrTYgqUX3cvyWPfBX/t SdIrPCQV0kyt6i55cPUvNJXcKw6ulS7cz7V4zNqYPoKnq+L/BlFSi0PVSOdgRw3e1F1J pOncvbo1UkwzJTx/qjmBr7dR0ncJ3EsMKQ9XcW+3AweoIGcrQR333bF3QJJqIfwm7vwN 5LYTDJq8T+8Y0EmjPIFx3pGaO/S1QAduww8zGNVbX3kHCru3Gb9Gvi3pufYz6Y6tFil3 kY2gSk6rNhfuy7MvMRQaJdWX3xpqqnb7vIrCerAYoEOP6C5ZeYDU5KDnyUMM6R1xsW4l c9ZQ== X-Gm-Message-State: AOAM533YDLPMN2eI8SvvIkpZ7HwubgTyh0NUeOu6K473fdpK9kNryqfw D7WGoPf0UM0e/dS4ZGoczb73mhnC9h1yPJcGpRk= X-Received: by 2002:aca:c492:: with SMTP id u140mr10446437oif.51.1608547912229; Mon, 21 Dec 2020 02:51:52 -0800 (PST) MIME-Version: 1.0 References: <1597912530-5374-1-git-send-email-gene.chen.richtek@gmail.com> In-Reply-To: From: Gene Chen Date: Mon, 21 Dec 2020 18:51:40 +0800 Message-ID: Subject: Re: [PATCH] dt-bindings: mfd: mediatek: Add bindings for MT6360 PMIC To: Matthias Brugger , Rob Herring Cc: Lee Jones , linux-arm Mailing List , "moderated list:ARM/Mediatek SoC support" , Linux Kernel Mailing List , Gene Chen , Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Reviewers, Should I wait for all sub-devices dt-binding review done, then send the integral binding document? Gene Chen =E6=96=BC 2020=E5=B9=B411=E6=9C=881= 3=E6=97=A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=881:54=E5=AF=AB=E9=81=93=EF= =BC=9A > > Dear Reviewers, > > Please let me know if there is anything need to be revised. > > Gene Chen =E6=96=BC 2020=E5=B9=B48=E6=9C=88= 20=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=884:36=E5=AF=AB=E9=81=93=EF= =BC=9A > > > > From: Gene Chen > > > > Add bindings for MT6360 PMIC > > > > Signed-off-by: Gene Chen > > --- > > Documentation/devicetree/bindings/mfd/mt6360.yaml | 142 ++++++++++++++= ++++++++ > > 1 file changed, 142 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml > > > > diff --git a/Documentation/devicetree/bindings/mfd/mt6360.yaml b/Docume= ntation/devicetree/bindings/mfd/mt6360.yaml > > new file mode 100644 > > index 0000000..5ad1afd > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/mfd/mt6360.yaml > > @@ -0,0 +1,142 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/mfd/mt6360.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: MT6360 PMIC from MediaTek Integrated > > + > > +maintainers: > > + - Gene Chen > > + > > +description: | > > + MT6360 is a PMIC device with the following sub modules. > > + It is interfaced to host controller using I2C interface. > > + > > + This document describes the binding for PMIC device and its sub modu= le. > > + > > +properties: > > + compatible: > > + const: mediatek,mt6360 > > + > > + reg: > > + description: > > + I2C device address. > > + maxItems: 1 > > + > > + wakeup-source: true > > + > > + interrupts: > > + maxItems: 1 > > + > > + interrupt-names: > > + enum: > > + - IRQB > > + > > + interrupt-controller: true > > + > > + "#interrupt-cells": > > + const: 1 > > + description: > > + The first cell is the IRQ number. > > + > > + regulator: > > + $ref: ../regulator/mt6360-regulator.yaml > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - interrupt-controller > > + - "#interrupt-cells" > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + #include > > + i2c { > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + > > + mt6360@34 { > > + compatible =3D "mediatek,mt6360"; > > + reg =3D <0x34>; > > + wakeup-source; > > + interrupts-extended =3D <&gpio26 0 IRQ_TYPE_LEVEL_LOW>; > > + interrupt-names =3D "IRQB"; > > + interrupt-controller; > > + #interrupt-cells =3D <1>; > > + regulator { > > + compatible =3D "mediatek,mt6360-regulator"; > > + LDO_VIN3-supply =3D <&BUCK2>; > > + buck1 { > > + regulator-compatible =3D "BUCK1"; > > + regulator-name =3D "mt6360,buck1"; > > + regulator-min-microvolt =3D <300000>; > > + regulator-max-microvolt =3D <1300000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP > > + MT6360_OPMODE_ULP>; > > + }; > > + BUCK2: buck2 { > > + regulator-compatible =3D "BUCK2"; > > + regulator-name =3D "mt6360,buck2"; > > + regulator-min-microvolt =3D <300000>; > > + regulator-max-microvolt =3D <1300000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP > > + MT6360_OPMODE_ULP>; > > + }; > > + ldo6 { > > + regulator-compatible =3D "LDO6"; > > + regulator-name =3D "mt6360,ldo6"; > > + regulator-min-microvolt =3D <500000>; > > + regulator-max-microvolt =3D <2100000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP>; > > + }; > > + ldo7 { > > + regulator-compatible =3D "LDO7"; > > + regulator-name =3D "mt6360,ldo7"; > > + regulator-min-microvolt =3D <500000>; > > + regulator-max-microvolt =3D <2100000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP>; > > + }; > > + ldo1 { > > + regulator-compatible =3D "LDO1"; > > + regulator-name =3D "mt6360,ldo1"; > > + regulator-min-microvolt =3D <1200000>; > > + regulator-max-microvolt =3D <3600000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP>; > > + }; > > + ldo2 { > > + regulator-compatible =3D "LDO2"; > > + regulator-name =3D "mt6360,ldo2"; > > + regulator-min-microvolt =3D <1200000>; > > + regulator-max-microvolt =3D <3600000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP>; > > + }; > > + ldo3 { > > + regulator-compatible =3D "LDO3"; > > + regulator-name =3D "mt6360,ldo3"; > > + regulator-min-microvolt =3D <1200000>; > > + regulator-max-microvolt =3D <3600000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP>; > > + }; > > + ldo5 { > > + regulator-compatible =3D "LDO5"; > > + regulator-name =3D "mt6360,ldo5"; > > + regulator-min-microvolt =3D <2700000>; > > + regulator-max-microvolt =3D <3600000>; > > + regulator-allowed-modes =3D > + MT6360_OPMODE_LP>; > > + }; > > + }; > > + }; > > + }; > > -- > > 2.7.4 > >