Commit 6af338b0 authored by Neil Armstrong's avatar Neil Armstrong Committed by Lee Jones

dt-bindings: mfd: qcom-pm8xxx: Document qcom,pm8921 as fallback of qcom,pm8018

The PM8018 is used as compatible with PM8921 on the MDM9615, document this situation,
and an example section to validate this change.
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-5-dac2dfaac703@linaro.org
parent 9f8fa5e9
...@@ -15,11 +15,15 @@ description: | ...@@ -15,11 +15,15 @@ description: |
properties: properties:
compatible: compatible:
enum: oneOf:
- qcom,pm8018 - enum:
- qcom,pm8058 - qcom,pm8058
- qcom,pm8821 - qcom,pm8821
- qcom,pm8921 - qcom,pm8921
- items:
- enum:
- qcom,pm8018
- const: qcom,pm8921
reg: reg:
maxItems: 1 maxItems: 1
...@@ -52,4 +56,23 @@ required: ...@@ -52,4 +56,23 @@ required:
- interrupt-controller - interrupt-controller
additionalProperties: false additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
ssbi {
#address-cells = <1>;
#size-cells = <0>;
pmic@0 {
compatible = "qcom,pm8921";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&tlmm>;
interrupts = <32 IRQ_TYPE_EDGE_RISING>;
};
};
... ...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment