oryp11,serw13: Set adapter Rsense to 10 milliohms

PRS1 is 5, but it is in series with PRS3, which is also 5. PRS1 by
itself is only connected to ACP/ACN.

Ref: oryp11 schematics, AC In Charger (Sheet 59)
Ref: serw13 schematics, AC_In, Charger (Sheet 70)
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2023-06-30 14:59:35 -06:00
committed by Jeremy Soller
parent dd555b9012
commit 42a19b3d6b
2 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,7 @@ CFLAGS+=-DI2C_USBPD=I2C_1
# TODO: actually bq24800
CHARGER=bq24780s
CFLAGS+=\
-DCHARGER_ADAPTER_RSENSE=5 \
-DCHARGER_ADAPTER_RSENSE=10 \
-DCHARGER_BATTERY_RSENSE=10 \
-DCHARGER_CHARGE_CURRENT=3072 \
-DCHARGER_CHARGE_VOLTAGE=17600 \

View File

@ -32,9 +32,8 @@ CFLAGS+=-DI2C_USBPD=I2C_1
# Set smart charger parameters
# TODO: actually bq24800
# XXX: What is PRS3?
CFLAGS+=\
-DCHARGER_ADAPTER_RSENSE=5 \
-DCHARGER_ADAPTER_RSENSE=10 \
-DCHARGER_BATTERY_RSENSE=10 \
-DCHARGER_CHARGE_CURRENT=2048 \
-DCHARGER_CHARGE_VOLTAGE=13050 \