[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

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 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

[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 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 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

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 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

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 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

[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 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 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 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

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 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

[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 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 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 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

[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] 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 v3] [media] v4l2: Add support for go2001 PCI codec driver

2017-07-25 Thread Thierry Escande
Signed-off-by: Thierry Escande --- drivers/media/pci/Kconfig|2 + drivers/media/pci/Makefile |1 + drivers/media/pci/go2001/Kconfig | 11 + drivers/media/pci/go2001/Makefile|2 + drivers/media/pci/go2001/go2001.h| 331 drivers

[PATCH v3] go2001 hardware codec support

2017-07-25 Thread Thierry Escande
to earlier failing format tests. test VIDIOC_EXPBUF: OK (Not Supported) Test input 0: Total: 43, Succeeded: 40, Failed: 3, Warnings: 0 Thierry Escande (1): [media] v4l2: Add support for go2001 PCI codec driver drivers/media/pci/Kconfig|2 + drivers/media/pci

[PATCH v3 4/4] platform/chrome: Register cros_ec_accel_legacy driver

2017-10-05 Thread Thierry Escande
deprecated EC commands (Glimmer based devices). Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_dev.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c index cf6c4f0

[PATCH v3 1/4] platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing.

2017-10-05 Thread Thierry Escande
nstantiate the driver explicitly if it is not instantiated through ACPI. Fixes: 12278dc7c572 ("platform/chrome: cros_ec_lpc: Add support for GOOG004 ACPI device") Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Serra Signed-off-by: Thierry Escande --- drivers/platform/chrom

[PATCH v3 0/4] platform/chrome: Support for cros_ec_accel_legacy driver

2017-10-05 Thread Thierry Escande
is missing. Gwendal Grignou (1): platform/chrome: Add cros_ec_accel_legacy driver Thierry Escande (2): platform/chrome: cros_ec_lpc: Add support for Google Glimmer platform/chrome: Register cros_ec_accel_legacy driver Documentation/ABI/testing/sysfs-bus-iio-cros-ec | 10 + drivers/iio

[PATCH v3 3/4] platform/chrome: Add cros_ec_accel_legacy driver

2017-10-05 Thread Thierry Escande
iio abi units - accept calibration calls, but do nothing Chrome can use the same code than regular cros_ec sensor stack to calculate orientation and lid angle. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- Documentation/ABI/testing/sysfs-bus-iio-cros-ec | 10 + drivers/iio

[PATCH v3 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer

2017-10-05 Thread Thierry Escande
This patch adds device information to the DMI table of the cros_ec_lpc driver for Google Glimmer devices. Since Google BIOS does not enumerate devices in the LPC bus, the cros_ec_lpc driver checks for system compatibility and registers the cros_ec device itself. Signed-off-by: Thierry Escande

[PATCH] Bluetooth: Add support for advertising intervals

2017-10-10 Thread Thierry Escande
that multiple advertisements could be interleaved in a round-robin manner. Besides, millisecond is used as the unit of duration instead of second for finer resolution. Signed-off-by: Joseph Hwang Signed-off-by: Thierry Escande --- include/net/bluetooth/hci.h | 1 + include/net/bluetooth/hci_core.h

[PATCH v4 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer

2017-10-12 Thread Thierry Escande
This patch adds device information to the DMI table of the cros_ec_lpc driver for Google Glimmer devices. Since Google BIOS does not enumerate devices in the LPC bus, the cros_ec_lpc driver checks for system compatibility and registers the cros_ec device itself. Signed-off-by: Thierry Escande

[PATCH v4 0/4] platform/chrome: Support for cros_ec_accel_legacy driver

2017-10-12 Thread Thierry Escande
and there Enric Balletbo i Serra (1): platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing. Gwendal Grignou (1): platform/chrome: Add cros_ec_accel_legacy driver Thierry Escande (2): platform/chrome: cros_ec_lpc: Add support for Google Glimmer platform/chrome

[PATCH v4 1/4] platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing.

2017-10-12 Thread Thierry Escande
nstantiate the driver explicitly if it is not instantiated through ACPI. Fixes: 12278dc7c572 ("platform/chrome: cros_ec_lpc: Add support for GOOG004 ACPI device") Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Serra Signed-off-by: Thierry Escande --- drivers/platform/chrom

[PATCH v4 4/4] platform/chrome: Register cros_ec_accel_legacy driver

2017-10-12 Thread Thierry Escande
deprecated EC commands (Glimmer based devices). Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_dev.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c index cf6c4f0

[PATCH v4 3/4] platform/chrome: Add cros_ec_accel_legacy driver

2017-10-12 Thread Thierry Escande
iio abi units - accept calibration calls, but do nothing Chrome can use the same code than regular cros_ec sensor stack to calculate orientation and lid angle. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- Documentation/ABI/testing/sysfs-bus-iio-cros-ec | 10 + drivers/iio

[PATCH v7 00/10] rockchip: kevin: Enable edp display

2018-01-09 Thread Thierry Escande
Hi, This patchset makes edp display work on Chromebook kevin. This patchset has been originally posted by Jeffy Chen and the 2 first commits from the previous version (v6) are already merged in mainline. This v7 has been rebased on top of next-20180108 and a few conflicts have been fixed as

[PATCH v7 4/8] drm/rockchip: dw-mipi-dsi: Fix error handling path

2018-01-09 Thread Thierry Escande
From: Jeffy Chen Add missing pm_runtime_disable() in bind()'s error handling path. Also cleanup encoder & connector in unbind(). Fixes: 80a9a059d4e4 ("drm/rockchip/dsi: add dw-mipi power domain support") Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gp

[PATCH v7 3/8] drm/rockchip: analogix_dp: Add a sanity check for rockchip_drm_psr_register()

2018-01-09 Thread Thierry Escande
From: Jeffy Chen The rockchip_drm_psr_register() can fail, so add a sanity check for that. Also reorder the calls in unbind() to match bind(). Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 15 +++ 1 file changed

[PATCH v7 5/8] drm/rockchip: inno_hdmi: Fix error handling path

2018-01-09 Thread Thierry Escande
From: Jeffy Chen Add missing error handling in bind(). Fixes: 412d4ae6b7a5 ("drm/rockchip: hdmi: add Innosilicon HDMI support") Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/inno_hdmi.c | 22 +- 1 file changed, 17 insert

[PATCH v7 6/8] drm/bridge/synopsys: dw-hdmi: Add missing bridge detach

2018-01-09 Thread Thierry Escande
From: Jeffy Chen We inited connector in attach(), so need a detach() to cleanup. Also fix wrong use of dw_hdmi_remove() in bind(). Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 10 +- 1 file changed, 9 insertions(+), 1

[PATCH v7 7/8] drm/bridge/synopsys: dw-hdmi: Do not use device's drvdata

2018-01-09 Thread Thierry Escande
From: Jeffy Chen Let plat drivers own the drvdata, so that they could cleanup resources in their unbind(). Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande Reviewed-by: Neil Armstrong --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 43 ++--- drivers/gpu/drm

[PATCH v7 8/8] drm/rockchip: dw_hdmi: Fix error handling path

2018-01-09 Thread Thierry Escande
From: Jeffy Chen Add missing clk_disable_unprepare() in bind()'s error handling path and unbind(). Also inline clk_prepare_enable() with bind(). Fixes: 12b9f204e804 ("drm: bridge/dw_hdmi: add rockchip rk3288 support") Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- d

[PATCH v7 2/8] drm/bridge: analogix_dp: Fix connector and encoder cleanup

2018-01-09 Thread Thierry Escande
From: Jeffy Chen Since we are initing connector in the core driver and encoder in the plat driver, let's clean them up in the right places. Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2

[PATCH v7 1/8] drm/bridge: analogix: Do not use device's drvdata

2018-01-09 Thread Thierry Escande
Chen Signed-off-by: Thierry Escande Reviewed-by: Andrzej Hajda Reviewed-by: Sean Paul Acked-by: Jingoo Han Acked-by: Archit Taneja --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 50 +- drivers/gpu/drm/exynos/exynos_dp.c | 26 ++- drivers/gpu

[PATCH v8 7/8] drm/bridge/synopsys: dw-hdmi: Do not use device's drvdata

2018-01-10 Thread Thierry Escande
From: Jeffy Chen Let plat drivers own the drvdata, so that they could cleanup resources in their unbind(). Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande Reviewed-by: Neil Armstrong --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 43 ++--- drivers/gpu/drm

[PATCH v8 8/8] drm/rockchip: dw_hdmi: Fix error handling path

2018-01-10 Thread Thierry Escande
From: Jeffy Chen Add missing clk_disable_unprepare() in bind()'s error handling path and unbind(). Also inline clk_prepare_enable() with bind(). Fixes: 12b9f204e804 ("drm: bridge/dw_hdmi: add rockchip rk3288 support") Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- d

[PATCH v8 0/8] rockchip: kevin: Enable edp display

2018-01-10 Thread Thierry Escande
Hi, This patchset makes edp display work on Chromebook kevin. This patchset has been originally posted by Jeffy Chen and the 2 first commits from a previous version (v6) are already merged in mainline. v8: Fixed compilation issue between patches #7 and #8 reported by Archit. v7: Rebased on top

[PATCH v8 5/8] drm/rockchip: inno_hdmi: Fix error handling path

2018-01-10 Thread Thierry Escande
From: Jeffy Chen Add missing error handling in bind(). Fixes: 412d4ae6b7a5 ("drm/rockchip: hdmi: add Innosilicon HDMI support") Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/inno_hdmi.c | 22 +- 1 file changed, 17 insert

[PATCH v8 6/8] drm/bridge/synopsys: dw-hdmi: Add missing bridge detach

2018-01-10 Thread Thierry Escande
From: Jeffy Chen We inited connector in attach(), so need a detach() to cleanup. Also fix wrong use of dw_hdmi_remove() in bind(). Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 10 +- 1 file changed, 9 insertions(+), 1

[PATCH v8 2/8] drm/bridge: analogix_dp: Fix connector and encoder cleanup

2018-01-10 Thread Thierry Escande
From: Jeffy Chen Since we are initing connector in the core driver and encoder in the plat driver, let's clean them up in the right places. Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2

[PATCH v8 1/8] drm/bridge: analogix: Do not use device's drvdata

2018-01-10 Thread Thierry Escande
Chen Signed-off-by: Thierry Escande Reviewed-by: Andrzej Hajda Reviewed-by: Sean Paul Acked-by: Jingoo Han Acked-by: Archit Taneja --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 50 +- drivers/gpu/drm/exynos/exynos_dp.c | 26 ++- drivers/gpu

[PATCH v8 3/8] drm/rockchip: analogix_dp: Add a sanity check for rockchip_drm_psr_register()

2018-01-10 Thread Thierry Escande
From: Jeffy Chen The rockchip_drm_psr_register() can fail, so add a sanity check for that. Also reorder the calls in unbind() to match bind(). Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 15 +++ 1 file changed

[PATCH v8 4/8] drm/rockchip: dw-mipi-dsi: Fix error handling path

2018-01-10 Thread Thierry Escande
From: Jeffy Chen Add missing pm_runtime_disable() in bind()'s error handling path. Also cleanup encoder & connector in unbind(). Fixes: 80a9a059d4e4 ("drm/rockchip/dsi: add dw-mipi power domain support") Signed-off-by: Jeffy Chen Signed-off-by: Thierry Escande --- drivers/gp

Re: [PATCH v5 2/3] platform/chrome: cros_ec_lpc: Add support for Google Glimmer

2017-12-05 Thread Thierry Escande
vendor/version strings are not exposed when booting in legacy mode using SeaBIOS on the Yoga 11e. Instead it matches with the pair GOOGLE/Glimmer. So this patch is needed for booting a vanilla kernel in legacy mode. Regards, Thierry Gwendal. On Fri, Dec 1, 2017 at 5:42 AM, Thierry Escande

[PATCH 1/4] platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing.

2017-09-18 Thread Thierry Escande
nstantiate the driver explicitly if it is not instantiated through ACPI. Fixes: 12278dc7c572 ("platform/chrome: cros_ec_lpc: Add support for GOOG004 ACPI device") Signed-off-by: Guenter Roeck Signed-off-by: Enric Balletbo i Serra Signed-off-by: Thierry Escande --- drivers/platform/chrom

[PATCH 3/4] platform/chrome: Add cros_ec_accel_legacy driver

2017-09-18 Thread Thierry Escande
iio abi units - accept calibration calls, but do nothing Chrome can use the same code than regular cros_ec sensor stack to calculate orientation and lid angle. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- drivers/iio/accel/Kconfig| 11 + drivers/iio/accel

[PATCH 4/4] platform/chrome: Register cros_ec_accel_legacy driver

2017-09-18 Thread Thierry Escande
deprecated EC commands (Glimmer based devices). Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_dev.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c index cf6c4f0

[PATCH 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer

2017-09-18 Thread Thierry Escande
This patch adds device information to the DMI table of the cros_ec_lpc driver for Google Glimmer devices. Since Google BIOS does not enumerate devices in the LPC bus, the cros_ec_lpc driver checks for system compatibility and registers the cros_ec device itself. Signed-off-by: Thierry Escande

[PATCH 0/4] platform/chrome: Support for cros_ec_accel_legacy driver

2017-09-18 Thread Thierry Escande
: Register the driver if ACPI entry is missing. Gwendal Grignou (1): platform/chrome: Add cros_ec_accel_legacy driver Thierry Escande (2): platform/chrome: cros_ec_lpc: Add support for Google Glimmer platform/chrome: Register cros_ec_accel_legacy driver drivers/iio/accel/Kconfig

[PATCH 2/8] mfd: cros_ec_i2c: move the system sleep pm ops to late

2017-08-10 Thread Thierry Escande
due to some status polling from the EC firmware (e.g. battery status). This patch moves the PM ops to late stage to make it work normally. Signed-off-by: Joseph Lo Signed-off-by: Thierry Escande --- drivers/mfd/cros_ec_i2c.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 1/8] iio: cros_ec: Relax sampling frequency before suspending

2017-08-10 Thread Thierry Escande
and complete callbacks to set 1s sampling period just before suspend. This ensures the sensor hub will not be a source of interrupt during the suspend process. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- .../iio/common/cros_ec_sensors/cros_ec_sensors.c | 1 + .../common

[PATCH 8/8] platform/chrome: cros_ec: sysfs: Modify error handling

2017-08-10 Thread Thierry Escande
of cros_ec_cmd_xfer() so an error message is printed in the syslog. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_sysfs.c | 25 - 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_sysfs.c b

[PATCH 6/8] mfd: cros_ec_i2c: add ACPI module device table

2017-08-10 Thread Thierry Escande
From: Wei-Ning Huang Add ACPI module device table for matching cros-ec devices to load the cros_ec_i2c driver automatically. Signed-off-by: Wei-Ning Huang Signed-off-by: Thierry Escande --- drivers/mfd/cros_ec_i2c.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers

[PATCH 7/8] platform/chrome: cros_ec: Add sysfs entry to set keyboard wake lid angle

2017-08-10 Thread Thierry Escande
so the features map obtained from the EC is ready on time. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_dev.c | 32 ++--- drivers/platform/chrome/cros_ec_sysfs.c | 80 + include/linux/mfd/cros_ec.h

[PATCH 5/8] mfd: cros_ec: fail early if we cannot identify the EC

2017-08-10 Thread Thierry Escande
-off-by: Vincent Palatin Signed-off-by: Thierry Escande --- drivers/mfd/cros_ec.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c index b0ca5a4c..c5528ae 100644 --- a/drivers/mfd/cros_ec.c +++ b/drivers/mfd/cros_ec.c @@ -112,7

[PATCH 0/8] platform/chrome: cros_ec: Fixes and improvements

2017-08-10 Thread Thierry Escande
Hi, This series contains various fixes and improvements for the ChromeOS Embedded Controller drivers. These concern PM suspend/resume fixes, sysfs interface, and module initialization. Regards, Thierry Daniel Hung-yu Wu (1): platform/chrome: cros_ec: register shutdown function for debugfs

[PATCH 4/8] platform/chrome: cros_ec: register shutdown function for debugfs

2017-08-10 Thread Thierry Escande
Wu Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_dev.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c index 2571f5e..225d8e9 100644 --- a/drivers/platform/chrome/cros_ec_dev.c +++ b

[PATCH 3/8] mfd: cros_ec: Stop the debugfs work when suspended

2017-08-10 Thread Thierry Escande
Signed-off-by: Douglas Anderson Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_debugfs.c | 18 ++ drivers/platform/chrome/cros_ec_debugfs.h | 2 ++ drivers/platform/chrome/cros_ec_dev.c | 4 3 files changed, 24 insertions(+) diff --git a/drivers

Re: [PATCH 7/8] platform/chrome: cros_ec: Add sysfs entry to set keyboard wake lid angle

2017-08-11 Thread Thierry Escande
Hi Benson, On 11/08/2017 07:29, Benson Leung wrote: +/* Keyboard wake angle control */ + +static ssize_t show_kb_wake_angle(struct device *dev, + struct device_attribute *attr, char *buf) +{ + struct ec_response_motion_sense *resp; + struct

[PATCH v2 6/8] mfd: cros_ec_i2c: add ACPI module device table

2017-08-11 Thread Thierry Escande
From: Wei-Ning Huang Add ACPI module device table for matching cros-ec devices to load the cros_ec_i2c driver automatically. Signed-off-by: Wei-Ning Huang Signed-off-by: Thierry Escande Acked-by: Benson Leung --- drivers/mfd/cros_ec_i2c.c | 12 1 file changed, 12 insertions

[PATCH v2 0/8] platform/chrome: cros_ec: Fixes and improvements

2017-08-11 Thread Thierry Escande
Hi, This series contains various fixes and improvements for the ChromeOS Embedded Controller drivers. These concern PM suspend/resume fixes, sysfs interface, and module initialization. Regards, Thierry v2 changes: - Restore original changes from ChromeOS kernel tree (a function is added in

[PATCH v2 8/8] platform/chrome: cros_ec: sysfs: Modify error handling

2017-08-11 Thread Thierry Escande
of cros_ec_cmd_xfer() so an error message is printed in the syslog. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_sysfs.c | 30 +- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_sysfs.c

[PATCH v2 5/8] mfd: cros_ec: fail early if we cannot identify the EC

2017-08-11 Thread Thierry Escande
-off-by: Vincent Palatin Signed-off-by: Thierry Escande Acked-by: Benson Leung --- drivers/mfd/cros_ec.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c index b0ca5a4c..c5528ae 100644 --- a/drivers/mfd/cros_ec.c +++ b/drivers

[PATCH v2 7/8] platform/chrome: cros_ec: Add sysfs entry to set keyboard wake lid angle

2017-08-11 Thread Thierry Escande
so the features map obtained from the EC is ready on time. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_dev.c | 32 ++--- drivers/platform/chrome/cros_ec_sysfs.c | 83 + include/linux/mfd/cros_ec.h

[PATCH v2 3/8] mfd: cros_ec: Stop the debugfs work when suspended

2017-08-11 Thread Thierry Escande
Signed-off-by: Douglas Anderson Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_debugfs.c | 18 ++ drivers/platform/chrome/cros_ec_debugfs.h | 2 ++ drivers/platform/chrome/cros_ec_dev.c | 4 3 files changed, 24 insertions(+) diff --git a/drivers

[PATCH v2 1/8] iio: cros_ec: Relax sampling frequency before suspending

2017-08-11 Thread Thierry Escande
and complete callbacks to set 1s sampling period just before suspend. This ensures the sensor hub will not be a source of interrupt during the suspend process. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- .../iio/common/cros_ec_sensors/cros_ec_sensors.c | 1 + .../common

[PATCH v2 4/8] platform/chrome: cros_ec: register shutdown function for debugfs

2017-08-11 Thread Thierry Escande
Wu Signed-off-by: Thierry Escande --- drivers/platform/chrome/cros_ec_dev.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c index 2571f5e..225d8e9 100644 --- a/drivers/platform/chrome/cros_ec_dev.c +++ b

[PATCH v2 2/8] mfd: cros_ec_i2c: move the system sleep pm ops to late

2017-08-11 Thread Thierry Escande
due to some status polling from the EC firmware (e.g. battery status). This patch moves the PM ops to late stage to make it work normally. Signed-off-by: Joseph Lo Signed-off-by: Thierry Escande Acked-by: Benson Leung --- drivers/mfd/cros_ec_i2c.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH v2 0/2] mfd: cros_ec: move cros_ec_dev driver to MFD subdir

2017-11-20 Thread Thierry Escande
cros_ec_ctl will be kept in drivers/platform/chrome/. Regards, Thierry Thierry Escande (2): cros_ec: Split cros_ec_devs module cros_ec: Move cros_ec_dev module to drivers/mfd drivers/mfd/Kconfig| 10 + drivers/mfd/Makefile | 1 + drivers/mfd

[PATCH v2 1/2] cros_ec: Split cros_ec_devs module

2017-11-20 Thread Thierry Escande
-ec-dev instead of cros-ec-ctl. In the next commit, the new cros_ec_dev module will be moved to the MFD subtree so mfd_add_devices() calls are not done from outside MFD. Signed-off-by: Thierry Escande --- drivers/mfd/cros_ec.c | 4 ++-- drivers/platform/chrome/Kconfig

[PATCH v2 2/2] cros_ec: Move cros_ec_dev module to drivers/mfd

2017-11-20 Thread Thierry Escande
The cros_ec_dev module is responsible for registering the MFD devices attached to the ChromeOS EC. This patch moves this module to drivers/mfd so calls to mfd_add_devices() are not done from outside the MFD subtree anymore. Signed-off-by: Thierry Escande --- drivers/mfd/Kconfig

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
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

[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
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 = ; };

[PATCH 14/40] drm/bridge: analogix_dp: Check AUX_EN status when doing AUX transfer

2018-01-15 Thread Thierry Escande
From: Lin Huang We should check AUX_EN bit to confirm the AUX CH operation is completed. Cc: Stéphane Marchesin Signed-off-by: Lin Huang Signed-off-by: zain wang Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 25

[PATCH 39/40] drm/rockchip: analogix_dp: Fix invalid implementation of unbind

2018-01-15 Thread Thierry Escande
() callback to do Rockchip-specific things at unbind. Cc: Kristian H. Kristensen Cc: Brian Norris Signed-off-by: Tomasz Figa [seanpaul fixed conflict keeping rockchip_dp_unbind() preserving clk_unprepare] Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip

[PATCH 32/40] drm/bridge: analogix_dp: Add analogix_dp_shutdown

2018-01-15 Thread Thierry Escande
Norris Signed-off-by: Tomasz Figa Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 7 +++ include/drm/bridge/analogix_dp.h | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/bridge/analogix

[PATCH 30/40] drm/rockchip: Flush PSR before committing modeset disables/enables

2018-01-15 Thread Thierry Escande
Figa Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 21 - drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 7 --- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/rockchip

[PATCH 38/40] drm/rockchip: pre dither down when output bpc is 8bit

2018-01-15 Thread Thierry Escande
dither down vop data to 8bit if panel's bpc is 8. Signed-off-by: Mark Yao [seanpaul resolved conflict in rockchip_drm_vop.c] Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 2 ++ drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1

[PATCH 40/40] drm/bridge: analogix_dp: Split the platform-specific poweron in two parts

2018-01-15 Thread Thierry Escande
the enable until the end. Cc: Kristian H. Kristensen Signed-off-by: Douglas Anderson [seanpaul added exynos change] Signed-off-by: Sean Paul Signed-off-by: Thierry Escande Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 7 +-- drivers/gpu/drm/exynos/exynos_dp.c

[PATCH 37/40] drm/panel: simple: Change mode for Sharp lq123p1jx31

2018-01-15 Thread Thierry Escande
From: Sean Paul Change the mode for Sharp lq123p1jx31 panel to something more rockchip-friendly such that we can use the fixed PLLs to generate the pixel clock Cc: Chris Zhong Cc: Stéphane Marchesin Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/panel/panel

[PATCH 35/40] drm/bridge: analogix_dp: Properly log AUX CH errors

2018-01-15 Thread Thierry Escande
-by: Thierry Escande Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c index

[PATCH 31/40] drm/bridge: analogix_dp: Allow master driver to cleanup in unbind

2018-01-15 Thread Thierry Escande
off-by: Thierry Escande --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 3 +++ include/drm/bridge/analogix_dp.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c in

[PATCH 36/40] drm/bridge: analogix_dp: Properly disable aux chan retries on rockchip

2018-01-15 Thread Thierry Escande
behavior across all platforms. Cc: Stéphane Marchesin Cc: 征增 王 Signed-off-by: Douglas Anderson Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

[PATCH 33/40] drm/rockchip: analogix_dp: Wire the shutdown callback to disable PSR

2018-01-15 Thread Thierry Escande
. Kristensen Cc: Brian Norris Signed-off-by: Tomasz Figa Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm

[PATCH 34/40] drm/bridge: analogix_dp: Reorder plat_data->power_off to happen sooner

2018-01-15 Thread Thierry Escande
, where I had a kgdb breakpoint. Presumably the device would have eventually given up and shut down anyway, but it seems better to fix the order to be more correct. Cc: Kristian H. Kristensen Signed-off-by: Douglas Anderson Signed-off-by: Sean Paul Signed-off-by: Thierry Escande Review

<    1   2   3   4   5   6   7   8   >