Skip to contentSkip to conversation

dt-bindings: mtd: elm: Correct compatible string requirement

PATCH Applied Tom Rini 2 participants 2 messages Jun 21, 2017 – Jun 22, 2017

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 dt-bindings: mtd: elm: Correct compatible string requirement

The binding says that the compatible string must be "ti,am33xx-elm" but the code checks only for, and all functioning users set, this as "ti,am3352-elm" so correct the binding.

Cc David Woodhouse <[email protected]>
Cc Brian Norris <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Cyrille Pitchen <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>

---
I have submitted a separate patch that correct the dm816x.dtsi to set the compatible string there for the elm from ti,816-elm to ti,am3352-elm and tested it on the hardware, where it works. It is quite likely that dm814x.dtsi can be trivially corrected as it came after dm816x and before am335x but as I cannot test the hardware, I did not update that.

---
 Documentation/devicetree/bindings/mtd/elm.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mtd/elm.txt +1 -1
index 8c1528c421d4..59ddc61c1076 100644
@@ -1,7 +1,7 @@
 Error location module
 
 Required properties:
-- compatible: Must be "ti,am33xx-elm"
+- compatible: Must be "ti,am3352-elm"
 - reg: physical base address and size of the registers map.
 - interrupts: Interrupt number for the elm.
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 4 lines · On Wed, 21 Jun 2017 08:22:06 -0400 Tom Rini…

The binding says that the compatible string must be "ti,am33xx-elm" but the code checks only for, and all functioning users set, this as "ti,am3352-elm" so correct the binding.

Quoted 9 lines
Cc David Woodhouse <[email protected]>
Cc Brian Norris <[email protected]>
Cc Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/[email protected]>
Cc Marek Vasut <[email protected]>
Cc Richard Weinberger <richard-/[email protected]>
Cc Cyrille Pitchen <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>

Applied.

Thanks,

Boris

Quoted 15 lines

---
I have submitted a separate patch that correct the dm816x.dtsi to set the compatible string there for the elm from ti,816-elm to ti,am3352-elm and tested it on the hardware, where it works. It is quite likely that dm814x.dtsi can be trivially corrected as it came after dm816x and before am335x but as I cannot test the hardware, I did not update that.

---
 Documentation/devicetree/bindings/mtd/elm.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mtd/elm.txt +0 -0
index 8c1528c421d4..59ddc61c1076 100644

Documentation/devicetree/bindings/mtd/elm.txt line 7

Quoted 8 lines
Documentation/devicetree/bindings/mtd/elm.txt +1 -1
@@ -1,7 +1,7 @@
 Error location module
 
 Required properties:
-- compatible: Must be "ti,am33xx-elm"
+- compatible: Must be "ti,am3352-elm"
 - reg: physical base address and size of the registers map.
 - interrupts: Interrupt number for the elm.
 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html