Message ID | 20240130130132.9550-2-amadeus@jmu.edu.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-44669-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1231680dyb; Tue, 30 Jan 2024 05:52:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/7cw2dumJBXmIL9JSqeRaSYkVemENHjA9Bp5yYTk5v1+ZWCddDMcMcIeFjxutJ7U9/2ad X-Received: by 2002:a05:6a20:43a2:b0:19b:7ff8:8a5e with SMTP id i34-20020a056a2043a200b0019b7ff88a5emr1836542pzl.4.1706622746838; Tue, 30 Jan 2024 05:52:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706622746; cv=pass; d=google.com; s=arc-20160816; b=Q+UmQkaMqfLIYJ+yGE+aMYBzdtjq6HioQ4z4xAphs+qEXvRG8h1dr88TbF9HWp8i3v mTRUcdtB/xd5DLT3SF0Wq4Q10MQhw2X4Hb2/hu3syljuMWeETxRhTX1920851SLSVjT3 1FqbADbaIkwWnQ7g5gy9ZlInkOJIo835XCOJJnpcJJAvzvxaRqowlHrr8lu3gpplJ3vd UBCNu+k0CHk/x0MSVxpiAlz+ZuKh0vs8z5jb6UNeg//vcRJYaH3/CLVn0xHO8aMEf9f2 CSLRTJs2eaCZ+3TV55Zj6rhJSWxHJ6nPuYBWwXEH422GuX8MDTk5bZ0Eh0Ue8wK9CkF9 WvuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=A5KWhmR7n4QK6xsmY6XZkqI1Oot3sm66Wi0knWwg8dA=; fh=LlZk7vm5dLeS59ClGNWxUihPGmzuLw2iBBRiN9ns9kY=; b=mRRTiFzGIz0HUyYxO9nQJA1ADP4XWL5mHwwZNiWS741XdZx3lMXTAqoQwI68hj7aq2 DQFXsY/rmDKQMCTv83+m2XY8hm1ETgFmL4gqkm4u8rRiYMF1Xy4wQfUhpNknDn+yVkHD /DWzoCzFv5KBRUc2diTyBaTM5Df5RT1PWlBL6+g3NxvKGIY0jYhZWuSYvtxGCYAd3O7D fOpaF+jgKNHERPqaQueVJ5E3ennVr81wUXAJs6V/QcnKdfb9jvBnWcSc6bfR4EtqUG7f SuVzd+i3FCAfD4A3qIv5plQJZOyaM+sQKDNIqIZr9kfjOrs1obQwD+/kJLShCd635GWQ CuLQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=jmu.edu.cn dmarc=pass fromdomain=jmu.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-44669-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44669-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k68-20020a633d47000000b005d29ed61d61si7274184pga.78.2024.01.30.05.52.26 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 05:52:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44669-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=jmu.edu.cn dmarc=pass fromdomain=jmu.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-44669-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44669-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 81675B2DEE0 for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 13:03:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 609CC6E2AA; Tue, 30 Jan 2024 13:02:08 +0000 (UTC) Received: from mail-m49197.qiye.163.com (mail-m49197.qiye.163.com [45.254.49.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D42B467751; Tue, 30 Jan 2024 13:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706619726; cv=none; b=XUYQ9lhaK9uyYrg8kYVUCd+LUJImpdgihERtMa+WOdABWeKFFkw4u116rlScgZH9xTa3v7y7UZkdCRy10R3hnfpVDlq2az+RGWqsMEQ0GDe4ID/tmUDGk4cEzTX74x/C+rGbkS16b1l9CPaH+YjWKVvIZU+Uvlus9NoNiNGWYWo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706619726; c=relaxed/simple; bh=YCSLDRcNcUHZlJNPEpFCiUHc+hOkTwgbBxDfzJO2/IQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Dr4QqIxcigWLrBDlMBD1vLOs8t/GjVlc403uBK/8e7eSrL+1ecuT5FlmkXn1MM81fRgRtLwYcgxE4umAhZgk4oQ7Zq46+Xdd+NdqDhx40C1eosji/1Gij1c7XGlhZXS5vbiKVfO01gRpF6j0ZbcS8RaBVBC7u2EN2HjM6n8ng/Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn; spf=pass smtp.mailfrom=jmu.edu.cn; arc=none smtp.client-ip=45.254.49.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jmu.edu.cn Received: from amadeus-Vostro-3710.lan (unknown [116.25.94.16]) by smtp.qiye.163.com (Hmail) with ESMTPA id EC4187E0137; Tue, 30 Jan 2024 21:01:41 +0800 (CST) From: Chukun Pan <amadeus@jmu.edu.cn> To: Bjorn Andersson <andersson@kernel.org> Cc: Konrad Dybcio <konrad.dybcio@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh+dt@kernel.org>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Chukun Pan <amadeus@jmu.edu.cn>, Robert Marko <robimarko@gmail.com> Subject: [PATCH v4 1/2] arm64: dts: qcom: ipq6018: add LDOA2 regulator Date: Tue, 30 Jan 2024 21:01:31 +0800 Message-Id: <20240130130132.9550-2-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240130130132.9550-1-amadeus@jmu.edu.cn> References: <20240130130132.9550-1-amadeus@jmu.edu.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkaQk5IVkgeTUxKSRlIT0hIQ1UTARMWGhIXJBQOD1 lXWRgSC1lBWUpKTVVJTlVCT1VKTVlXWRYaDxIVHRRZQVlPS0hVSkxKT0xDVUpLS1VKQktLWQY+ X-HM-Tid: 0a8d5a760cef03a2kunmec4187e0137 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NTY6Lio5AjMNEEoeQwwBExML DCwwCktVSlVKTEtNTUpCTEtJQ0NNVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK TVVJTlVCT1VKTVlXWQgBWUFJSUtPNwY+ X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789523653463732502 X-GMAIL-MSGID: 1789523653463732502 |
Series |
arm64: dts: qcom: ipq6018: add sdhci node
|
|
Commit Message
Chukun Pan
Jan. 30, 2024, 1:01 p.m. UTC
Add LDOA2 regulator of MP5496 to support SDCC voltage scaling.
Suggested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 5 +++++
1 file changed, 5 insertions(+)
Comments
On Tue, Jan 30, 2024 at 09:01:31PM +0800, Chukun Pan wrote: > Add LDOA2 regulator of MP5496 to support SDCC voltage scaling. > > Suggested-by: Robert Marko <robimarko@gmail.com> > Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> > --- > arch/arm64/boot/dts/qcom/ipq6018.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > index 5e1277fea725..322eced0b876 100644 > --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > @@ -174,6 +174,11 @@ ipq6018_s2: s2 { > regulator-max-microvolt = <1062500>; > regulator-always-on; > }; > + > + ipq6018_l2: l2 { I still don't see a patch that does "something-supply = <&ipq6018_l2>;", which would imply that the main thing this patch achieves is that the regulator framework might turn the regulator off after a while. Shouldn't there be a user of ipq6018_l2? Regards, Bjorn > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + }; > }; > }; > }; > -- > 2.25.1 >
Hi, Bjorn > I still don't see a patch that does "something-supply = <&ipq6018_l2>;", > which would imply that the main thing this patch achieves is that the > regulator framework might turn the regulator off after a while. > Shouldn't there be a user of ipq6018_l2? Although there is the sdhc node in ipq6018-cp01-c1 in the qsdk kernel, I don't have the official rdp board of qca, so I can't test it. Normally it looks like this: &sdhc { bus-width = <4>; cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; ... /* specific properties */ pinctrl-0 = <&sdhci_pins>; pinctrl-names = "default"; vqmmc-supply = <&ipq6018_l2>; status = "okay"; }; As for actual routers, there are users. One of the examples is on openwrt, a development board like 8devices: https://github.com/openwrt/openwrt/blob/main/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6010-mango-dvk.dts#L272 vqmmc-supply = <&ipq6018_l2>; cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; .. The function of this node is to reference sd/emmc supply for devices with pmic. Please let me know if it doesn't fit in this patch series and I will deal with this in another pmic patch series. Thanks, Chukun
diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 5e1277fea725..322eced0b876 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -174,6 +174,11 @@ ipq6018_s2: s2 { regulator-max-microvolt = <1062500>; regulator-always-on; }; + + ipq6018_l2: l2 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; }; }; };