18c2ecf20Sopenharmony_ciSpreadtrum SC27xx Power Management Integrated Circuit (PMIC) 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe Spreadtrum SC27xx series PMICs contain SC2720, SC2721, SC2723, SC2730 48c2ecf20Sopenharmony_ciand SC2731. The Spreadtrum PMIC belonging to SC27xx series integrates all 58c2ecf20Sopenharmony_cimobile handset power management, audio codec, battery management and user 68c2ecf20Sopenharmony_ciinterface support function in a single chip. It has 6 major functional 78c2ecf20Sopenharmony_ciblocks: 88c2ecf20Sopenharmony_ci- DCDCs to support CPU, memory. 98c2ecf20Sopenharmony_ci- LDOs to support both internal and external requirement. 108c2ecf20Sopenharmony_ci- Battery management system, such as charger, fuel gauge. 118c2ecf20Sopenharmony_ci- Audio codec. 128c2ecf20Sopenharmony_ci- User interface function, such as indicator, flash LED and so on. 138c2ecf20Sopenharmony_ci- IC level interface, such as power on/off control, RTC and typec and so on. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciRequired properties: 168c2ecf20Sopenharmony_ci- compatible: Should be one of the following: 178c2ecf20Sopenharmony_ci "sprd,sc2720" 188c2ecf20Sopenharmony_ci "sprd,sc2721" 198c2ecf20Sopenharmony_ci "sprd,sc2723" 208c2ecf20Sopenharmony_ci "sprd,sc2730" 218c2ecf20Sopenharmony_ci "sprd,sc2731" 228c2ecf20Sopenharmony_ci- reg: The address of the device chip select, should be 0. 238c2ecf20Sopenharmony_ci- spi-max-frequency: Typically set to 26000000. 248c2ecf20Sopenharmony_ci- interrupts: The interrupt line the device is connected to. 258c2ecf20Sopenharmony_ci- interrupt-controller: Marks the device node as an interrupt controller. 268c2ecf20Sopenharmony_ci- #interrupt-cells: The number of cells to describe an PMIC IRQ, must be 2. 278c2ecf20Sopenharmony_ci- #address-cells: Child device offset number of cells, must be 1. 288c2ecf20Sopenharmony_ci- #size-cells: Child device size number of cells, must be 0. 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciExample: 318c2ecf20Sopenharmony_cipmic@0 { 328c2ecf20Sopenharmony_ci compatible = "sprd,sc2731"; 338c2ecf20Sopenharmony_ci reg = <0>; 348c2ecf20Sopenharmony_ci spi-max-frequency = <26000000>; 358c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 368c2ecf20Sopenharmony_ci interrupt-controller; 378c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 388c2ecf20Sopenharmony_ci #address-cells = <1>; 398c2ecf20Sopenharmony_ci #size-cells = <0>; 408c2ecf20Sopenharmony_ci}; 41