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