Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2632706rwb; Mon, 7 Aug 2023 00:16:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGynt65gBYc0EMGp75P6t1cKzMysvXTtHYOioPo00B1mhjqH0IAfmeLrz6RdAYEI/4rB2V0 X-Received: by 2002:a05:6512:3b1:b0:4f4:dbcc:54da with SMTP id v17-20020a05651203b100b004f4dbcc54damr4612923lfp.27.1691392602806; Mon, 07 Aug 2023 00:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691392602; cv=none; d=google.com; s=arc-20160816; b=djRH0ZYG4BjNK2AtHEcxefoMHqWB8f79utFG6di1oQrhTgW+uQSOMQrAb9+X3dV9jd Q8I+OtlLadaJWPzdjmQESYLLW1PIymhsncwCK6hdyElpPTPXiLziVVsVtGNywufI4b1V Uk2CABqdTIetrdJsXzUfvSJwFt4RmC2AHTbNrJeSs3aLUsfhA4HF9+vqLHQYuFa/9dJr sPvOc8YS0E8ibwnzJl87uvKk++mmzG9DLHDi3MvHdWJJUoY5TKJ7gotV8GN77bT1i4PO 9aq7ko1WFRcW4DvUIDFFDwP46aBsqNsLYJDJGXLn9uY0czOiXvG2VR+FkrguOL+dowLi FaPQ== 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=3A446E/kT3GEJ5OdOfp6vlTjEoG2ufXKFcEfUJuKEMI=; fh=iUWteiUyAlGaFI4IrWGyPGgqjUwzXbYOOc4sWqAyAI8=; b=MLbkw9vpVK6unuHq+Y19CGW3gWitg8es65NnizchECMV5g1tTJ7EmujR4tcZR9Ajrd yT8o7BTMF4HPx/cBV3KMiym2pCaYR7zHyVF+zleLFVz3UiK2sOk7g7bA8vma88L2asCA 1Iu2Gc9uaX7tHr+AF9oPoUsaoX19fDl2Vf3Fwz4URiCFajGg26ZHNaRaYSeQlWsFwxPb TuKyyAPDyfJtYQQCrIDfgY/19pxvMsq4txoEcRzF45Y+QnL/V2I9/O6IGn1ZIAtRp6cF 6hDCXrpgIzdbY3mAaKj73DWi3BaCfLpqU2ANokTgC7D0U5ODEicCGLTOPiS8LM+uk/Z5 BVqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wY2Bp5xh; 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 k9-20020a056402048900b00523371c07b8si1344761edv.593.2023.08.07.00.16.18; Mon, 07 Aug 2023 00:16:42 -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=wY2Bp5xh; 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 S229584AbjHGGXz (ORCPT + 99 others); Mon, 7 Aug 2023 02:23:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjHGGXy (ORCPT ); Mon, 7 Aug 2023 02:23:54 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E322610F9 for ; Sun, 6 Aug 2023 23:23:52 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fe4ad22eb0so24868885e9.3 for ; Sun, 06 Aug 2023 23:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691389431; x=1691994231; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3A446E/kT3GEJ5OdOfp6vlTjEoG2ufXKFcEfUJuKEMI=; b=wY2Bp5xhxoMYp9AWapejnTHfg+ixw+U4HdSL7LFDfxm1JL3Sd3BL4myGDItmJgB6/s zV5taHSANXkoO8LH9RME+CUJLq4IgqsXy6oZRYJjWa7b+FLh+ec28dPyngJlywQwWSST Rfj+3Hujx0jViEih2fanVRArvPyRS348FK6ZIXEydCv7x0nvC7JTz3h5ggDqtScEpfYh sI/YoU6nhDalj3uqCPbhdKZ+v3FBy5xJp8Hy3hd7AckJJxUMGa6yqx+paVcadbX/FxO5 PklfjvLiwNpWgZ11q/yhX3nh9dXdHsMitzgLHwl/3lej+1dFTGXN7CELuu2MU89O/th1 +aww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691389431; x=1691994231; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3A446E/kT3GEJ5OdOfp6vlTjEoG2ufXKFcEfUJuKEMI=; b=SzgXQm59TWyVjmjKdRo4zcfGo/3gfXt0qolAiPkf7l1aFG6YSIAdue45dO7HbP+6zy qWbeRk+eaFnJ2FNdQH3eJZl+p5jocvMr1GyAKYOdm0nHkz+U9c9HrosPZHbHcmElAVEi 2lK9/3tlBYc5sxVfytIVmjfo9LAqvbgy4g4dzCB0Hyfos7L6J+WAnh0MpQn4CU8tNI9i XglhBNxyXyR7rR6kD41KVxgVZIRlNKwCJcp5o9KMVZrePEgtmaHncVn8kiZj+/7QHtjn 3DxYmnJUXrFtWttks3avyhv9dpyr3Mxl6q6/Jk/o0a71RiS0OEGf8MsTblEIu9ROIXLK qLfQ== X-Gm-Message-State: AOJu0Yzvg9shBN8oSvC6Zt5hNincvox84nRPj2k5+zf9g3JXzylq6Thc 6X98jYroIkfYJacheVLXX/FMQA== X-Received: by 2002:a05:600c:2286:b0:3fa:8c68:4aba with SMTP id 6-20020a05600c228600b003fa8c684abamr6193638wmf.25.1691389430634; Sun, 06 Aug 2023 23:23:50 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.113]) by smtp.gmail.com with ESMTPSA id t25-20020a1c7719000000b003fe2b6d64c8sm13923548wmi.21.2023.08.06.23.23.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Aug 2023 23:23:50 -0700 (PDT) Message-ID: <6bf91ced-076f-ecc1-f626-f531f7d991bd@linaro.org> Date: Mon, 7 Aug 2023 08:23:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH 4/9] regulator: dt-bindings: mediatek: Add MT6366 PMIC Content-Language: en-US To: Chen-Yu Tsai , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Mark Brown Cc: Zhiyong Tao , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20230803074249.3065586-1-wenst@chromium.org> <20230803074249.3065586-5-wenst@chromium.org> From: Krzysztof Kozlowski In-Reply-To: <20230803074249.3065586-5-wenst@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 03/08/2023 09:42, Chen-Yu Tsai wrote: > From: Zhiyong Tao > > The MediaTek MT6366 PMIC is similar to the MT6358 PMIC. It is designed > to be paired with the MediaTek MT8186 SoC. It has 9 buck regulators and > 29 LDO regulators, not counting ones that feed internally and basically > have no controls. The regulators are named after their intended usage > for the SoC and system design, thus not named generically as ldoX or > dcdcX, but as vcn33 or vgpu. > > Add a binding document describing all the regulators and their supplies. > > Signed-off-by: Zhiyong Tao > [wens@chromium.org: major rework and added commit message] > Signed-off-by: Chen-Yu Tsai > --- > Changes since Zhiyong's last version (v4) [1]: > - simplified regulator names > - added descriptions to regulators > - removed bogus regulators (*_sshub) > - merged vcn33-wifi and vcn33-bt as vcn33 > - added missing regulators (vm18, vmddr, vsram-core) > - cut down examples to a handful of cases and made them complete > - expanded commit message a lot > > [1] https://lore.kernel.org/linux-arm-kernel/20220823123745.14061-1-zhiyong.tao@mediatek.com/ > > .../regulator/mediatek,mt6366-regulator.yaml | 154 ++++++++++++++++++ > 1 file changed, 154 insertions(+) > create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6366-regulator.yaml > > diff --git a/Documentation/devicetree/bindings/regulator/mediatek,mt6366-regulator.yaml b/Documentation/devicetree/bindings/regulator/mediatek,mt6366-regulator.yaml > new file mode 100644 > index 000000000000..715c6ffcb3ab > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/mediatek,mt6366-regulator.yaml > @@ -0,0 +1,154 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/regulator/mediatek,mt6366-regulator.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MT6366 Regulator from MediaTek Integrated > + > +maintainers: > + - Zhiyong Tao > + > +description: | > + Regulator part of the MT6366 PMIC. This node should be under the PMIC's > + device node. > + > +properties: > + compatible: > + const: mediatek,mt6366-regulator > + > + vsys_ldo1-supply: Don't use underscores in property names. Only hyphens, if needed. > + description: Supply for LDOs vfe28, vxo22, vcn28, vaux18, vaud28, vsim1, vusb, vbif28 > + vsys_ldo2-supply: Best regards, Krzysztof