app: enable HS MOSFET fail-safe protection based on devicetree
The fuse destruction in case of a shorted high-side MOSFET was enabled for all boards with DC/DC converter, even if the board doesn't have a fuse at the low-side terminal (e.g. Nucleo G474RE). Add an ls-fuse property to the charge-controller binding to describe this hardware feature and make HS_MOSFET_FAIL_SAFE_PROTECTION depend on it. The property is added to all MPPT boards, so the behavior does not change for them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b1cd0b6922
commit
bfbe98a62e
@@ -29,6 +29,14 @@ properties:
|
||||
dcdc-current-max:
|
||||
type: int
|
||||
description: Maximum inductor current in amps (if existing in the charge controller)
|
||||
ls-fuse:
|
||||
type: boolean
|
||||
description: |
|
||||
Low-side (typically battery) terminal is protected by a fuse
|
||||
|
||||
The fuse can be blown by switching on the low-side MOSFET of the DC/DC converter
|
||||
continuously, which shorts the low-side terminal through the inductor. This is used to
|
||||
prevent overcharging of the battery in case of a shorted high-side MOSFET.
|
||||
internal-tref-max:
|
||||
type: int
|
||||
default: 50
|
||||
|
||||
Reference in New Issue
Block a user