devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Caleb Connolly <caleb.connolly@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	phone-devel@vger.kernel.org,
	Joel Selvaraj <joelselvaraj.oss@gmail.com>
Subject: Re: [PATCH 6/6] arm64: dts: qcom: sdm845-xiaomi-beryllium: enable pmi8998 charger
Date: Fri, 26 May 2023 21:47:40 +0200	[thread overview]
Message-ID: <3210403b-eb17-3667-2cf3-8a4e82a24fa0@linaro.org> (raw)
In-Reply-To: <20230524-pmi8998-charger-dts-v1-6-f9334afc4505@linaro.org>



On 24.05.2023 19:38, Caleb Connolly wrote:
> From: Joel Selvaraj <joelselvaraj.oss@gmail.com>
> 
> Enable the pmi8998 charger and define some basic battery properties.
> 
> Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>  .../arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
> index 1915643f1c49..2060b31648fc 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
> @@ -115,6 +115,14 @@ rmtfs_mem: memory@f6301000 {
>  		};
>  	};
>  
> +	battery: battery {
> +		compatible = "simple-battery";
> +
> +		charge-full-design-microamp-hours = <4000000>;
> +		voltage-min-design-microvolt = <3400000>;
> +		voltage-max-design-microvolt = <4400000>;
> +	};
> +
>  	vreg_s4a_1p8: vreg-s4a-1p8 {
>  		compatible = "regulator-fixed";
>  		regulator-name = "vreg_s4a_1p8";
> @@ -341,6 +349,11 @@ &pmi8998_wled {
>  	qcom,cabc;
>  };
>  
> +&pmi8998_charger {
> +	status = "okay";
> +	monitored-battery = <&battery>;
status last, please

Konrad
> +};
> +
>  &pm8998_resin {
>  	linux,code = <KEY_VOLUMEDOWN>;
>  	status = "okay";
> 

      reply	other threads:[~2023-05-26 19:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24 17:38 [PATCH 0/6] Enable PMI8998 charger on supported devices Caleb Connolly
2023-05-24 17:38 ` [PATCH 1/6] dt-bindings: mfd: qcom,spmi-pmic: Document pmi8998 charger Caleb Connolly
2023-05-24 18:24   ` Rob Herring
2023-05-24 19:02   ` Conor Dooley
2023-05-24 19:53     ` Caleb Connolly
2023-05-24 20:08       ` Conor Dooley
2023-05-24 17:38 ` [PATCH 2/6] arm64: dts: qcom: pmi8998: enable rradc by default Caleb Connolly
2023-05-26 19:46   ` Konrad Dybcio
2023-05-24 17:38 ` [PATCH 3/6] arm64: dts: qcom: pmi8998: add charger node Caleb Connolly
2023-05-26 19:46   ` Konrad Dybcio
2023-05-26 21:39     ` Caleb Connolly
2023-05-26 21:41       ` Konrad Dybcio
2023-05-24 17:38 ` [PATCH 4/6] arm64: dts: qcom: sdm845-oneplus: enable pmi8998 charger Caleb Connolly
2023-05-24 17:38 ` [PATCH 5/6] arm64: dts: qcom: sdm845-shift-axolotl: " Caleb Connolly
2023-05-26 19:47   ` Konrad Dybcio
2023-05-24 17:38 ` [PATCH 6/6] arm64: dts: qcom: sdm845-xiaomi-beryllium: " Caleb Connolly
2023-05-26 19:47   ` Konrad Dybcio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3210403b-eb17-3667-2cf3-8a4e82a24fa0@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=caleb.connolly@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=joelselvaraj.oss@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).