OSDN Git Service

wlcore: add wl1285 compatible
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 8 Jun 2017 20:50:00 +0000 (22:50 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 13 Jun 2017 07:05:40 +0000 (10:05 +0300)
Motorola Droid 4 uses a WL 1285C. With differences between
chips not being public let's add explicit binding for wl1285
instead of relying on wl1283 being very similar.

Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt
drivers/net/wireless/ti/wlcore/sdio.c
drivers/net/wireless/ti/wlcore/spi.c

index 2a3d90d..7b2cbb1 100644 (file)
@@ -10,6 +10,7 @@ Required properties:
     * "ti,wl1273"
     * "ti,wl1281"
     * "ti,wl1283"
+    * "ti,wl1285"
     * "ti,wl1801"
     * "ti,wl1805"
     * "ti,wl1807"
index 287023e..2fb3871 100644 (file)
@@ -237,6 +237,7 @@ static const struct of_device_id wlcore_sdio_of_match_table[] = {
        { .compatible = "ti,wl1273", .data = &wl127x_data },
        { .compatible = "ti,wl1281", .data = &wl128x_data },
        { .compatible = "ti,wl1283", .data = &wl128x_data },
+       { .compatible = "ti,wl1285", .data = &wl128x_data },
        { .compatible = "ti,wl1801", .data = &wl18xx_data },
        { .compatible = "ti,wl1805", .data = &wl18xx_data },
        { .compatible = "ti,wl1807", .data = &wl18xx_data },
index fa3547e..698bfa9 100644 (file)
@@ -433,6 +433,7 @@ static const struct of_device_id wlcore_spi_of_match_table[] = {
        { .compatible = "ti,wl1273", .data = &wl127x_data},
        { .compatible = "ti,wl1281", .data = &wl128x_data},
        { .compatible = "ti,wl1283", .data = &wl128x_data},
+       { .compatible = "ti,wl1285", .data = &wl128x_data},
        { .compatible = "ti,wl1801", .data = &wl18xx_data},
        { .compatible = "ti,wl1805", .data = &wl18xx_data},
        { .compatible = "ti,wl1807", .data = &wl18xx_data},