qcom,ssbi.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/bus/qcom,ssbi.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm Single-wire Serial Bus Interface (SSBI)
  7. description:
  8. Some Qualcomm MSM devices contain a point-to-point serial bus used to
  9. communicate with a limited range of devices (mostly power management
  10. chips).
  11. maintainers:
  12. - Andy Gross <agross@kernel.org>
  13. - Bjorn Andersson <andersson@kernel.org>
  14. properties:
  15. compatible:
  16. const: qcom,ssbi
  17. reg:
  18. maxItems: 1
  19. qcom,controller-type:
  20. description:
  21. Indicates the SSBI bus variant the controller should use to talk
  22. with the slave device. The type chosen is determined by the attached
  23. slave.
  24. enum:
  25. - ssbi
  26. - ssbi2
  27. - pmic-arbiter
  28. pmic:
  29. $ref: /schemas/mfd/qcom-pm8xxx.yaml#
  30. required:
  31. - compatible
  32. - reg
  33. - qcom,controller-type
  34. additionalProperties: false
  35. examples:
  36. - |
  37. #include <dt-bindings/interrupt-controller/irq.h>
  38. ssbi@c00000 {
  39. compatible = "qcom,ssbi";
  40. reg = <0x00c00000 0x1000>;
  41. qcom,controller-type = "pmic-arbiter";
  42. pmic {
  43. compatible = "qcom,pm8821";
  44. interrupt-parent = <&msmgpio>;
  45. interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
  46. #interrupt-cells = <2>;
  47. interrupt-controller;
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. };
  51. };
  52. ...