twl4030_charger: Add devicetree support

This allows the charger to be enabled with devicetree, and allows the
parameters for charging the backup battery to be set.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Kumar Gala <galak@codeaurora.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
此提交包含在:
NeilBrown
2013-10-31 17:05:50 +11:00
提交者 Anton Vorontsov
父節點 588bd5918b
當前提交 ec0b380245
共有 3 個檔案被更改,包括 70 行新增3 行删除

查看文件

@@ -19,6 +19,12 @@
interrupts = <11>;
};
charger: bci {
compatible = "ti,twl4030-bci";
interrupts = <9>, <2>;
bci3v1-supply = <&vusb3v1>;
};
watchdog {
compatible = "ti,twl4030-wdt";
};