From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Ford Subject: Re: [PATCH 0/4] TI Bluetooth serdev support Date: Sun, 30 Apr 2017 10:14:20 -0500 Message-ID: References: <20170405183005.20570-1-robh@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Marcel Holtmann , linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Johan Hedberg , Gustavo Padovan , Satish Patel , Wei Xu , Eyal Reizer , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Rob Herring Return-path: In-Reply-To: <20170405183005.20570-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Wed, Apr 5, 2017 at 1:30 PM, Rob Herring wrote: > This series adds serdev support to the HCI LL protocol used on TI BT > modules and enables support on HiKey board with with the WL1835 module. > With this the custom TI UIM daemon and btattach are no longer needed. Without UIM daemon, what instruction do you use to load the BT firmware? I was thinking 'hciattach' but I was having trouble. I was hoping you might have some insight. hciattach -t 30 -s 115200 /dev/ttymxc1 texas 3000000 flow Just returns a timeout. I modified my i.MX6 device tree per the binding documentation and setup the regulators and enable GPIO pins. adam > > The series is available on this git branch[1]. Patch 2 is just clean-up > and can be applied independently. Patch 3 is dependent on the series > "Nokia H4+ support". I'd suggest both series are merged thru the BT tree. > > Rob > > [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git ti-bluetooth > > Rob Herring (4): > dt-bindings: net: Add TI WiLink shared transport binding > bluetooth: hci_uart: remove unused hci_uart_init_tty > bluetooth: hci_uart: add LL protocol serdev driver support > arm64: dts: hikey: add WL1835 Bluetooth device node > > .../devicetree/bindings/net/ti,wilink-st.txt | 35 +++ > arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 5 + > drivers/bluetooth/hci_ldisc.c | 19 -- > drivers/bluetooth/hci_ll.c | 261 ++++++++++++++++++++- > drivers/bluetooth/hci_uart.h | 1 - > 5 files changed, 300 insertions(+), 21 deletions(-) > create mode 100644 Documentation/devicetree/bindings/net/ti,wilink-st.txt > > -- > 2.10.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <20170405183005.20570-1-robh@kernel.org> References: <20170405183005.20570-1-robh@kernel.org> From: Adam Ford Date: Sun, 30 Apr 2017 10:14:20 -0500 Message-ID: Subject: Re: [PATCH 0/4] TI Bluetooth serdev support To: Rob Herring Cc: Marcel Holtmann , linux-bluetooth@vger.kernel.org, Mark Rutland , devicetree@vger.kernel.org, Johan Hedberg , Gustavo Padovan , Satish Patel , Wei Xu , Eyal Reizer , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset=UTF-8 List-ID: On Wed, Apr 5, 2017 at 1:30 PM, Rob Herring wrote: > This series adds serdev support to the HCI LL protocol used on TI BT > modules and enables support on HiKey board with with the WL1835 module. > With this the custom TI UIM daemon and btattach are no longer needed. Without UIM daemon, what instruction do you use to load the BT firmware? I was thinking 'hciattach' but I was having trouble. I was hoping you might have some insight. hciattach -t 30 -s 115200 /dev/ttymxc1 texas 3000000 flow Just returns a timeout. I modified my i.MX6 device tree per the binding documentation and setup the regulators and enable GPIO pins. adam > > The series is available on this git branch[1]. Patch 2 is just clean-up > and can be applied independently. Patch 3 is dependent on the series > "Nokia H4+ support". I'd suggest both series are merged thru the BT tree. > > Rob > > [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git ti-bluetooth > > Rob Herring (4): > dt-bindings: net: Add TI WiLink shared transport binding > bluetooth: hci_uart: remove unused hci_uart_init_tty > bluetooth: hci_uart: add LL protocol serdev driver support > arm64: dts: hikey: add WL1835 Bluetooth device node > > .../devicetree/bindings/net/ti,wilink-st.txt | 35 +++ > arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 5 + > drivers/bluetooth/hci_ldisc.c | 19 -- > drivers/bluetooth/hci_ll.c | 261 ++++++++++++++++++++- > drivers/bluetooth/hci_uart.h | 1 - > 5 files changed, 300 insertions(+), 21 deletions(-) > create mode 100644 Documentation/devicetree/bindings/net/ti,wilink-st.txt > > -- > 2.10.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: aford173@gmail.com (Adam Ford) Date: Sun, 30 Apr 2017 10:14:20 -0500 Subject: [PATCH 0/4] TI Bluetooth serdev support In-Reply-To: <20170405183005.20570-1-robh@kernel.org> References: <20170405183005.20570-1-robh@kernel.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Apr 5, 2017 at 1:30 PM, Rob Herring wrote: > This series adds serdev support to the HCI LL protocol used on TI BT > modules and enables support on HiKey board with with the WL1835 module. > With this the custom TI UIM daemon and btattach are no longer needed. Without UIM daemon, what instruction do you use to load the BT firmware? I was thinking 'hciattach' but I was having trouble. I was hoping you might have some insight. hciattach -t 30 -s 115200 /dev/ttymxc1 texas 3000000 flow Just returns a timeout. I modified my i.MX6 device tree per the binding documentation and setup the regulators and enable GPIO pins. adam > > The series is available on this git branch[1]. Patch 2 is just clean-up > and can be applied independently. Patch 3 is dependent on the series > "Nokia H4+ support". I'd suggest both series are merged thru the BT tree. > > Rob > > [1] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git ti-bluetooth > > Rob Herring (4): > dt-bindings: net: Add TI WiLink shared transport binding > bluetooth: hci_uart: remove unused hci_uart_init_tty > bluetooth: hci_uart: add LL protocol serdev driver support > arm64: dts: hikey: add WL1835 Bluetooth device node > > .../devicetree/bindings/net/ti,wilink-st.txt | 35 +++ > arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 5 + > drivers/bluetooth/hci_ldisc.c | 19 -- > drivers/bluetooth/hci_ll.c | 261 ++++++++++++++++++++- > drivers/bluetooth/hci_uart.h | 1 - > 5 files changed, 300 insertions(+), 21 deletions(-) > create mode 100644 Documentation/devicetree/bindings/net/ti,wilink-st.txt > > -- > 2.10.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel