Message ID | 20170413150353.7389-2-robh@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi, On Thu, Apr 13, 2017 at 10:03:50AM -0500, Rob Herring wrote: > Add serial slave device binding for the TI WiLink series of Bluetooth/FM/GPS > devices. > > Signed-off-by: Rob Herring <robh@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > Cc: netdev@vger.kernel.org > Cc: devicetree@vger.kernel.org > --- > v3: > - rebase on bluetooth-next > > .../devicetree/bindings/net/ti,wilink-st.txt | 35 ++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/ti,wilink-st.txt > > diff --git a/Documentation/devicetree/bindings/net/ti,wilink-st.txt b/Documentation/devicetree/bindings/net/ti,wilink-st.txt > new file mode 100644 > index 000000000000..cbad73a84ac4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/ti,wilink-st.txt > @@ -0,0 +1,35 @@ > +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 > +wireless/ti,wlcore.txt. > + > +This bindings follows the UART slave device binding in > +../serial/slave-device.txt. > + > +Required properties: > + - compatible: should be one of the following: > + "ti,wl1271-st" > + "ti,wl1273-st" > + "ti,wl1831-st" > + "ti,wl1835-st" > + "ti,wl1837-st" > + > +Optional properties: > + - enable-gpios : GPIO signal controlling enabling of BT. Active high. > + - vio-supply : Vio input supply (1.8V) > + - vbat-supply : Vbat input supply (2.9-4.8V) > + > +Example: > + > +&serial0 { > + compatible = "ns16550a"; > + ... > + bluetooth { > + compatible = "ti,wl1835-st"; > + enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; > + }; > +}; Reviewed-by: Sebastian Reichel <sre@kernel.org> -- Sebastian
On Sun, Apr 16, 2017 at 9:09 AM, Adam Ford <aford173@gmail.com> wrote: > > > On Apr 13, 2017 10:04 AM, "Rob Herring" <robh@kernel.org> wrote: > > Add serial slave device binding for the TI WiLink series of Bluetooth/FM/GPS > devices. > > Signed-off-by: Rob Herring <robh@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > Cc: netdev@vger.kernel.org > Cc: devicetree@vger.kernel.org > --- > v3: > - rebase on bluetooth-next > > .../devicetree/bindings/net/ti,wilink-st.txt | 35 > ++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/ti,wilink-st.txt > > diff --git a/Documentation/devicetree/bindings/net/ti,wilink-st.txt > b/Documentation/devicetree/bindings/net/ti,wilink-st.txt > new file mode 100644 > index 000000000000..cbad73a84ac4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/ti,wilink-st.txt > @@ -0,0 +1,35 @@ > +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 > +wireless/ti,wlcore.txt. > + > +This bindings follows the UART slave device binding in > +../serial/slave-device.txt. > + > +Required properties: > + - compatible: should be one of the following: > + "ti,wl1271-st" > + "ti,wl1273-st" > + "ti,wl1831-st" > + "ti,wl1835-st" > + "ti,wl1837-st" > + > > > Would you expect the wl1283 chipset too? Probably, but I left it out as there's no public information. > I can help test this if you like after the holiday weekend. I have a board > with WL1283 and currently using pdata-quirks to support it.
diff --git a/Documentation/devicetree/bindings/net/ti,wilink-st.txt b/Documentation/devicetree/bindings/net/ti,wilink-st.txt new file mode 100644 index 000000000000..cbad73a84ac4 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ti,wilink-st.txt @@ -0,0 +1,35 @@ +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 +wireless/ti,wlcore.txt. + +This bindings follows the UART slave device binding in +../serial/slave-device.txt. + +Required properties: + - compatible: should be one of the following: + "ti,wl1271-st" + "ti,wl1273-st" + "ti,wl1831-st" + "ti,wl1835-st" + "ti,wl1837-st" + +Optional properties: + - enable-gpios : GPIO signal controlling enabling of BT. Active high. + - vio-supply : Vio input supply (1.8V) + - vbat-supply : Vbat input supply (2.9-4.8V) + +Example: + +&serial0 { + compatible = "ns16550a"; + ... + bluetooth { + compatible = "ti,wl1835-st"; + enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; + }; +};
Add serial slave device binding for the TI WiLink series of Bluetooth/FM/GPS devices. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org --- v3: - rebase on bluetooth-next .../devicetree/bindings/net/ti,wilink-st.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ti,wilink-st.txt