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