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 2a3d90de18eeaa763f41280d6570fa3c217c9e63..7b2cbb14113efa83ffee7cb318c33723dfcc956e 100644 (file)
@@ -10,6 +10,7 @@ Required properties:
     * "ti,wl1273"
     * "ti,wl1281"
     * "ti,wl1283"
+    * "ti,wl1285"
     * "ti,wl1801"
     * "ti,wl1805"
     * "ti,wl1807"
index 287023ef4a782f33375d337ae97ba21671b6327d..2fb38717346f1b11498c455a8366b03fae83ee8a 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 fa3547e06424721542980320ab3924f0ef9e1811..698bfa99cfa21ecfa3bf0b492d809459b891a5af 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},