Skip to content

Commit 571c349

Browse files
sinthu-rajaandersson
authored andcommitted
dt-bindings: hwlock: omap: Remove redundant binding example
The example includes a board-specific compatible property, this is wrong as the example should be board agnostic and should represent the particular binding. Also, the file includes two similar examples but with a different compatible. So, drop the entire second example Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210920123152.32751-1-sinthu.raja@ti.com
1 parent 26291c5 commit 571c349

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -39,39 +39,8 @@ additionalProperties: false
3939
examples:
4040

4141
- |
42-
/* OMAP4 SoCs */
43-
hwspinlock: spinlock@4a0f6000 {
42+
spinlock@4a0f6000 {
4443
compatible = "ti,omap4-hwspinlock";
4544
reg = <0x4a0f6000 0x1000>;
4645
#hwlock-cells = <1>;
4746
};
48-
49-
- |
50-
/ {
51-
/* K3 AM65x SoCs */
52-
model = "Texas Instruments K3 AM654 SoC";
53-
compatible = "ti,am654-evm", "ti,am654";
54-
#address-cells = <2>;
55-
#size-cells = <2>;
56-
57-
bus@100000 {
58-
compatible = "simple-bus";
59-
#address-cells = <2>;
60-
#size-cells = <2>;
61-
ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
62-
<0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>; /* Main NavSS */
63-
64-
bus@30800000 {
65-
compatible = "simple-mfd";
66-
#address-cells = <2>;
67-
#size-cells = <2>;
68-
ranges = <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>;
69-
70-
spinlock@30e00000 {
71-
compatible = "ti,am654-hwspinlock";
72-
reg = <0x00 0x30e00000 0x00 0x1000>;
73-
#hwlock-cells = <1>;
74-
};
75-
};
76-
};
77-
};

0 commit comments

Comments
 (0)