Skip to content

Commit

Permalink
oryp11,serw13: Set adapter Rsense to 10 milliohms
Browse files Browse the repository at this point in the history
PRS1 is 5, but it is in series with PRS3, which is also 5. PRS1 by
itself is only connected to ACP/ACN through R331.

Ref: oryp11 schematics, AC In Charger (Sheet 59)
Ref: serw13 schematics, AC_In, Charger (Sheet 70)
Signed-off-by: Tim Crawford <tcrawford@system76.com>
  • Loading branch information
crawfxrd committed Jun 30, 2023
1 parent dd555b9 commit a0bbe14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/board/system76/oryp11/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 1 addition & 2 deletions src/board/system76/serw13/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit a0bbe14

Please sign in to comment.