From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (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 98453176ADE for ; Tue, 2 Dec 2025 04:21:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764649307; cv=none; b=EpnpvxL0vvyjNNpRLqSCr+/ES5AiH2cGiu7brvBdd7Gyn7ReEBKubM98OJ5xvNmufECRu+lKp4KTa662O4j4C3DbPTP6lioLznJdctP3CoLC4g8mRalVpQZVcMx3j+y3JVot8gw+pMDGjaIH0ESAbOA4SOgWLnHvNemAhn/16/g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764649307; c=relaxed/simple; bh=H7JiUbr0grbD/OuMUxd8lM1sXrcva3VeiRYfJNqlcBo=; h=MIME-Version:Date:Content-Type:From:Message-ID:Subject:To:Cc: In-Reply-To:References; b=hxLjKgJlYfEGatOXMZ5HynHdegT3RaTqYJ04HephwZqEiOxtqwDdNUL9d10xE1k1YOUhfyvffbWbx7QfQ7Gdz6hbtEH5A8eWfqWUNfOkISYHQiIsZAvOra0XQWpWu3eO/AVQYdKCWHDniDL5jqZWHB5nv7dUB53XrBJpqs3M0x4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=e2S3pqLk; arc=none smtp.client-ip=91.218.175.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="e2S3pqLk" Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1764649302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H7JiUbr0grbD/OuMUxd8lM1sXrcva3VeiRYfJNqlcBo=; b=e2S3pqLkqd4uKG23Rjeb08tGQKrixyD/ymVYVpV0f1bv8zLEbAyl0jkW4hHyDVz9RYVkXE uDF/Ls9BZ97bDRzrwZHeAXuShHmcI5TWvfn70+15fvKl5032vIIISIkgGt4NqAi1C+HDed JxuYXKrw2wVK90VYHIC81nr2A5LZbUKRycJysSTi2U4/udmzv3KbXWBqskxR13CgutCtAl Q90HTiO3wgcmBgv9jP/06C/Z0ZcM7DkrX33+eGcSj9ru+Wy8BMf22D8TX07JhSIvJUbL8A vciHByRY+CdyFl4l0jYjhKmKGoivV4LKOWts/0C2qf4xItUSXhdu3ZzePDmGFw== Date: Tue, 02 Dec 2025 04:21:40 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Paul Sajna" Message-ID: TLS-Required: No Subject: Re: [PATCH v4 10/12] arm64: dts: qcom: sdm845-lg-judyln: Add lab/ibb To: "Konrad Dybcio" , "Bjorn Andersson" , "Konrad Dybcio" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "David Heidelberg" Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, "Amir Dahan" , "Christopher Brown" In-Reply-To: <09e5d84c-39b7-45a9-b7d7-9beb54fb2f3f@oss.qualcomm.com> References: <20251125-judyln-dts-v4-0-a5a60500b267@postmarketos.org> <20251125-judyln-dts-v4-10-a5a60500b267@postmarketos.org> <09e5d84c-39b7-45a9-b7d7-9beb54fb2f3f@oss.qualcomm.com> X-Migadu-Flow: FLOW_OUT December 1, 2025 at 12:38 PM, "Konrad Dybcio" wrote: > Sorry for not responding earlier, you can retrieve the actual volt > numbers from the hardware by reading >=20 >=20PMI8998_IBB_REG_BASE + REG_LABIBB_VOLTAGE =3D 0xdc41 >=20 >=20ibb_uV =3D 1.4 + .1 * val >=20 >=20PMI8998_LAB_REG_BASE + REG_LABIBB_VOLTAGE =3D 0xde41 >=20 >=20lab_uV =3D 4.6 + .1 * val >=20 >=20Konrad > I found it in sysfs along the lines of your previous suggestion instead. ``` 1|judyln:/ # cat /sys/kernel/debug/regulator/c440000.qcom,spmi:qcom,pmi89= 98@3:qpnp-labibb-regulator-ibb_reg/voltage 5500000 judyln:/ # cat /sys/kernel/debug/regulator/c440000.qcom,spmi:qcom,pmi8998= @3:qpnp-labibb-regulator-lab_reg/voltage 5500000 ```