Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Hisilicon Hi655x Power Management Integrated Circuit (PMIC)
2
3The hardware layout for access PMIC Hi655x from AP SoC Hi6220.
4Between PMIC Hi655x and Hi6220, the physical signal channel is SSI.
5We can use memory-mapped I/O to communicate.
6
7+----------------+ +-------------+
8| | | |
9| Hi6220 | SSI bus | Hi655x |
10| |-------------| |
11| |(REGMAP_MMIO)| |
12+----------------+ +-------------+
13
14Required properties:
15- compatible: Should be "hisilicon,hi655x-pmic".
16- reg: Base address of PMIC on Hi6220 SoC.
17- interrupt-controller: Hi655x has internal IRQs (has own IRQ domain).
18- pmic-gpios: The GPIO used by PMIC IRQ.
19
20Example:
21 pmic: pmic@f8000000 {
22 compatible = "hisilicon,hi655x-pmic";
23 reg = <0x0 0xf8000000 0x0 0x1000>;
24 interrupt-controller;
25 #interrupt-cells = <2>;
26 pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
27 }