18c2ecf20Sopenharmony_ciMaxim Semiconductor MAX8903 Battery Charger bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "maxim,max8903" for MAX8903 Battery Charger 58c2ecf20Sopenharmony_ci- dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided 68c2ecf20Sopenharmony_ci- uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provided 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciOptional properties: 98c2ecf20Sopenharmony_ci- cen-gpios: Charge enable pin (active low, output) 108c2ecf20Sopenharmony_ci- chg-gpios: Charger status pin (active low, input) 118c2ecf20Sopenharmony_ci- flt-gpios: Fault pin (active low, output) 128c2ecf20Sopenharmony_ci- dcm-gpios: Current limit mode setting (DC=1 or USB=0, output) 138c2ecf20Sopenharmony_ci- usus-gpios: USB suspend pin (active high, output) 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciExample: 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci max8903-charger { 198c2ecf20Sopenharmony_ci compatible = "maxim,max8903"; 208c2ecf20Sopenharmony_ci dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; 218c2ecf20Sopenharmony_ci flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; 228c2ecf20Sopenharmony_ci chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; 238c2ecf20Sopenharmony_ci cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; 248c2ecf20Sopenharmony_ci }; 25