[Letux-kernel] [PATCH 2/3] arm: boot: dts: pyra: update bq24297 and bq27421 entries

Nick Elsmore nicholaselsmore at gmail.com
Thu Aug 6 18:10:14 CEST 2020


Signed-off-by: Nick Elsmore <nicholaselsmore at gmail.com>
---
 arch/arm/boot/dts/pyra-mainboard-common.dtsi | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/pyra-mainboard-common.dtsi
b/arch/arm/boot/dts/pyra-mainboard-common.dtsi
index b06fb6c12143..0f7f5cd705ba 100644
--- a/arch/arm/boot/dts/pyra-mainboard-common.dtsi
+++ b/arch/arm/boot/dts/pyra-mainboard-common.dtsi
@@ -554,14 +554,23 @@ bq27421 at 55 {
  compatible = "ti,bq27421";
  reg = <0x55>;
  monitored-battery = <&bat>;
+ power-supplies = <&charger>;
  };

  /* charger */
- bq24297 at 6b {
+ charger: bq24297 at 6b {
  compatible = "ti,bq24297";
  reg = <0x6b>;
- monitored-battery = <&bat>;
  /* interrupts are broken */
+
+ ti,voltage-limit = <4360000>;
+ ti,input-current = <2000000>;
+ ti,vsys-min = <3500000>;
+ ti,charge-current = <2048000>;
+ ti,precharge-current = <128000>;
+ ti,term-current = <128000>;
+ ti,charge-voltage = <4096000>;
+
  regulators {
  vsys_reg: vsys_regulator {
  regulator-compatible = "bq2429x-vsys";
-- 
2.25.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20200806/689a07e1/attachment.htm>


More information about the Letux-kernel mailing list