https://github.com/raspberrypi/linux/bl ... verlay.dts
the "charger" node has compatible = "gpio-charger";
the official docs are at:
https://github.com/raspberrypi/linux/bl ... arger.yaml
the overlay configures a single pin, gpio4, as an input, that signals if the battery is charging or not
linux will check that pin, to report if the battery is currently charging or not
so if you have an added board with a battery and charger, it can use this overlay to report if its charging or not
the "charger" node has compatible = "gpio-charger";
the official docs are at:
https://github.com/raspberrypi/linux/bl ... arger.yaml
the overlay configures a single pin, gpio4, as an input, that signals if the battery is charging or not
linux will check that pin, to report if the battery is currently charging or not
so if you have an added board with a battery and charger, it can use this overlay to report if its charging or not
Statistics: Posted by cleverca22 — Mon Feb 26, 2024 4:42 am