xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSpreadtrum SC27xx Power Management Integrated Circuit (PMIC)
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe Spreadtrum SC27xx series PMICs contain SC2720, SC2721, SC2723, SC2730
4*4882a593Smuzhiyunand SC2731. The Spreadtrum PMIC belonging to SC27xx series integrates all
5*4882a593Smuzhiyunmobile handset power management, audio codec, battery management and user
6*4882a593Smuzhiyuninterface support function in a single chip. It has 6 major functional
7*4882a593Smuzhiyunblocks:
8*4882a593Smuzhiyun- DCDCs to support CPU, memory.
9*4882a593Smuzhiyun- LDOs to support both internal and external requirement.
10*4882a593Smuzhiyun- Battery management system, such as charger, fuel gauge.
11*4882a593Smuzhiyun- Audio codec.
12*4882a593Smuzhiyun- User interface function, such as indicator, flash LED and so on.
13*4882a593Smuzhiyun- IC level interface, such as power on/off control, RTC and typec and so on.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunRequired properties:
16*4882a593Smuzhiyun- compatible: Should be one of the following:
17*4882a593Smuzhiyun	"sprd,sc2720"
18*4882a593Smuzhiyun	"sprd,sc2721"
19*4882a593Smuzhiyun	"sprd,sc2723"
20*4882a593Smuzhiyun	"sprd,sc2730"
21*4882a593Smuzhiyun	"sprd,sc2731"
22*4882a593Smuzhiyun- reg: The address of the device chip select, should be 0.
23*4882a593Smuzhiyun- spi-max-frequency: Typically set to 26000000.
24*4882a593Smuzhiyun- interrupts: The interrupt line the device is connected to.
25*4882a593Smuzhiyun- interrupt-controller: Marks the device node as an interrupt controller.
26*4882a593Smuzhiyun- #interrupt-cells: The number of cells to describe an PMIC IRQ, must be 2.
27*4882a593Smuzhiyun- #address-cells: Child device offset number of cells, must be 1.
28*4882a593Smuzhiyun- #size-cells: Child device size number of cells, must be 0.
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunExample:
31*4882a593Smuzhiyunpmic@0 {
32*4882a593Smuzhiyun	compatible = "sprd,sc2731";
33*4882a593Smuzhiyun	reg = <0>;
34*4882a593Smuzhiyun	spi-max-frequency = <26000000>;
35*4882a593Smuzhiyun	interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
36*4882a593Smuzhiyun	interrupt-controller;
37*4882a593Smuzhiyun	#interrupt-cells = <2>;
38*4882a593Smuzhiyun	#address-cells = <1>;
39*4882a593Smuzhiyun	#size-cells = <0>;
40*4882a593Smuzhiyun};
41