lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241218-ncv6336-v1-9-b8d973747f7a@gmail.com>
Date: Wed, 18 Dec 2024 15:36:39 -0800
From: Fabien Parent <parent.f@...il.com>
To: Rob Herring <robh@...nel.org>, Saravana Kannan <saravanak@...gle.com>, 
 Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>, 
 Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>, 
 Björn Roy Baron <bjorn3_gh@...tonmail.com>, 
 Benno Lossin <benno.lossin@...ton.me>, 
 Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>, 
 Trevor Gross <tmgross@...ch.edu>, 
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
 "Rafael J. Wysocki" <rafael@...nel.org>, 
 Wolfram Sang <wsa+renesas@...g-engineering.com>, 
 Mark Brown <broonie@...nel.org>, Liam Girdwood <lgirdwood@...il.com>, 
 Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>, Bjorn Andersson <andersson@...nel.org>, 
 Konrad Dybcio <konradybcio@...nel.org>, Fabien Parent <parent.f@...il.com>
Cc: devicetree@...r.kernel.org, rust-for-linux@...r.kernel.org, 
 linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org, 
 linux-arm-msm@...r.kernel.org, vinod.koul@...aro.org, 
 Fabien Parent <fabien.parent@...aro.org>
Subject: [PATCH 9/9] arm64: dts: qcom: apq8039-t2: add node for ncv6336
 regulator

From: Fabien Parent <fabien.parent@...aro.org>

CPR is using the power rail provided by the ncv6336 buck regulator
on the apq8039 t2 board. This commit adds the required regulator.

Signed-off-by: Fabien Parent <fabien.parent@...aro.org>
---
 arch/arm64/boot/dts/qcom/apq8039-t2.dts | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/apq8039-t2.dts b/arch/arm64/boot/dts/qcom/apq8039-t2.dts
index 4f82bb668616f942d65f59a6f418cf38f404df32..2da5b7d01521520a6814b76c02329be3bdedb4fd 100644
--- a/arch/arm64/boot/dts/qcom/apq8039-t2.dts
+++ b/arch/arm64/boot/dts/qcom/apq8039-t2.dts
@@ -111,6 +111,23 @@ typec_ep: endpoint {
 	};
 };
 
+&blsp_i2c4 {
+	status = "okay";
+
+	regulator@1c {
+		compatible = "onnn,ncv6336";
+		reg = <0x1c>;
+		pinctrl-0 = <&ncv6336_vsel>;
+		pinctrl-names = "default";
+
+		buck {
+			regulator-name = "ncv6336,buck";
+			regulator-min-microvolt = <600000>;
+			regulator-max-microvolt = <1393750>;
+		};
+	};
+};
+
 &blsp_i2c5 {
 	status = "okay";
 };
@@ -371,6 +388,12 @@ typec_irq: typec-irq-state {
 		pins = "gpio107";
 		bias-pull-up;
 	};
+
+	ncv6336_vsel: ncv6336-state  {
+		function = "gpio";
+		pins = "gpio111";
+		output-low;
+	};
 };
 
 &usb {

-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ