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
@@ -20,6 +20,7 @@
|
||||
hs-voltage-max = <40>;
|
||||
ls-voltage-max = <16>;
|
||||
dcdc-current-max = <10>;
|
||||
ls-fuse;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
hs-voltage-max = <90>;
|
||||
ls-voltage-max = <32>;
|
||||
dcdc-current-max = <20>;
|
||||
ls-fuse;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
hs-voltage-max = <80>;
|
||||
ls-voltage-max = <32>;
|
||||
dcdc-current-max = <20>;
|
||||
ls-fuse;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
hs-voltage-max = <55>;
|
||||
ls-voltage-max = <32>;
|
||||
dcdc-current-max = <20>;
|
||||
ls-fuse;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
hs-voltage-max = <80>;
|
||||
ls-voltage-max = <32>;
|
||||
dcdc-current-max = <20>;
|
||||
ls-fuse;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
||||
Reference in New Issue
Block a user