Skip to contentSkip to conversation

xilinxfb: update tft comp versions

PATCH In review Adrian Alonso 2 participants 2 messages Jul 27, 2010 – Jul 28, 2010 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xilinxfb: update tft comp versions

* Add tft display module compatibility for new
hardware modules

---
 drivers/video/xilinxfb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/video/xilinxfb.c +2 -0
index 574dc54..29b5daa 100644
@@ -485,6 +485,8 @@ static int __devexit xilinxfb_of_remove(struct of_device *op)
 /* Match table for of_platform binding */
 static struct of_device_id xilinxfb_of_match[] __devinitdata = {
 	{ .compatible = "xlnx,xps-tft-1.00.a", },
+	{ .compatible = "xlnx,xps-tft-2.00.a", },
+	{ .compatible = "xlnx,xps-tft-2.01.a", },
 	{ .compatible = "xlnx,plb-tft-cntlr-ref-1.00.a", },
 	{ .compatible = "xlnx,plb-dvi-cntlr-ref-1.00.c", },
 	{},
Signature · 1 line
1.7.2

A message that is not in the archive (sent off-list or not yet received): 1280265853-21245-1-git-send-email-aalonso00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 13 lines · Adrian Alonso

* Add tft display module compatibility for new
 hardware modules

---
 drivers/video/xilinxfb.c |    2 ++

 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/video/xilinxfb.c +0 -0
index 574dc54..29b5daa 100644

drivers/video/xilinxfb.c static int __devexit xilinxfb_of_remove(struct of_device *op) · line 492

Quoted 8 lines
drivers/video/xilinxfb.c +2 -0
@@ -485,6 +485,8 @@ static int __devexit xilinxfb_of_remove(struct of_device *op)
  /* Match table for of_platform binding */
  static struct of_device_id xilinxfb_of_match[] __devinitdata = {
        { .compatible = "xlnx,xps-tft-1.00.a", },
+       { .compatible = "xlnx,xps-tft-2.00.a", },
+       { .compatible = "xlnx,xps-tft-2.01.a", },
        { .compatible = "xlnx,plb-tft-cntlr-ref-1.00.a", },
        { .compatible = "xlnx,plb-dvi-cntlr-ref-1.00.c", },
        {},

I'll merged this, but it isn't exactly the best fix (not your fault; a deficiency in the xilinx device tree generator). I still need to get around to fixing the generator to claim compatibility with the .00.a ip core versions by default for newer parts with the same major revision number. Once it is fixed, then only the -2.00.a compatible value would need to be added to the table.

Thanks Adrian.

g.