pil-q6v5-mss.txt 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Qualcomm MSS QDSP6v5 Peripheral Image Loader
  2. pil-qdsp6v5-mss is a peripheral image loader (PIL) driver. It is used for
  3. loading QDSP6v5 (Hexagon) firmware images for modem subsystems into memory and
  4. preparing the subsystem's processor to execute code. It's also responsible for
  5. shutting down the processor when it's not needed.
  6. Required properties:
  7. - compatible: Must be "qcom,pil-q6v5-mss"
  8. - reg: Pairs of physical base addresses and region sizes of
  9. memory mapped registers.
  10. - reg-names: Names of the bases for the above registers. "qdsp6_base",
  11. "halt_base", "rmb_base", and "restart_reg" are expected.
  12. - interrupts: The modem watchdog interrupt
  13. - vdd_cx-supply: Reference to the regulator that supplies the vdd_cx domain.
  14. - vdd_mx-supply: Reference to the regulator that supplies the memory rail.
  15. - qcom,firmware-name: Base name of the firmware image. Ex. "mdsp"
  16. Optional properties:
  17. - vdd_mss-supply: Reference to the regulator that supplies the processor.
  18. This may be a shared regulator that is already voted
  19. on in the PIL proxy voting code (and also managed by the
  20. modem on its own), hence we mark it as as optional.
  21. - vdd_pll-supply: Reference to the regulator that supplies the PLL's rail.
  22. - qcom,vdd_pll: Voltage to be set for the PLL's rail.
  23. - reg-names: "cxrail_bhs_reg" - control register for modem power
  24. domain.
  25. - qcom,is-not-loadable: Boolean- Present if the image does not need to
  26. be loaded.
  27. - qcom,pil-self-auth: Boolean- True if authentication is required.
  28. - qcom,gpio-err-fatal: GPIO used by the modem to indicate error fatal to the apps.
  29. - qcom,gpio-err-ready: GPIO used by the modem to indicate error ready to the apps.
  30. - qcom,gpio-proxy-unvote: GPIO used by the modem to trigger proxy unvoting in
  31. the apps.
  32. - qcom,gpio-force-stop: GPIO used by the apps to force the modem to shutdown.
  33. - qcom,gpio-stop-ack: GPIO used by the modem to ack force stop or a graceful stop
  34. to the apps.
  35. Example:
  36. qcom,mss@fc880000 {
  37. compatible = "qcom,pil-q6v5-mss";
  38. reg = <0xfc880000 0x100>,
  39. <0xfd485000 0x400>,
  40. <0xfc820000 0x020>,
  41. <0xfc401680 0x004>;
  42. reg-names = "qdsp6_base", "halt_base", "rmb_base",
  43. "restart_reg";
  44. interrupts = <0 24 1>;
  45. vdd_mss-supply = <&pm8841_s3>;
  46. vdd_cx-supply = <&pm8841_s2>;
  47. vdd_mx-supply = <&pm8841_s1>;
  48. qcom,is-not-loadable;
  49. qcom,firmware-name = "mba";
  50. qcom,pil-self-auth;
  51. /* GPIO inputs from mss */
  52. qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
  53. qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
  54. qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
  55. /* GPIO output to mss */
  56. qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
  57. };