Re: [RFC PATCH 6/6] char: fastrpc: Add support for compat ioctls

2018-11-30 Thread Thierry Escande
On 30/11/2018 14:46, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 2:20 PM Thierry Escande wrote: On 30/11/2018 13:58, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: From: Thierry Escande This patch adds support for compat ioctl from 32 bits userland

Re: [RFC PATCH 6/6] char: fastrpc: Add support for compat ioctls

2018-11-30 Thread Thierry Escande
On 30/11/2018 14:46, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 2:20 PM Thierry Escande wrote: On 30/11/2018 13:58, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: From: Thierry Escande This patch adds support for compat ioctl from 32 bits userland

Re: [RFC PATCH 6/6] char: fastrpc: Add support for compat ioctls

2018-11-30 Thread Thierry Escande
Hi Arnd, On 30/11/2018 13:58, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: From: Thierry Escande This patch adds support for compat ioctl from 32 bits userland to Qualcomm fastrpc driver. Supported ioctls in this change are INIT, INVOKE, and ALLOC

Re: [RFC PATCH 6/6] char: fastrpc: Add support for compat ioctls

2018-11-30 Thread Thierry Escande
Hi Arnd, On 30/11/2018 13:58, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: From: Thierry Escande This patch adds support for compat ioctl from 32 bits userland to Qualcomm fastrpc driver. Supported ioctls in this change are INIT, INVOKE, and ALLOC

Re: [lkp-robot] ee410f15b1 BUG: kernel hang in boot stage

2018-07-03 Thread Thierry Escande
On 03/07/2018 04:51, kernel test robot wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit ee410f15b1418f2f4428e79980674c979081bcb7 Author: Thierry Escande AuthorDate

Re: [lkp-robot] ee410f15b1 BUG: kernel hang in boot stage

2018-07-03 Thread Thierry Escande
On 03/07/2018 04:51, kernel test robot wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit ee410f15b1418f2f4428e79980674c979081bcb7 Author: Thierry Escande AuthorDate

Re: [PATCH v10 00/14] Krait clocks + Krait CPUfreq

2018-06-27 Thread Thierry Escande
clk: qcom: Add Krait clock controller driver dt-bindings: clock: Document qcom,krait-cc cpufreq: Add module to register cpufreq on Krait CPUs Tested on apq8064 (db600c). Tested-By: Thierry Escande Best regards, Thierry

Re: [PATCH v10 00/14] Krait clocks + Krait CPUfreq

2018-06-27 Thread Thierry Escande
clk: qcom: Add Krait clock controller driver dt-bindings: clock: Document qcom,krait-cc cpufreq: Add module to register cpufreq on Krait CPUs Tested on apq8064 (db600c). Tested-By: Thierry Escande Best regards, Thierry

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-22 Thread Thierry Escande
On 22/06/2018 22:53, Steven Rostedt wrote: On Thu, Jun 07, 2018 at 02:24:34PM +0200, Petr Mladek wrote: On Mon 2018-06-04 13:37:08, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail because the printed address

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-22 Thread Thierry Escande
On 22/06/2018 22:53, Steven Rostedt wrote: On Thu, Jun 07, 2018 at 02:24:34PM +0200, Petr Mladek wrote: On Mon 2018-06-04 13:37:08, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail because the printed address

[PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-13 Thread Thierry Escande
ng to be initialized for an undefined time, both plain 'p' tests now accept the strings "(ptrval)" or "(ptrval)" as a valid result and print a warning message. Signed-off-by: Thierry Escande --- Changes in v3: - Use "(ptrval)" for 64-bit - Updat

[PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-13 Thread Thierry Escande
ng to be initialized for an undefined time, both plain 'p' tests now accept the strings "(ptrval)" or "(ptrval)" as a valid result and print a warning message. Signed-off-by: Thierry Escande --- Changes in v3: - Use "(ptrval)" for 64-bit - Updat

Re: [PATCH v2] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-13 Thread Thierry Escande
On 13/06/2018 18:30, Andy Shevchenko wrote: On Wed, Jun 13, 2018 at 5:59 PM, Thierry Escande wrote: On 13/06/2018 13:22, Andy Shevchenko wrote: On Wed, Jun 13, 2018 at 12:29 PM, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p

Re: [PATCH v2] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-13 Thread Thierry Escande
On 13/06/2018 18:30, Andy Shevchenko wrote: On Wed, Jun 13, 2018 at 5:59 PM, Thierry Escande wrote: On 13/06/2018 13:22, Andy Shevchenko wrote: On Wed, Jun 13, 2018 at 12:29 PM, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p

Re: [PATCH v2] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-13 Thread Thierry Escande
On 13/06/2018 13:22, Andy Shevchenko wrote: On Wed, Jun 13, 2018 at 12:29 PM, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail because the printed address will not be hashed and the buffer will contain "(ptrval)&quo

Re: [PATCH v2] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-13 Thread Thierry Escande
On 13/06/2018 13:22, Andy Shevchenko wrote: On Wed, Jun 13, 2018 at 12:29 PM, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail because the printed address will not be hashed and the buffer will contain "(ptrval)&quo

[PATCH v2] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-13 Thread Thierry Escande
tests now accept the string "(ptrval)" as a valid result and print a warning message. Signed-off-by: Thierry Escande --- Change in v2: - Remove wait_for_random_bytes() usage - Removed Acked-by from Tobin as the proposed solution is not the same anymore. lib/test_printf.c | 24 +++

[PATCH v2] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-13 Thread Thierry Escande
tests now accept the string "(ptrval)" as a valid result and print a warning message. Signed-off-by: Thierry Escande --- Change in v2: - Remove wait_for_random_bytes() usage - Removed Acked-by from Tobin as the proposed solution is not the same anymore. lib/test_printf.c | 24 +++

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 13:22, Petr Mladek wrote: On Fri 2018-06-08 12:32:33, Thierry Escande wrote: On 08/06/2018 11:46, Andy Shevchenko wrote: On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande wrote: But as I type I realize it's not necessary. I will simply enclose the call

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 13:22, Petr Mladek wrote: On Fri 2018-06-08 12:32:33, Thierry Escande wrote: On 08/06/2018 11:46, Andy Shevchenko wrote: On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande wrote: But as I type I realize it's not necessary. I will simply enclose the call

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 11:46, Andy Shevchenko wrote: On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande wrote: But as I type I realize it's not necessary. I will simply enclose the call to wait_for_random_bytes() by #if IS_MODULE() #endif so it gets called only if built as a module, which is how

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 11:46, Andy Shevchenko wrote: On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande wrote: But as I type I realize it's not necessary. I will simply enclose the call to wait_for_random_bytes() by #if IS_MODULE() #endif so it gets called only if built as a module, which is how

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 10:04, Petr Mladek wrote: On Thu 2018-06-07 20:47:25, Thierry Escande wrote: Hi Petr, On 07/06/2018 14:24, Petr Mladek wrote: On Mon 2018-06-04 13:37:08, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 10:04, Petr Mladek wrote: On Thu 2018-06-07 20:47:25, Thierry Escande wrote: Hi Petr, On 07/06/2018 14:24, Petr Mladek wrote: On Mon 2018-06-04 13:37:08, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-07 Thread Thierry Escande
Hi Petr, On 07/06/2018 14:24, Petr Mladek wrote: On Mon 2018-06-04 13:37:08, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail because the printed address will not be hashed and the buffer will contain '(ptrval)' instead

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-07 Thread Thierry Escande
Hi Petr, On 07/06/2018 14:24, Petr Mladek wrote: On Mon 2018-06-04 13:37:08, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail because the printed address will not be hashed and the buffer will contain '(ptrval)' instead

[PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-04 Thread Thierry Escande
is initialized. Signed-off-by: Thierry Escande Acked-by: Tobin C. Harding --- lib/test_printf.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/test_printf.c b/lib/test_printf.c index 71ebfa43ad05..839be9385a8a 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -260,6 +260,13

[PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-04 Thread Thierry Escande
is initialized. Signed-off-by: Thierry Escande Acked-by: Tobin C. Harding --- lib/test_printf.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/test_printf.c b/lib/test_printf.c index 71ebfa43ad05..839be9385a8a 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -260,6 +260,13

[PATCH] Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning

2018-05-29 Thread Thierry Escande
is set to TASK_UNINTERRUPTIBLE before going to sleep for 300ms. It was then restored to TASK_INTERRUPTIBLE. This patch sets the current task state back to TASK_RUNNING instead. Signed-off-by: Thierry Escande --- drivers/bluetooth/hci_qca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning

2018-05-29 Thread Thierry Escande
is set to TASK_UNINTERRUPTIBLE before going to sleep for 300ms. It was then restored to TASK_INTERRUPTIBLE. This patch sets the current task state back to TASK_RUNNING instead. Signed-off-by: Thierry Escande --- drivers/bluetooth/hci_qca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2] arm64: dts: apq8096-db820c: Removed bt-en-1-8v regulator

2018-05-24 Thread Thierry Escande
combo chip that needs to have the bt_en_gpio claimed even if only WLAN is used. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- Change in v2: - Rebased on top of [1] posted a few days ago: [1] https://lkml.org/lkml/2018/5/22/949 "arm64: dts: fix regulator pr

[PATCH v2] arm64: dts: apq8096-db820c: Removed bt-en-1-8v regulator

2018-05-24 Thread Thierry Escande
combo chip that needs to have the bt_en_gpio claimed even if only WLAN is used. Signed-off-by: Thierry Escande --- Change in v2: - Rebased on top of [1] posted a few days ago: [1] https://lkml.org/lkml/2018/5/22/949 "arm64: dts: fix regulator property name for wlan pcie endpoint"

[PATCH] arm64: dts: apq8096-db820c: Removed bt-en-1-8v regulator

2018-05-24 Thread Thierry Escande
combo chip that needs to have the bt_en_gpio claimed even if only WLAN is used. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi | 2 +- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 -- 2

[PATCH] arm64: dts: apq8096-db820c: Removed bt-en-1-8v regulator

2018-05-24 Thread Thierry Escande
combo chip that needs to have the bt_en_gpio claimed even if only WLAN is used. Signed-off-by: Thierry Escande --- arch/arm64/boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi | 2 +- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 -- 2 files changed, 1 insertion(+), 15

[PATCH] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-05-22 Thread Thierry Escande
is initialized. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- lib/test_printf.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/test_printf.c b/lib/test_printf.c index 71ebfa43ad05..839be9385a8a 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -260,6 +

[PATCH] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-05-22 Thread Thierry Escande
is initialized. Signed-off-by: Thierry Escande --- lib/test_printf.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/test_printf.c b/lib/test_printf.c index 71ebfa43ad05..839be9385a8a 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -260,6 +260,13 @@ plain(void) { int err

[PATCH] arm64: dts: msm8996: fix gic_irq_domain_translate warnings

2018-04-27 Thread Thierry Escande
Remove the usage of IRQ_TYPE_NONE to fix loud warnings from patch (83a86fbb5b56b "irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE"). Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 ++- 1

[PATCH] arm64: dts: msm8996: fix gic_irq_domain_translate warnings

2018-04-27 Thread Thierry Escande
Remove the usage of IRQ_TYPE_NONE to fix loud warnings from patch (83a86fbb5b56b "irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE"). Signed-off-by: Thierry Escande --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 ++- 1 file changed, 10 insertions(+), 9

[PATCH] ARM: dts: qcom-apq8064: fix gic_irq_domain_translate warnings

2018-04-20 Thread Thierry Escande
Remove the usage of IRQ_TYPE_NONE to fix loud warnings from patch (83a86fbb5b56b "irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE"). Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- arch/arm/boot/dts/qcom-apq8064.dtsi | 52 ++---

[PATCH] ARM: dts: qcom-apq8064: fix gic_irq_domain_translate warnings

2018-04-20 Thread Thierry Escande
Remove the usage of IRQ_TYPE_NONE to fix loud warnings from patch (83a86fbb5b56b "irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE"). Signed-off-by: Thierry Escande --- arch/arm/boot/dts/qcom-apq8064.dtsi | 52 ++--- 1 file changed, 26

Re: [PATCH] arm64: msm8916: fix gic_irq_domain_translate warnings

2018-04-19 Thread Thierry Escande
c7e1 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi Reviewed-by: Thierry Escande <thierry.esca...@linaro.org> Also successfully tested on dragonboard 410c so: Tested-by: Thierry Escande <thierry.esca...@linaro.org&g

Re: [PATCH] arm64: msm8916: fix gic_irq_domain_translate warnings

2018-04-19 Thread Thierry Escande
t/dts/qcom/msm8916.dtsi Reviewed-by: Thierry Escande Also successfully tested on dragonboard 410c so: Tested-by: Thierry Escande @@ -180,7 +180,7 @@ pmu { compatible = "arm,cortex-a53-pmu"; - interrupts = ; + interrupts = ; };

Re: [PATCH 4.9 000/102] 4.9.93-stable review

2018-04-12 Thread Thierry Escande
On 12/04/2018 14:23, Greg Kroah-Hartman wrote: On Thu, Apr 12, 2018 at 02:17:50PM +0200, Thierry Escande wrote: Hi Greg, On 07/04/2018 08:11, Greg Kroah-Hartman wrote: On Fri, Apr 06, 2018 at 05:25:24PM -0500, Dan Rue wrote: On Fri, Apr 06, 2018 at 03:22:41PM +0200, Greg Kroah-Hartman wrote

Re: [PATCH 4.9 000/102] 4.9.93-stable review

2018-04-12 Thread Thierry Escande
On 12/04/2018 14:23, Greg Kroah-Hartman wrote: On Thu, Apr 12, 2018 at 02:17:50PM +0200, Thierry Escande wrote: Hi Greg, On 07/04/2018 08:11, Greg Kroah-Hartman wrote: On Fri, Apr 06, 2018 at 05:25:24PM -0500, Dan Rue wrote: On Fri, Apr 06, 2018 at 03:22:41PM +0200, Greg Kroah-Hartman wrote

Re: [PATCH 4.9 000/102] 4.9.93-stable review

2018-04-12 Thread Thierry Escande
Hi Greg, On 07/04/2018 08:11, Greg Kroah-Hartman wrote: On Fri, Apr 06, 2018 at 05:25:24PM -0500, Dan Rue wrote: On Fri, Apr 06, 2018 at 03:22:41PM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.93 release. There are 102 patches in this series, all

Re: [PATCH 4.9 000/102] 4.9.93-stable review

2018-04-12 Thread Thierry Escande
Hi Greg, On 07/04/2018 08:11, Greg Kroah-Hartman wrote: On Fri, Apr 06, 2018 at 05:25:24PM -0500, Dan Rue wrote: On Fri, Apr 06, 2018 at 03:22:41PM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.93 release. There are 102 patches in this series, all

[PATCH v7 1/4] arm64: dts: apq8096-db820c: Enable wlan and bt en pins

2018-03-29 Thread Thierry Escande
From: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> This patch enables regulators and gpios for the Qualcomm QCA6174 BT/WLAN combo controller. Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> Signed-off-by: Thierry Escande <thierry.esca...@linaro.org&

[PATCH v7 1/4] arm64: dts: apq8096-db820c: Enable wlan and bt en pins

2018-03-29 Thread Thierry Escande
From: Srinivas Kandagatla This patch enables regulators and gpios for the Qualcomm QCA6174 BT/WLAN combo controller. Signed-off-by: Srinivas Kandagatla Signed-off-by: Thierry Escande --- v7: - New patch in this patchset .../boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi| 22

[PATCH v7 0/4] Bluetooth: hci_qca: Add serdev support

2018-03-29 Thread Thierry Escande
some other issues in patch #3 v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Srinivas Kandagatla (1): arm64: dts: apq8096-db820c: Enable wlan and bt en pins Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net: bluetooth: Ad

[PATCH v7 3/4] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-29 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> Reviewed-by: Rob Herring <r...@kernel.org> --- v7: no change v6: - Remove chip specific pinctrl conf - Move gpio and clocks into optional props

[PATCH v7 0/4] Bluetooth: hci_qca: Add serdev support

2018-03-29 Thread Thierry Escande
some other issues in patch #3 v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Srinivas Kandagatla (1): arm64: dts: apq8096-db820c: Enable wlan and bt en pins Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net: bluetooth: Ad

[PATCH v7 3/4] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-29 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande Reviewed-by: Rob Herring --- v7: no change v6: - Remove chip specific pinctrl conf - Move gpio and clocks into optional props section v5: - Rename 'bt-disable-n' gpio as 'enable' v4

[PATCH v7 2/4] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-29 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v7: - Remove bt-en-active node de

[PATCH v7 2/4] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-29 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande --- v7: - Remove bt-en-active node declared in previous patch v6 - Move gpio

[PATCH v7 4/4] Bluetooth: hci_qca: Add serdev support

2018-03-29 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- v7: no change v6

[PATCH v7 4/4] Bluetooth: hci_qca: Add serdev support

2018-03-29 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande Reviewed-by: Andy Shevchenko --- v7: no change v6: - Fix gpio name in error message v5: - Use gpio new name 'enable' v4

Re: [PATCH v6 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-29 Thread Thierry Escande
Hi, On 28/03/2018 11:51, Thierry Escande wrote: Hi, This patchset enables the Qualcomm BT controller QCA6174 node in the device tree of the db820c board. This allows the bluetooth chipset to be probed and registered against the hci layer by using the serdev framework. This patchset also

Re: [PATCH v6 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-29 Thread Thierry Escande
Hi, On 28/03/2018 11:51, Thierry Escande wrote: Hi, This patchset enables the Qualcomm BT controller QCA6174 node in the device tree of the db820c board. This allows the bluetooth chipset to be probed and registered against the hci layer by using the serdev framework. This patchset also

[PATCH v6 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-28 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v6 - Move gpio properties into p

[PATCH v6 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-28 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande --- v6 - Move gpio properties into pinconf subnode - move pinmux properties

[PATCH v6 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-28 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> Reviewed-by: Rob Herring <r...@kernel.org> --- v6: - Remove chip specific pinctrl conf - Move gpio and clocks into optional props section v5: - Rename

[PATCH v6 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-28 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande Reviewed-by: Rob Herring --- v6: - Remove chip specific pinctrl conf - Move gpio and clocks into optional props section v5: - Rename 'bt-disable-n' gpio as 'enable' v4: - Move bt-disable-n

[PATCH v6 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-28 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- v6: - Fix gpio n

[PATCH v6 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-28 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande Reviewed-by: Andy Shevchenko --- v6: - Fix gpio name in error message v5: - Use gpio new name 'enable' v4: - Rename divclk4

[PATCH v6 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-28 Thread Thierry Escande
patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net: bluetooth: Add qualcomm-bluetooth Bluetooth: hci_qca: Add serdev support .../devicetree/bindings/net/qualcomm-bluetooth.txt | 34 +++ arch/arm64/boot/dts/qcom/apq8

[PATCH v6 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-28 Thread Thierry Escande
patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net: bluetooth: Add qualcomm-bluetooth Bluetooth: hci_qca: Add serdev support .../devicetree/bindings/net/qualcomm-bluetooth.txt | 34 +++ arch/arm64/boot/dts/qcom/apq8

Re: [PATCH v5 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-27 Thread Thierry Escande
Hi Bjorn, On 27/03/2018 00:51, Bjorn Andersson wrote: On Tue 20 Mar 23:58 HKT 2018, Marcel Holtmann wrote: Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> [..] + - clocks: clock phandle for SUSCLK_32KHZ if I compare this with broadcom-bluetooth.txt or ti-bluetoo

Re: [PATCH v5 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-27 Thread Thierry Escande
Hi Bjorn, On 27/03/2018 00:51, Bjorn Andersson wrote: On Tue 20 Mar 23:58 HKT 2018, Marcel Holtmann wrote: Signed-off-by: Thierry Escande [..] + - clocks: clock phandle for SUSCLK_32KHZ if I compare this with broadcom-bluetooth.txt or ti-bluetooth.txt then besides compatible, everything

Re: [PATCH v5 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-26 Thread Thierry Escande
Hi Marcel, On 20/03/2018 16:58, Marcel Holtmann wrote: Hi Thierry, Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v5: - Rename 'bt-disable-n' gpio as 'enable' v4: - Move bt-disable-n-gpios to re

Re: [PATCH v5 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-26 Thread Thierry Escande
Hi Marcel, On 20/03/2018 16:58, Marcel Holtmann wrote: Hi Thierry, Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande --- v5: - Rename 'bt-disable-n' gpio as 'enable' v4: - Move bt-disable-n-gpios to required properties section - Add

Re: [PATCH v5 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-26 Thread Thierry Escande
Hi Marcel, On 20/03/2018 16:49, Marcel Holtmann wrote: Hi Thierry, Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v5: - Use gpio ne

Re: [PATCH v5 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-26 Thread Thierry Escande
Hi Marcel, On 20/03/2018 16:49, Marcel Holtmann wrote: Hi Thierry, Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande --- v5: - Use gpio new name 'enable' v4: - Rename

[PATCH v5 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-19 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v5: - Use gpio new name 'enable' v4: - Rename divclk4 as susclk (its name in the bt chip)

[PATCH v5 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-19 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande --- v5: - Use gpio new name 'enable' v4: - Rename divclk4 as susclk (its name in the bt chip) - Use gpiod_set_value_cansleep

[PATCH v5 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-19 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v5: - Rename 'bt-disable-n' gpio as 'enable' v4: - Move bt-disable-n-gpios to required properties section - Add clocks and pinctrl-0 as required prop

[PATCH v5 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-19 Thread Thierry Escande
"qcom,qca6174-bt" related to this chipset. v5: - Rename 'bt-disable-n' gpio as 'enable' v4: - Fix dt binding documentation - Address some other issues in patch #3 v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db82

[PATCH v5 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-19 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v5: - Rename 'bt-disable-n' gpio as '

[PATCH v5 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-19 Thread Thierry Escande
"qcom,qca6174-bt" related to this chipset. v5: - Rename 'bt-disable-n' gpio as 'enable' v4: - Fix dt binding documentation - Address some other issues in patch #3 v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db82

[PATCH v5 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-19 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande --- v5: - Rename 'bt-disable-n' gpio as 'enable' v4: no change v3: no change

[PATCH v5 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-19 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande --- v5: - Rename 'bt-disable-n' gpio as 'enable' v4: - Move bt-disable-n-gpios to required properties section - Add clocks and pinctrl-0 as required properties v3: no change v2: no change

Re: [PATCH v4 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-15 Thread Thierry Escande
Hi Marcel, On 14/03/2018 20:51, Marcel Holtmann wrote: Hi Bjorn, + bt-disable-n-gpios = <_gpios 19 GPIO_ACTIVE_HIGH>; can we use a common name here. I think that Nokia and Broadcom drivers define one. And if this is the enable/shutdown GPIO, we should name it consistently

Re: [PATCH v4 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-15 Thread Thierry Escande
Hi Marcel, On 14/03/2018 20:51, Marcel Holtmann wrote: Hi Bjorn, + bt-disable-n-gpios = <_gpios 19 GPIO_ACTIVE_HIGH>; can we use a common name here. I think that Nokia and Broadcom drivers define one. And if this is the enable/shutdown GPIO, we should name it consistently

[PATCH v4 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-14 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v4: - Move bt-disable-n-gpios to required properties section - Add clocks and pinctrl-0 as required properties v3: no change v2: no change .../devi

[PATCH v4 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-14 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande --- v4: - Move bt-disable-n-gpios to required properties section - Add clocks and pinctrl-0 as required properties v3: no change v2: no change .../devicetree/bindings/net/qualcomm

[PATCH v4 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-14 Thread Thierry Escande
"qcom,qca6174-bt" related to this chipset. v4: - Fix dt binding documentation - Address some other issues in patch #3 v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net:

[PATCH v4 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-14 Thread Thierry Escande
"qcom,qca6174-bt" related to this chipset. v4: - Fix dt binding documentation - Address some other issues in patch #3 v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net:

[PATCH v4 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-14 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v4: - Rename divclk4 as susclk (its name in the bt chip) - Use gpiod_set_value_ca

[PATCH v4 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-14 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande --- v4: - Rename divclk4 as susclk (its name in the bt chip) - Use gpiod_set_value_cansleep() - Replace #include with - Restore

[PATCH v4 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-14 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v4: no change v3: no change v2: - Fix

[PATCH v4 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-14 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande --- v4: no change v3: no change v2: - Fix author email arch/arm64/boot/dts

Re: [PATCH v3 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-14 Thread Thierry Escande
On 13/03/2018 21:57, Andy Shevchenko wrote: On Tue, Mar 13, 2018 at 8:38 PM, Thierry Escande <thierry.esca...@linaro.org> wrote: Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. config BT_HCIUA

Re: [PATCH v3 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-14 Thread Thierry Escande
On 13/03/2018 21:57, Andy Shevchenko wrote: On Tue, Mar 13, 2018 at 8:38 PM, Thierry Escande wrote: Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. config BT_HCIUART_QCA bool "Qualcomm At

[PATCH v3 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-13 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- arch/arm64/boot/dts/qcom/apq8096-

[PATCH v3 1/3] arm64: dts: apq8096-db820c: enable bluetooth node

2018-03-13 Thread Thierry Escande
Add a new serial node for the Qualcomm BT controller QCA6174. This allows automatic probing and hci registration through the serdev framework instead of relying on the userspace helpers. Signed-off-by: Thierry Escande --- arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi | 14

[PATCH v3 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-13 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- .../devicetree/bindings/net/qualcomm-bluetooth.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devi

[PATCH v3 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-13 Thread Thierry Escande
Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande --- .../devicetree/bindings/net/qualcomm-bluetooth.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qualcomm

[PATCH v3 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-13 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande <thierry.esca...@linaro.org> --- v3: - Remove redundant call to gpiod_set_value() after devm_gpiod_get() - Check returned

[PATCH v3 3/3] Bluetooth: hci_qca: Add serdev support

2018-03-13 Thread Thierry Escande
Add support for Qualcomm serial slave devices. Probe the serial device, retrieve its maximum speed and register a new hci uart device. Signed-off-by: Thierry Escande --- v3: - Remove redundant call to gpiod_set_value() after devm_gpiod_get() - Check returned values for clk_set_rate

[PATCH v3 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-13 Thread Thierry Escande
"qcom,qca6174-bt" related to this chipset. v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net: bluetooth: Add qualcomm-bluetooth Bluetooth: hci_qca: Add serd

[PATCH v3 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-13 Thread Thierry Escande
"qcom,qca6174-bt" related to this chipset. v3: - Address comments for patch #3 (details in patch) v2: - Fix author email Thierry Escande (3): arm64: dts: apq8096-db820c: enable bluetooth node dt-bindings: net: bluetooth: Add qualcomm-bluetooth Bluetooth: hci_qca: Add serd

  1   2   3   4   5   6   7   8   >