avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
35
u-boot/doc/device-tree-bindings/pmic/max77686.txt
Normal file
35
u-boot/doc/device-tree-bindings/pmic/max77686.txt
Normal file
@@ -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 {
|
||||
...
|
||||
};
|
||||
...
|
||||
};
|
||||
};
|
||||
18
u-boot/doc/device-tree-bindings/pmic/pm8916.txt
Normal file
18
u-boot/doc/device-tree-bindings/pmic/pm8916.txt
Normal file
@@ -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>;
|
||||
};
|
||||
17
u-boot/doc/device-tree-bindings/pmic/s2mps11.txt
Normal file
17
u-boot/doc/device-tree-bindings/pmic/s2mps11.txt
Normal file
@@ -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>;
|
||||
};
|
||||
35
u-boot/doc/device-tree-bindings/pmic/sandbox.txt
Normal file
35
u-boot/doc/device-tree-bindings/pmic/sandbox.txt
Normal file
@@ -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";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user