From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1575EE49AB for ; Tue, 22 Aug 2023 19:47:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230286AbjHVTra (ORCPT ); Tue, 22 Aug 2023 15:47:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjHVTr3 (ORCPT ); Tue, 22 Aug 2023 15:47:29 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71E25CD0 for ; Tue, 22 Aug 2023 12:47:24 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-99bc9e3cbf1so1004217166b.0 for ; Tue, 22 Aug 2023 12:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692733643; x=1693338443; 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=wP8V56gMXjaMA8xuJivdqqb4a/TtPfVwzUH0TySnGFk=; b=LPcyBY6Q4QNpkQalwXGTtYZCiFulPmXItYy3/b8aUob4oxkCVmmRoW1RvqYR1saZM6 wU5t4iP9L3wAty3cpb5TpDB9FVXbEqDs4Com3WHkbRwOHu/mzB7Zj+kVNerKiZl75Abl Crs2stECCBhYREA06BMqTSX0HW2BAZB/TQx5AyZ+JoHONbvFgQcM2XJtKCUSJc0bL87a 31pWTfq1F4Zl7ZONEWWif7SLFEvcW3+VjebjI69zb1QsMwIdHkk3jvf/Zow1Z1Sz+q2C bhxr4MIdWMgcnXi6MBNfA5xLM28ZzQSXxBCF+3kgCZV3nBFTmaNVJubSFp3xdo5Y6mmC HN1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692733643; x=1693338443; 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=wP8V56gMXjaMA8xuJivdqqb4a/TtPfVwzUH0TySnGFk=; b=OK6ToooJMe4RHM7LSBzVJ2ETGOyRXHm1dghBU9is3THHSCv1Z+8vIZ+sVO6YtvX9X2 eEU8dL4aZsJ834But1fS4gghStduE2ezyw/dnt4WSOeHUjCo6LEuyYN7CPIEipTbJ2oV z81ZgkNfScuYR4KyR3+ZyPKE5nCvqsKUaMn0ffWkALh5mH0njRJhJcCmLlxf/IWltCls v58lx/4KB5cZYUT+ZAPlwRyDgOn6kQM3IglVD9H6S1ILvsI8UbCg+SdgrMgo+pxNGqTf yHg0Sik/gu1OMSWWfSUp47M2psnk0SGAQFhCubdj9uGS6f2Et6wY+Vjs8DeszZxPfuZp UySw== X-Gm-Message-State: AOJu0YyOK2EqeOg94LIK6H2tsxp9VptAEtYlDfDD5U010j8UyZGgl6gU yt8yb3LfYosTPZxsPN962Y1U2Q== X-Google-Smtp-Source: AGHT+IFA6vaH037bqItmbCjTD2cq16Ead293Dy7L2D+0FCyaqdqwV2We88f45rka1i6WgI/a9bPy5w== X-Received: by 2002:a17:906:c116:b0:993:f664:ce25 with SMTP id do22-20020a170906c11600b00993f664ce25mr11084012ejc.19.1692733642939; Tue, 22 Aug 2023 12:47:22 -0700 (PDT) Received: from [192.168.0.22] ([77.252.47.198]) by smtp.gmail.com with ESMTPSA id n12-20020a170906688c00b00982be08a9besm8870178ejr.172.2023.08.22.12.47.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Aug 2023 12:47:22 -0700 (PDT) Message-ID: <5ad5ff92-1367-ba96-b126-da80511a2769@linaro.org> Date: Tue, 22 Aug 2023 21:47:21 +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 v2 03/11] regulator: dt-bindings: mt6358: Convert to DT schema 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: <20230822084520.564937-1-wenst@chromium.org> <20230822084520.564937-4-wenst@chromium.org> From: Krzysztof Kozlowski In-Reply-To: <20230822084520.564937-4-wenst@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/08/2023 10:45, Chen-Yu Tsai wrote: > Convert this from the old style text based binding to the new DT schema > style. This will make adding the MT6366 portion easier. > > The examples have been trimmed down considerably, and the remaining > entries now match what is seen in actual device trees. ... > +--- > +$id: http://devicetree.org/schemas/regulator/mediatek,mt6358-regulator.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek MT6358 Regulator > + > +maintainers: > + - Zhiyong Tao > + > +description: | Do not need '|' unless you need to preserve formatting. > + Regulator node of the PMIC. This node should under the PMIC's device node. > + All voltage regulators provided by the PMIC are described as sub-nodes of > + this node. > + > +properties: > + compatible: > + const: mediatek,mt6358-regulator > + ... > + > +additionalProperties: false > + > +examples: > + - | > + #include mt6397? > + > + regulator { > + compatible = "mediatek,mt6358-regulator"; > + > + buck_vgpu { > + regulator-name = "vgpu"; > + regulator-min-microvolt = <625000>; > + regulator-max-microvolt = <900000>; > + regulator-ramp-delay = <6250>; > + regulator-enable-ramp-delay = <200>; > + regulator-allowed-modes =