On 08/05/2023 12:02, Konrad Dybcio wrote:
On 8.05.2023 02:33, Dmitry Baryshkov wrote:
Enable coincell charger for the coin battery which can be installed on
the APQ8074 dragonboard.
Wait.. you can insert a CR2023 or whatever and charge it?
That's the most expensive and ridiculous charger.. I love it..
Not a 2023, it is something smaller. I will try finding a correct size.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Konrad
arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
index 16d609b85dfe..1d1c08674254 100644
--- a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
+++ b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
@@ -113,6 +113,12 @@ &mdss {
status = "okay";
};
+&pm8941_coincell {
+ qcom,rset-ohms = <2100>;
+ qcom,vset-millivolts = <3000>;
+ status = "okay";
+};
+
&pm8941_gpios {
msm_keys_default: pm8941-gpio-keys-state {
pinconf {
--
With best wishes
Dmitry