Skip to content

Commit cd28553

Browse files
krzkJassiBrar
authored andcommitted
dt-bindings: mailbox: qcom-ipcc: simplify the example
Consumer examples in the bindings of resource providers are trivial, useless and duplicating code. Additionally the incomplete qcom,smp2p example triggers DT schema warnings. Cleanup the example by removing the consumer part and fixing the indentation to DT schema convention. Reported-by: Rob Herring <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
1 parent 42226c9 commit cd28553

1 file changed

Lines changed: 10 additions & 19 deletions

File tree

Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,14 @@ additionalProperties: false
6161

6262
examples:
6363
- |
64-
#include <dt-bindings/interrupt-controller/arm-gic.h>
65-
#include <dt-bindings/mailbox/qcom-ipcc.h>
64+
#include <dt-bindings/interrupt-controller/arm-gic.h>
65+
#include <dt-bindings/mailbox/qcom-ipcc.h>
6666
67-
mailbox@408000 {
68-
compatible = "qcom,sm8250-ipcc", "qcom,ipcc";
69-
reg = <0x408000 0x1000>;
70-
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
71-
interrupt-controller;
72-
#interrupt-cells = <3>;
73-
#mbox-cells = <2>;
74-
};
75-
76-
smp2p-modem {
77-
compatible = "qcom,smp2p";
78-
interrupts-extended = <&ipcc_mproc IPCC_CLIENT_MPSS
79-
IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_EDGE_RISING>;
80-
mboxes = <&ipcc_mproc IPCC_CLIENT_MPSS IPCC_MPROC_SIGNAL_SMP2P>;
81-
82-
/* Other SMP2P fields */
83-
};
67+
mailbox@408000 {
68+
compatible = "qcom,sm8250-ipcc", "qcom,ipcc";
69+
reg = <0x408000 0x1000>;
70+
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
71+
interrupt-controller;
72+
#interrupt-cells = <3>;
73+
#mbox-cells = <2>;
74+
};

0 commit comments

Comments
 (0)