dont ask me

This commit is contained in:
SaschaNes
2025-08-03 01:01:27 +02:00
parent 72311b001d
commit c60abec6a0
13 changed files with 868 additions and 9 deletions

29
overlay/max77775-fg.dtsi Normal file
View File

@@ -0,0 +1,29 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target-path = "/soc/i2c@someaddress"; /* wird durch alias i2c18 aufgelöst */
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
fuel_gauge@2d {
compatible = "maxim,max77775-fg";
reg = <0x2d>;
status = "okay";
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
/* polling-interval-ms = <60000>; */
/* wakeup-source; */
};
};
};
/* Alias sorgt dafür, dass "i2c18" hier den Bus 18 trifft */
fragment@1 {
target = <&i2c18>;
__overlay__ {
status = "okay";
};
};
};