Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2078739rwr; Sat, 6 May 2023 04:37:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6HEHqQ2TXYFpi+SsVHJwjCc9TYijJg9LfEtXKKGZRf0t8jOvSpvBZBbs5WwJRVX2qzkqqa X-Received: by 2002:a05:6a20:e18e:b0:da:8917:bdc5 with SMTP id ks14-20020a056a20e18e00b000da8917bdc5mr5021951pzb.45.1683373053117; Sat, 06 May 2023 04:37:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683373053; cv=none; d=google.com; s=arc-20160816; b=MFLGLWe/FVXeeylppLENgxJ+AvzdryY5HHcWaHoD+jWUZzlEyyBCcgc2nYP8VlpmK/ 0ONsYPEQoAZI6R3xNjb6XuHcf2vpUxuuWrfy1wmQ4N5SZCvnolH7OpXUUUXgi9IEWs14 JH11bzYhUGBGfvcYukKqGCaMkWkXVWnFNRv4tO9Jt6iD7ocLXpjrxoriqwLFIQhIlSFv Me/HhY49ptdWopLZNtHOF1YgpGApdjSbggJSYTHfOvvNwIKIEv6ZvG7MXOe36tsRaSrn B4inw536aX1WYs+LH4vneTgLPv82Zl5dX2PhUrCB8BUaehGDBDoWqaBAXNER7E5e0B6V R5cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MrqXLh+CItgFF8Zvf5m1YwKEXaRzb+PkDECyM11LKHc=; b=TDGORwXSrP+EbJ+aiQ/HiHJZHW3xSJSz+/IBDATcg6cNMpii/XkpAQim3IpU8OK9n+ eQOECJu9mzGy3XY/xaZ+D5vvAN/ksFK1ARX8Lh+IO0weXC6mXWJ0jBIcP/2FdkmqlUnh znHX3kAguzhzXEUr+0mDVcKX2uoBZzB0LXxa3cDdCGwDeGwSLHtrnwY8rJZL7BX7Yj8v Urfy4DMRpcjN+ao08QjoN++2bhSt99jlhmzaD8ZgS6Dv/LBX9zQoPvZgsUS3Tfwks27W cw2s6KjwO/W2xabYnPGs7ex7l8DoWTr1TPtfThZjRe5X+FUncaV234UVSg9C5tEP0jAa oMfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MkpaBYkw; 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 bv124-20020a632e82000000b0051f11134681si4452937pgb.546.2023.05.06.04.37.21; Sat, 06 May 2023 04:37:33 -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=MkpaBYkw; 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 S231949AbjEFLd0 (ORCPT + 99 others); Sat, 6 May 2023 07:33:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231848AbjEFLdZ (ORCPT ); Sat, 6 May 2023 07:33:25 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC9CB7681 for ; Sat, 6 May 2023 04:33:22 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-55d2e87048cso41601087b3.1 for ; Sat, 06 May 2023 04:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683372802; x=1685964802; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MrqXLh+CItgFF8Zvf5m1YwKEXaRzb+PkDECyM11LKHc=; b=MkpaBYkwpacXiQBX9wyxjvYYFhGVLUxRS4ZMAZXGcRR4Luhc/XHR5TCixlZ+4iPdcy 08I6/h04LJUx9ANZTDKYso31rEC8zHUN+eWh+w+zXvWsSdzKFKAU44kGggGZ3ExZA3Em hPJvpUvN4N8e7S2oceXGmbgHY9t0KQ+c68+WTq6CDPrcNFWg4BSOETxEi1jkXITVOOlS NkiUIK1GH5LidQIvdm85bwzlz4aDpBuInpuGoeFMEwpoeHcvvUAEaQpIK7srb9HUbuES z+AxvQh6HxFy6TgIntSemLXYwPHU6pgBJtGyWoKpdgptPTpJ1WivKjv7FfWwJ9dMWhf2 W/4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683372802; x=1685964802; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MrqXLh+CItgFF8Zvf5m1YwKEXaRzb+PkDECyM11LKHc=; b=EsBb7Zq7hhMZRFlxJfqE6GGBbZGwJiohcHCajj96kC8k56kImA8o36RcJBgKsFDIJ8 XcKSC6VU2ZHLmEjfUWr85mwGmYD36ciOHGweobNMiGnuCIUVdBIm2Wm9Rg00dtvBC49J /lFdVo28Z3B78KgB+9Toc0UUO8PQNwPiB6jbFdnX7tp0uvPgjC4SeJVhHquJSsJWNDIg wcJtg+O5pr+E2O4t7H9TWDzRYkaUQlWpj2kcf+9lTU9CuDe/WZdxAPiD/1PTgfoj74HZ 4FwruvoQi/huN/Uo/7/UibOQIf3v68KXJRYHUI+097dcSbbTIwFZ9Bl6WgMDK7GZTTeC koXg== X-Gm-Message-State: AC+VfDyKfQWHfvBd8Kq181q2iUuUldxEM2N5i+nTI8bXRJ5TYOGjAPJw BKxC7D5PA243P5WFVJKJAcKoPt9mBK1CFenHd8TMvA== X-Received: by 2002:a0d:d487:0:b0:55a:5dce:aa19 with SMTP id w129-20020a0dd487000000b0055a5dceaa19mr4648937ywd.51.1683372802023; Sat, 06 May 2023 04:33:22 -0700 (PDT) MIME-Version: 1.0 References: <8894bf2c44eaf4959c7a1966b66229e6cf5cda96.1683183860.git.quic_varada@quicinc.com> <20230506110918.GC10918@varda-linux.qualcomm.com> In-Reply-To: <20230506110918.GC10918@varda-linux.qualcomm.com> From: Dmitry Baryshkov Date: Sat, 6 May 2023 14:33:11 +0300 Message-ID: Subject: Re: [PATCH v10 8/9] arm64: dts: qcom: ipq9574: Add LDO regulator node To: Varadarajan Narayanan Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, gregkh@linuxfoundation.org, mturquette@baylibre.com, sboyd@kernel.org, quic_wcheng@quicinc.com, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 Sat, 6 May 2023 at 14:09, Varadarajan Narayanan wrote: > > On Fri, May 05, 2023 at 12:29:54PM +0300, Dmitry Baryshkov wrote: > > On Fri, 5 May 2023 at 11:23, Varadarajan Narayanan > > wrote: > > > > > > Add LDO regulator node > > > > As this LDO is provided by the PMIC, it would be nice to know why it > > is modelled as an always-on regulator instead of the proper PMIC > > regulator. Up to now we were doing this only for the outstanding power > > rails like CX/MX or EBI. > > These are always ON because USB phy doesn't support power > collapse, and there is a chance that other IP blocks might be > sharing the rail. You are describing the software side here. From the hardware point of view, it is an I2C regulator, which is probably also exported as an SMD_RPM regulator. Unless you have a good reason not to do so, there should be a node under rpm-requests, which describes mp5496 regulators exported via RPM. then USB should refer to those regulators. > > Thanks > Varada > > > > Signed-off-by: Varadarajan Narayanan > > > --- > > > Changes in v10: > > > - Add LDO regulator node > > > --- > > > arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 7 +++++++ > > > 1 file changed, 7 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts > > > index bdc1434..1f5d14f 100644 > > > --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts > > > +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts > > > @@ -60,6 +60,13 @@ > > > regulator-min-microvolt = <725000>; > > > regulator-max-microvolt = <1075000>; > > > }; > > > + > > > + mp5496_l2: l2 { > > > + regulator-min-microvolt = <1800000>; > > > + regulator-max-microvolt = <1800000>; > > > + regulator-boot-on; > > > + regulator-always-on; > > > + }; > > > }; > > > }; > > > > > > -- > > > 2.7.4 > > > > > > > > > -- > > With best wishes > > Dmitry -- With best wishes Dmitry