xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/sbs_sbs-charger.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSBS sbs-charger
2*4882a593Smuzhiyun~~~~~~~~~~
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun - compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
6*4882a593Smuzhiyun     number compatible string might be used in order to take care of vendor
7*4882a593Smuzhiyun     specific registers.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunOptional properties:
10*4882a593Smuzhiyun- interrupts: Interrupt mapping for GPIO IRQ. Use in conjunction with
11*4882a593Smuzhiyun    "interrupt-parent". If an interrupt is not provided the driver will switch
12*4882a593Smuzhiyun    automatically to polling.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	ltc4100@9 {
17*4882a593Smuzhiyun		compatible = "lltc,ltc4100", "sbs,sbs-charger";
18*4882a593Smuzhiyun		reg = <0x9>;
19*4882a593Smuzhiyun		interrupt-parent = <&gpio6>;
20*4882a593Smuzhiyun		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
21*4882a593Smuzhiyun	};
22