bq2477x-charger.txt
1.07 KB
bq2477x charger
~~~~~~~~~~~~~~~
Required properties :
- compatible : should contain "ti,bq2477x".
- ti,dac-ichg : Charge current that must be programmed
- ti,dac-v : The maximum charge voltage that must be programmed
- ti,dac-minsv : The minimum System voltage that must be programmed
- ti,dac-iin : The input current that must be programmed
- ti,wdt-refresh-timeout : watch dog timer that must be programmed
- ti,charger-detect-gpio : a GPIO spec for AC adapter detection. The flag
that determines if AC adapter presence is indicated by active low.
Set this to GPIO_ACTIVE_LOW if active low indicates adapter is present,
else GPIO_ACTIVE_HIGH.
Example:
bq2477x@6a {
compatible = "ti,bq2477x";
reg = <0x6a>;
ti,dac-ichg = <2240>;
ti,dac-v = <9008>;
ti,dac-minsv = <4608>;
ti,dac-iin = <4992>;
ti,wdt-refresh-timeout = <40>;
ti,charger-detect-gpio = <&gpio TEGRA_GPIO(J, 0) GPIO_ACTIVE_LOW>;
};