GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)

This commit is contained in:
lai
2026-09-06 03:52:57 +08:00
commit b1928b41c0
21813 changed files with 4413081 additions and 0 deletions
@@ -0,0 +1,35 @@
MAXIM, MAX77686 pmic
This device uses two drivers:
- drivers/power/pmic/max77686.c (for parent device)
- drivers/power/regulator/max77686.c (for child regulators)
This file describes the binding info for the PMIC driver.
To bind the regulators, please read the additional binding info:
- doc/device-tree-bindings/regulator/max77686.txt
Required properties:
- compatible: "maxim,max77686"
- reg = 0x9
With those two properties, the pmic device can be used for read/write only.
To bind each regulator, the optional regulators subnode should exists.
Optional subnode:
- voltage-regulators: subnode list of each device's regulator
(see max77686.txt - regulator binding info)
Example:
max77686@09 {
compatible = "maxim,max77686";
reg = <0x09>;
voltage-regulators {
ldo1 {
...
};
...
};
};
@@ -0,0 +1,18 @@
Qualcomm pm8916 PMIC
This PMIC is connected using SPMI bus so should be child of SPMI bus controller.
Required properties:
- compatible: "qcom,spmi-pmic";
- reg: SPMI Slave ID, size (ignored)
- #address-cells: 0x1 (peripheral ID)
- #size-cells: 0x1 (size of peripheral register space)
Example:
pm8916@0 {
compatible = "qcom,spmi-pmic";
reg = <0x0 0x1>;
#address-cells = <0x1>;
#size-cells = <0x1>;
};
@@ -0,0 +1,17 @@
Ricoh RN5T567 PMIC
This file describes the binding info for the PMIC driver.
Required properties:
- compatible: "ricoh,rn5t567"
- reg: depending on strapping, e.g. 0x33
With those two properties, the PMIC device can be used to read/write
registers.
Example:
rn5t567@33 {
compatible = "ricoh,rn5t567";
reg = <0x33>;
};
@@ -0,0 +1,17 @@
SAMSUNG, S2MPS11 PMIC
This file describes the binding info for the PMIC driver:
- drivers/power/pmic/s2mps11.c
Required properties:
- compatible: "samsung,s2mps11-pmic"
- reg = 0x66
With those two properties, the pmic device can be used for read/write only.
Example:
s2mps11@66 {
compatible = "samsung,s2mps11-pmic";
reg = <0x66>;
};
@@ -0,0 +1,35 @@
Sandbox pmic
This device uses two drivers:
- drivers/power/pmic/sandbox.c (for parent device)
- drivers/power/regulator/sandbox.c (for child regulators)
This file describes the binding info for the PMIC driver.
To bind the regulators, please read the regulator binding info:
- doc/device-tree-bindings/regulator/sandbox.txt
Required PMIC node properties:
- compatible: "sandbox,pmic"
- reg = 0x40
Required PMIC's "emul" subnode, with property:
- compatible: "sandbox,i2c-pmic"
With the above properties, the pmic device can be used for read/write only.
To bind each regulator, the optional regulator subnodes should exists.
Optional subnodes:
- ldo/buck subnodes of each device's regulator (see regulator binding info)
Example:
sandbox_pmic {
compatible = "sandbox,pmic";
reg = <0x40>;
/* Mandatory for I/O */
emul {
compatible = "sandbox,i2c-pmic";
};
};