[PATCH v3] [media] v4l2: Add support for go2001 PCI codec driver

2017-07-25 Thread Thierry Escande
tio <v...@chromium.org> henryhsu <henry...@chromium.org> Wu-Cheng Li <wuchen...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/pci/Kconfig|2 + drivers/media/pci/Makefile |1 + drivers/media/pci

[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 v4 6/8] [media] s5p-jpeg: Decode 4:1:1 chroma subsampling format

2017-06-30 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> This patch adds support for decoding 4:1:1 chroma subsampling in the jpeg header parsing function. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Acked-by: And

[PATCH v4 5/8] [media] s5p-jpeg: Split s5p_jpeg_parse_hdr()

2017-06-30 Thread Thierry Escande
This patch moves the subsampling value decoding read from the jpeg header into its own function. This new function is called s5p_jpeg_subsampling_decode() and returns true if it successfully decodes the subsampling value, false otherwise. Signed-off-by: Thierry Escande <thierry.e

[PATCH v4 1/8] [media] s5p-jpeg: Call jpeg_bound_align_image after qbuf

2017-06-30 Thread Thierry Escande
msung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Acked-by: Andrzej Pietrasiewicz <andrze...@samsung.com> Acked-by: Jacek Anaszewski <jacek.anaszew...@gmail.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 19 +++ 1 file changed, 19 inser

[PATCH v4 2/8] [media] s5p-jpeg: Correct WARN_ON statement for checking subsampling

2017-06-30 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> Corrects the WARN_ON statement for subsampling based on the JPEG Hardware version. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Acked-by: Andrzej Pie

[PATCH v4 7/8] [media] s5p-jpeg: Add support for resolution change event

2017-06-30 Thread Thierry Escande
s used in the Chromium browser project by the V4L2 JPEG Decode Accelerator (V4L2JDA) to allocate output buffer. Signed-off-by: Henry-Ruey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Acked-by: Andrzej Pietrasiewicz <andrze...@samsung

[PATCH v4 0/8] [media] s5p-jpeg: Various fixes and improvements

2017-06-30 Thread Thierry Escande
lanar APIs (Not needed). - Add comment regarding call to jpeg_bound_align_image() after qbuf. - Remove unrelated code from resolution change event support patch. Thierry Escande (3): [media] s5p-jpeg: Handle parsing error in s5p_jpeg_parse_hdr() [media] s5p-jpeg: Don't use temporary structure in s5p_jpeg

[PATCH v4 3/8] [media] s5p-jpeg: Handle parsing error in s5p_jpeg_parse_hdr()

2017-06-30 Thread Thierry Escande
This patch modifies the s5p_jpeg_parse_hdr() function so it only modifies the passed s5p_jpeg_q_data structure if the jpeg header parsing is successful. Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Acked-by: Andrzej Pietrasiewicz <andrze...@samsung.com> Ack

[PATCH v4 8/8] [media] s5p-jpeg: Add stream error handling for Exynos5420

2017-06-30 Thread Thierry Escande
ey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Acked-by: Andrzej Pietrasiewicz <andrze...@samsung.com> Acked-by: Jacek Anaszewski <jacek.anaszew...@gmail.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 9 - 1 fi

[PATCH v4 4/8] [media] s5p-jpeg: Don't use temporary structure in s5p_jpeg_buf_queue

2017-06-30 Thread Thierry Escande
If s5p_jpeg_parse_hdr() fails to parse the JPEG header, the passed s5p_jpeg_q_data structure is not modified so there is no need to use a temporary structure and the field-by-field copy can be avoided. Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Acked-by: Andrzej Pietras

[PATCH] [media] v4l2: Add support for go2001 PCI codec driver

2017-05-03 Thread Thierry Escande
in Linux v4.4. This driver is originally developed by: Pawel Osciak <posc...@chromium.org> Ville-Mikko Rautio <v...@chromium.org> henryhsu <henry...@chromium.org> Wu-Cheng Li <wuchen...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>

[PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-11 Thread Thierry Escande
t much we can do for these drives, so we shouldn't fail to suspend for this error case. The drive may stay powered if that's the setup for the port it's plugged into. Signed-off-by: Derek Basehore <dbaseh...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com&g

[PATCH v3] sd: Ignore sync cache failures when not supported

2017-05-09 Thread Thierry Escande
t much we can do for these drives, so we shouldn't fail to suspend for this error case. The drive may stay powered if that's the setup for the port it's plugged into. Signed-off-by: Derek Basehore <dbaseh...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com&g

[PATCH v2 4/6] [media] s5p-jpeg: Decode 4:1:1 chroma subsampling format

2017-06-12 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> This patch adds support for decoding 4:1:1 chroma subsampling in the jpeg header parsing function. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media

[PATCH v2 0/6] [media] s5p-jpeg: Various fixes and improvements

2017-06-12 Thread Thierry Escande
Hi, This series contains various fixes and improvements for the Samsung s5p-jpeg driver. All these patches come from the Chromium v3.8 kernel tree. In this v2: - Remove IOMMU support patch (mapping now created automatically for single JPEG CODEC device). - Remove "Change sclk_jpeg to 166MHz"

[PATCH v2 3/6] [media] s5p-jpeg: Correct WARN_ON statement for checking subsampling

2017-06-12 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> Corrects the WARN_ON statement for subsampling based on the JPEG Hardware version. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jp

[PATCH v2 2/6] [media] s5p-jpeg: Call jpeg_bound_align_image after qbuf

2017-06-12 Thread Thierry Escande
msung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c index 52dc7

[PATCH v2 6/6] [media] s5p-jpeg: Add stream error handling for Exynos5420

2017-06-12 Thread Thierry Escande
ey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/plat

[PATCH v2 5/6] [media] s5p-jpeg: Add support for resolution change event

2017-06-12 Thread Thierry Escande
Henry-Ruey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 125 +++- drivers/media/platform/s5p-jpeg/jpeg-core.h | 7 ++ 2 files changed, 91 insertions(+), 41 deleti

[PATCH v2 1/6] [media] s5p-jpeg: Reset the Codec before doing a soft reset

2017-06-12 Thread Thierry Escande
From: Abhilash Kesavan <a.kesa...@samsung.com> This patch resets the encoding and decoding register bits before doing a soft reset. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platfor

Re: [PATCH v2 5/6] [media] s5p-jpeg: Add support for resolution change event

2017-06-19 Thread Thierry Escande
see inline. W dniu 12.06.2017 o 19:13, Thierry Escande pisze: From: henryhsu <henry...@chromium.org> @@ -1611,8 +1612,6 @@ static int s5p_jpeg_s_fmt(struct s5p_jpeg_ctx *ct, struct v4l2_format *f) FMT_TYPE_OUTPUT : FMT_TYPE_CAPTURE; q_data->fmt = s5p_jpeg_find_forma

Re: [PATCH v2 5/6] [media] s5p-jpeg: Add support for resolution change event

2017-06-20 Thread Thierry Escande
Hi Andrzej, On 20/06/2017 12:51, Andrzej Pietrasiewicz wrote: Hi Thierry, W dniu 19.06.2017 o 15:50, Thierry Escande pisze: Hi Andrzej, On 16/06/2017 17:38, Andrzej Pietrasiewicz wrote: Hi Thierry, Thank you for the patch. Can you give a use case for resolution change event

Re: [PATCH RESEND 09/13] platform/chrome: cros_ec_lpc: Add MKBP events support over ACPI

2017-06-23 Thread Thierry Escande
Hi Benson, On 22/06/2017 21:35, Benson Leung wrote: + adev = ACPI_COMPANION(dev); + if (adev) { + status = acpi_install_notify_handler(adev->handle, +ACPI_ALL_NOTIFY, Is there a reason you're using

[PATCH v3 2/8] [media] s5p-jpeg: Correct WARN_ON statement for checking subsampling

2017-06-27 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> Corrects the WARN_ON statement for subsampling based on the JPEG Hardware version. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jp

[PATCH v3 0/8] [media] s5p-jpeg: Various fixes and improvements

2017-06-27 Thread Thierry Escande
ange event support patch. Thierry Escande (3): [media] s5p-jpeg: Handle parsing error in s5p_jpeg_parse_hdr() [media] s5p-jpeg: Don't use temporary structure in s5p_jpeg_buf_queue [media] s5p-jpeg: Split s5p_jpeg_parse_hdr() Tony K Nadackal (3): [media] s5p-jpeg: Call jpeg_bound_align_image

[PATCH v3 4/8] [media] s5p-jpeg: Don't use temporary structure in s5p_jpeg_buf_queue

2017-06-27 Thread Thierry Escande
If s5p_jpeg_parse_hdr() fails to parse the JPEG header, the passed s5p_jpeg_q_data structure is not modify so there is no need to use a temporary structure and the field-by-field copy can be avoided. Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platfo

[PATCH v3 7/8] [media] s5p-jpeg: Add support for resolution change event

2017-06-27 Thread Thierry Escande
s used in the Chromium browser project by the V4L2 JPEG Decode Accelerator (V4L2JDA) to allocate output buffer. Signed-off-by: Henry-Ruey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg

[PATCH v3 5/8] [media] s5p-jpeg: Split s5p_jpeg_parse_hdr()

2017-06-27 Thread Thierry Escande
This patch moves the subsampling value decoding read from the jpeg header into its own function. This new function is called s5p_jpeg_subsampling_decode() and returns true if it successfully decodes the subsampling value, false otherwise. Signed-off-by: Thierry Escande <thierry.e

[PATCH v3 1/8] [media] s5p-jpeg: Call jpeg_bound_align_image after qbuf

2017-06-27 Thread Thierry Escande
msung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c index 52dc7

[PATCH v3 3/8] [media] s5p-jpeg: Handle parsing error in s5p_jpeg_parse_hdr()

2017-06-27 Thread Thierry Escande
This patch modifies the s5p_jpeg_parse_hdr() function so it only modifies the passed s5p_jpeg_q_data structure if the jpeg header parsing is successful. Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.

[PATCH v3 6/8] [media] s5p-jpeg: Decode 4:1:1 chroma subsampling format

2017-06-27 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> This patch adds support for decoding 4:1:1 chroma subsampling in the jpeg header parsing function. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media

[PATCH v3 8/8] [media] s5p-jpeg: Add stream error handling for Exynos5420

2017-06-27 Thread Thierry Escande
ey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/plat

[PATCH v2] [media] v4l2: Add support for go2001 PCI codec driver

2017-05-25 Thread Thierry Escande
in Linux v4.4. This driver is originally developed by: Pawel Osciak <posc...@chromium.org> Ville-Mikko Rautio <v...@chromium.org> henryhsu <henry...@chromium.org> Wu-Cheng Li <wuchen...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- Cha

[PATCH 0/9] [media] s5p-jpeg: Various fixes and improvements

2017-06-02 Thread Thierry Escande
Hi, This series contains various fixes and improvements for the Samsung s5p-jpeg driver. All these patches come from the Chromium v3.8 kernel tree. Regards, Thierry Abhilash Kesavan (1): [media] s5p-jpeg: Reset the Codec before doing a soft reset Ricky Liang (1): [media] s5p-jpeg: Add

[PATCH 6/9] [media] s5p-jpeg: Add support for resolution change event

2017-06-02 Thread Thierry Escande
Henry-Ruey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 121 drivers/media/platform/s5p-jpeg/jpeg-core.h | 7 ++ 2 files changed, 95 insertions(+), 33 deleti

[PATCH 4/9] [media] s5p-jpeg: Decode 4:1:1 chroma subsampling format

2017-06-02 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> This patch adds support for decoding 4:1:1 chroma subsampling in the jpeg header parsing function. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media

[PATCH 7/9] [media] s5p-jpeg: Change sclk_jpeg to 166MHz for Exynos5250

2017-06-02 Thread Thierry Escande
From: henryhsu <henry...@chromium.org> The default clock parent of jpeg on Exynos5250 is fin_pll, which is 24MHz. We have to change the clock parent to CPLL, which is 333MHz, and set sclk_jpeg to 166MHz. Signed-off-by: Heng-Ruey Hsu <henry...@chromium.org> Signed-off-by: Thi

[PATCH 8/9] [media] s5p-jpeg: Add stream error handling for Exynos5420

2017-06-02 Thread Thierry Escande
ey Hsu <henry...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/plat

[PATCH 5/9] [media] s5p-jpeg: Add IOMMU support

2017-06-02 Thread Thierry Escande
<tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 77 + 1 file changed, 77 insertions(+) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5

[PATCH 3/9] [media] s5p-jpeg: Correct WARN_ON statement for checking subsampling

2017-06-02 Thread Thierry Escande
From: Tony K Nadackal <tony...@samsung.com> Corrects the WARN_ON statement for subsampling based on the JPEG Hardware version. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jp

[PATCH 2/9] [media] s5p-jpeg: Call jpeg_bound_align_image after qbuf

2017-06-02 Thread Thierry Escande
msung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c index 52dc794..6fb1ab4 10

[PATCH 1/9] [media] s5p-jpeg: Reset the Codec before doing a soft reset

2017-06-02 Thread Thierry Escande
From: Abhilash Kesavan <a.kesa...@samsung.com> This patch resets the encoding and decoding register bits before doing a soft reset. Signed-off-by: Tony K Nadackal <tony...@samsung.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platfor

[PATCH 9/9] [media] s5p-jpeg: Add support for multi-planar APIs

2017-06-02 Thread Thierry Escande
Signed-off-by: Ricky Liang <jcli...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 152 +--- drivers/media/platform/s5p-jpeg/jpeg-core.h | 2 + 2 files changed, 139 insertion

Re: [PATCH 6/9] [media] s5p-jpeg: Add support for resolution change event

2017-06-07 Thread Thierry Escande
Hi Jacek, On 02/06/2017 23:53, Jacek Anaszewski wrote: Hi Thierry, On 06/02/2017 06:02 PM, Thierry Escande wrote: From: henryhsu <henry...@chromium.org> This patch adds support for resolution change event to notify clients so they can prepare correct output buffer. When resolution

Re: [PATCH 1/9] [media] s5p-jpeg: Reset the Codec before doing a soft reset

2017-06-07 Thread Thierry Escande
Hi Jacek, On 02/06/2017 21:50, Jacek Anaszewski wrote: Hi Thierry, On 06/02/2017 06:02 PM, Thierry Escande wrote: From: Abhilash Kesavan <a.kesa...@samsung.com> This patch resets the encoding and decoding register bits before doing a soft reset. Signed-off-by: Tony K Nadackal

[PATCH v2] sd: Ignore sync cache failures when not supported

2017-05-04 Thread Thierry Escande
t much we can do for these drives, so we shouldn't fail to suspend for this error case. The drive may stay powered if that's the setup for the port it's plugged into. Signed-off-by: Derek Basehore <dbaseh...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com&g

[PATCH 0/2] Add ACPI table for the ts3a227e driver

2017-05-02 Thread Thierry Escande
acpi table Thierry Escande (1): ASoc: cht_bsw_max98090_ti: Fix jack initialization sound/soc/codecs/ts3a227e.c | 10 ++ sound/soc/intel/boards/cht_bsw_max98090_ti.c | 52 +--- 2 files changed, 41 insertions(+), 21 deletions(-) -- 2.7.4

[PATCH 1/2] ASoc: cht_bsw_max98090_ti: Fix jack initialization

2017-05-02 Thread Thierry Escande
pointer dereference as the jack detection enabling function in the ts3a driver was called before the jack is created. Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- sound/soc/intel/boards/cht_bsw_max98090_ti.c | 50 +--- 1 file changed, 30 insertions(

[PATCH 2/2] ASoC: ts3a227e: add acpi table

2017-05-02 Thread Thierry Escande
ng.a.f...@intel.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- sound/soc/codecs/ts3a227e.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c index 4356843..738e04b 100644 --- a/sound/soc/codec

Re: [PATCH v2] sd: Ignore sync cache failures when not supported

2017-05-05 Thread Thierry Escande
On 05/05/2017 11:02, Christoph Hellwig wrote: Normally we'd just pass the scsi_sense_hdr structure in from the caler if we care about sense data. Is this something you considered? Not really as only the sense_key field is needed for only one call to sd_sync_cache() (out of two). Otherwise

Re: [alsa-devel] [PATCH 1/2] ASoc: cht_bsw_max98090_ti: Fix jack initialization

2017-05-05 Thread Thierry Escande
Hi, On 04/05/2017 19:01, Pierre-Louis Bossart wrote: On 05/02/2017 05:11 AM, Thierry Escande wrote: If the ts3a227e audio accessory detection hardware is present and its driver probed, the jack needs to be created before enabling jack detection in the ts3a227e driver. With this patch

[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 3/4] platform/chrome: Add cros_ec_accel_legacy driver

2017-09-18 Thread Thierry Escande
HTML5 axis definition - use 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 <gwen...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca..

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

2017-09-18 Thread Thierry Escande
ra <enric.balle...@collabora.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/platform/chrome/cros_ec_lpc.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers

[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 <thierry.esca...@collabora.com> --- 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/

[PATCH] Bluetooth: Add support for advertising intervals

2017-10-10 Thread Thierry Escande
tising interval so 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 <joseph...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca..

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

2017-10-05 Thread Thierry Escande
HTML5 axis definition - use 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 <gwen...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca..

[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 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 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 <thierry.esca...@collabora.com> --- 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/

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

2017-10-05 Thread Thierry Escande
ra <enric.balle...@collabora.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/platform/chrome/cros_ec_lpc.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers

[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
ra <enric.balle...@collabora.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/platform/chrome/cros_ec_lpc.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers

[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 <thierry.esca...@collabora.com> --- 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/

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

2017-10-12 Thread Thierry Escande
HTML5 axis definition - use 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 <gwen...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca..

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

2017-09-27 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 v2 3/4] platform/chrome: Add cros_ec_accel_legacy driver

2017-09-27 Thread Thierry Escande
HTML5 axis definition - use 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 <gwen...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca..

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

2017-09-27 Thread Thierry Escande
deprecated EC commands (Glimmer based devices). Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- 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/

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

2017-09-27 Thread Thierry Escande
ra <enric.balle...@collabora.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/platform/chrome/cros_ec_lpc.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers

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

2017-09-27 Thread Thierry Escande
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: Register

[PATCH] cros_ec: Fix a memory leak in show/store sysfs callbacks

2017-10-24 Thread Thierry Escande
This patch fixes a memory leak in the sysfs show/store callbacks of the keyboard wake angle attribute. The EC message structure was allocated but never freed. Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/platform/chrome/cros_ec_sysfs.c | 11 ---

[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 <thierry.esca...@collabora.

[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 <thierry.esca...@collabora.com> --- drivers/mfd/cros_ec.c | 4 ++-- d

[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

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 v5 2/3] platform/chrome: cros_ec_lpc: Add support for Google Glimmer

2017-12-01 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 v5 3/3] platform/chrome: Register cros_ec_accel_legacy driver

2017-12-01 Thread Thierry Escande
deprecated EC commands (Glimmer based devices). Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/mfd/cros_ec_dev.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c

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

2017-12-01 Thread Thierry Escande
- Added missing sysfs attribute documentation - Few cosmetic changes here and there Enric Balletbo i Serra (1): platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing. Thierry Escande (2): platform/chrome: cros_ec_lpc: Add support for Google Glimmer platform/chrome

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

2017-12-01 Thread Thierry Escande
ra <enric.balle...@collabora.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> --- drivers/platform/chrome/cros_ec_lpc.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers

[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: 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 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] 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 +

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

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

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

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

2018-01-10 Thread Thierry Escande
From: Jeffy Chen <jeffy.c...@rock-chips.com> Add missing error handling in bind(). Fixes: 412d4ae6b7a5 ("drm/rockchip: hdmi: add Innosilicon HDMI support") Signed-off-by: Jeffy Chen <jeffy.c...@rock-chips.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.

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

2018-01-10 Thread Thierry Escande
From: Jeffy Chen <jeffy.c...@rock-chips.com> 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 <jeffy.c...@rock-chips.com> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>

<    1   2   3   4   5   6   7   8   >