spmi-msm.txt 859 B

1234567891011121314151617181920212223242526
  1. Qualcomm SPMI arbiter/bus driver
  2. This is bus driver for Qualcomm chips that use SPMI to communicate with PMICs.
  3. Required properties:
  4. - compatible: "qcom,spmi-pmic-arb"
  5. - reg: Register block adresses and sizes for various parts of device:
  6. 1) PMIC arbiter channel mapping base (PMIC_ARB_REG_CHNLn)
  7. 2) SPMI write command (master) registers (PMIC_ARB_CORE_SW_DEC_CHANNELS)
  8. 3) SPMI read command (observer) registers (PMIC_ARB_CORE_REGISTERS_OBS)
  9. Optional properties (if not set by parent):
  10. - #address-cells: 0x1 - childs slave ID address
  11. - #size-cells: 0x1
  12. All PMICs should be placed as a child nodes of bus arbiter.
  13. Automatic detection of childs is currently not supported.
  14. Example:
  15. spmi@200f000 {
  16. compatible = "qcom,spmi-pmic-arb";
  17. reg = <0x200f800 0x200 0x2400000 0x400000 0x2c00000 0x400000>;
  18. #address-cells = <0x1>;
  19. #size-cells = <0x1>;
  20. };