Bluetooth: Add device tree compatible for TI CC2560
Subsystems (4)
cover Bluetooth: Add device tree compatible for TI CC2560
This series updates the bindings TI WiLink 7/8 Bluetooth to add TI CC256x chips as well. A compatible string is also added to the hci_ll driver for TI CC2560.
David Lechner (2):
dt-bindings: net: add TI CC2560 Bluetooth chip
Bluetooth: hci_ll: add "ti,cc2560" compatible string
.../bindings/net/{ti,wilink-st.txt => ti-bluetooth.txt} | 13 +++++++++++--
drivers/bluetooth/hci_ll.c | 1 +
2 files changed, 12 insertions(+), 2 deletions(-)
rename Documentation/devicetree/bindings/net/{ti,wilink-st.txt => ti-bluetooth.txt} (78%)Signature · 1 line
2.7.4
PATCH 1/2 dt-bindings: net: add TI CC2560 Bluetooth chip
This adds a compatible string for the Texas Instruments CC2560 Bluetooth chip to the existing TI WiLink shared transport bindings. These chips are similar enough that the same bindings work for both. The file is renamed to ti-bluetooth.txt to make it more generic.
---
.../bindings/net/{ti,wilink-st.txt => ti-bluetooth.txt} | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
rename Documentation/devicetree/bindings/net/{ti,wilink-st.txt => ti-bluetooth.txt} (78%)Documentation/devicetree/bindings/net/ti-bluetooth.txt renamed from Documentation/devicetree/bindings/net/ti,wilink-st.txt +11 -2
@@ -1,10 +1,18 @@ -TI WiLink 7/8 (wl12xx/wl18xx) Shared Transport BT/FM/GPS devices +Texas Instruments Bluetooth Chips +--------------------------------- + +This documents the binding structure and common properties for serial +attached TI Bluetooth devices. The following chips are included in this +binding: + +* TI CC256x Bluetooth devices +* TI WiLink 7/8 (wl12xx/wl18xx) Shared Transport BT/FM/GPS devices TI WiLink devices have a UART interface for providing Bluetooth, FM radio, and GPS over what's called "shared transport". The shared transport is standard BT HCI protocol with additional channels for the other functions. -These devices also have a separate WiFi interface as described in +TI WiLink devices also have a separate WiFi interface as described in wireless/ti,wlcore.txt. This bindings follows the UART slave device binding in
@@ -12,6 +20,7 @@ This bindings follows the UART slave device binding in Required properties: - compatible: should be one of the following: + "ti,cc2560" "ti,wl1271-st" "ti,wl1273-st" "ti,wl1281-st"
Signature · 1 line
2.7.4
PATCH 2/2 Bluetooth: hci_ll: add "ti,cc2560" compatible string
In reply to David LechnerThis adds the "ti,cc2560" compatible string for a TI CC2560 chip.
--- drivers/bluetooth/hci_ll.c | 1 + 1 file changed, 1 insertion(+)
drivers/bluetooth/hci_ll.c +1 -0
@@ -842,6 +842,7 @@ static void hci_ti_remove(struct serdev_device *serdev) }static const struct of_device_id hci_ti_of_match[] = { + { .compatible ="ti,cc2560" }, { .compatible ="ti,wl1271-st" }, { .compatible ="ti,wl1273-st" }, { .compatible ="ti,wl1281-st" },
Signature · 1 line
2.7.4
Marcel Holtmann
maintainerHi David,
Quoted 4 lines
This series updates the bindings TI WiLink 7/8 Bluetooth to add TI CC256x chips as well. A compatible string is also added to the
hci_lldriver for TI CC2560.
Quoted 8 lines
David Lechner (2):
dt-bindings: net: add TI CC2560 Bluetooth chip
Bluetooth:hci_ll: add "ti,cc2560" compatible string
.../bindings/net/{ti,wilink-st.txt=> ti-bluetooth.txt} | 13 +++++++++++--drivers/bluetooth/hci_ll.c| 1 +2 files changed, 12 insertions(+), 2 deletions(-)rename
Documentation/devicetree/bindings/net/{ti,wilink-st.txt=> ti-bluetooth.txt} (78%)
both patches have been applied to bluetooth-next tree.
Regards
Marcel
Re: [PATCH 1/2] dt-bindings: net: add TI CC2560 Bluetooth chip
In reply to David LechnerQuoted 10 lines · David Lechner
This adds a compatible string for the Texas Instruments CC2560 Bluetooth chip to the existing TI WiLink shared transport bindings. These chips are similar enough that the same bindings work for both. The file is renamed to ti-bluetooth.txt to make it more generic.
Signed-off-by David Lechner <[email protected]>--- .../bindings/net/{ti,wilink-st.txt => ti-bluetooth.txt} | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) rename Documentation/devicetree/bindings/net/{ti,wilink-st.txt => ti-bluetooth.txt} (78%)