diff mbox

[U-Boot] spi: xilinx: Add new compatible strings

Message ID b2e8215b285846c349c96dfc5c60a4a924f050fd.1449834072.git.michal.simek@xilinx.com
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Michal Simek Dec. 11, 2015, 11:41 a.m. UTC
Add xlnx,xps-spi-2.00.a/b which is compatible string
listed in the Linux kernel.
Remove origin one which has no real background.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 drivers/spi/xilinx_spi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Jagan Teki Dec. 11, 2015, 4:24 p.m. UTC | #1
On 11 December 2015 at 17:11, Michal Simek <michal.simek@xilinx.com> wrote:
> Add xlnx,xps-spi-2.00.a/b which is compatible string
> listed in the Linux kernel.
> Remove origin one which has no real background.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  drivers/spi/xilinx_spi.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c
> index 0713714e526b..a951a7753d84 100644
> --- a/drivers/spi/xilinx_spi.c
> +++ b/drivers/spi/xilinx_spi.c
> @@ -287,7 +287,8 @@ static const struct dm_spi_ops xilinx_spi_ops = {
>  };
>
>  static const struct udevice_id xilinx_spi_ids[] = {
> -       { .compatible = "xlnx,xilinx-spi" },
> +       { .compatible = "xlnx,xps-spi-2.00.a" },
> +       { .compatible = "xlnx,xps-spi-2.00.b" },
>         { }
>  };
>

Applied to u-boot-spi/master

thanks!
diff mbox

Patch

diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c
index 0713714e526b..a951a7753d84 100644
--- a/drivers/spi/xilinx_spi.c
+++ b/drivers/spi/xilinx_spi.c
@@ -287,7 +287,8 @@  static const struct dm_spi_ops xilinx_spi_ops = {
 };
 
 static const struct udevice_id xilinx_spi_ids[] = {
-	{ .compatible = "xlnx,xilinx-spi" },
+	{ .compatible = "xlnx,xps-spi-2.00.a" },
+	{ .compatible = "xlnx,xps-spi-2.00.b" },
 	{ }
 };