[PATCH] xilinxfb: update tft comp versions

Grant Likely grant.likely at secretlab.ca
Wed Jul 28 17:52:28 EST 2010


On Tue, Jul 27, 2010 at 3:24 PM, Adrian Alonso <aalonso00 at gmail.com> wrote:
> * Add tft display module compatibility for new
>  hardware modules
>
> Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
> ---
>  drivers/video/xilinxfb.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c
> index 574dc54..29b5daa 100644
> --- a/drivers/video/xilinxfb.c
> +++ b/drivers/video/xilinxfb.c
> @@ -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.


More information about the Linuxppc-dev mailing list