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
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
check before the device is
added so the features map obtained from the EC is ready on time.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_dev.c | 32 ++---
drive
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
From: Wei-Ning Huang <wnhu...@google.com>
Add ACPI module device table for matching cros-ec devices to load the
cros_ec_i2c driver automatically.
Signed-off-by: Wei-Ning Huang <wnhu...@google.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/mfd/
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
status() instead of
cros_ec_cmd_xfer() so an error message is printed in the syslog.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_sysfs.c | 25 -
1 file cha
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
ake up, this patch adds prepare 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 <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca..
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
needs to be resumed
earlier 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 <jose...@nvidia.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers
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
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
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
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
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
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
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
Acked-by: Andrzej Pietrasiewicz
Acked-by: Jacek Anaszewski
---
drivers/media/platform/s5p-jpeg/jpeg-core.c
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
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
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
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
From: henryhsu
On Exynos5420, the STREAM_STAT bit raised on the JPGINTST register means
there is a syntax error or an unrecoverable error on compressed file
when ERR_INT_EN is set to 1.
Fix this case and report BUF_STATE_ERROR to videobuf2.
Signed-off-by: Henry-Ruey Hsu
Signed-off-by: Thierry
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
Acked-by: Andrzej Pietrasiewicz
Acked-by: Jacek Anaszewski
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
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
From: Tony K Nadackal
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
Acked-by: Andrzej Pietrasiewicz
Acked-by: Jacek Anaszewski
---
drivers/media/platform/s5p-jpeg/jpeg-core.c
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
Acked-by: Andrzej
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
From: Tony K Nadackal
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
Acked-by: Andrzej Pietrasiewicz
Acked-by: Jacek Anaszewski
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 6 --
1
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
project by the V4L2 JPEG
Decode Accelerator (V4L2JDA) to allocate output buffer.
Signed-off-by: Henry-Ruey Hsu
Signed-off-by: Thierry Escande
Acked-by: Andrzej Pietrasiewicz
Acked-by: Jacek Anaszewski
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 106 +---
drivers
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
header. If the width/height values of jpeg are not aligned, the
decoder output will be corrupted. So in this patch we call
jpeg_bound_align_image() to align the width/height values of Capture
buffer in s5p_jpeg_buf_queue().
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
Acked
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
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
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 23
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
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
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
From: Tony K Nadackal
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
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
project by the V4L2 JPEG
Decode Accelerator (V4L2JDA) to allocate output buffer.
Signed-off-by: Henry-Ruey Hsu
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 106 +---
drivers/media/platform/s5p-jpeg/jpeg-core.h | 7 ++
2 files changed
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
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
---
drivers/media
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
From: Tony K Nadackal
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 15 +++
1 file changed, 15 insertions(+)
diff
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
From: henryhsu
On Exynos5420, the STREAM_STAT bit raised on the JPGINTST register means
there is a syntax error or an unrecoverable error on compressed file
when ERR_INT_EN is set to 1.
Fix this case and report BUF_STATE_ERROR to videobuf2.
Signed-off-by: Henry-Ruey Hsu
Signed-off-by: Thierry
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
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.
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
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 38 -
1 file changed, 21
header. If the width/height values of jpeg are not aligned, the
decoder output will be corrupted. So in this patch we call
jpeg_bound_align_image() to align the width/height values of Capture
buffer in s5p_jpeg_buf_queue().
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers
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
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
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
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
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
see inline.
W dniu 12.06.2017 o 19:13, Thierry Escande pisze:
From: henryhsu
@@ -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_format(ct, pix->pixelformat,
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
header. If the width/height values of jpeg are not aligned, the
decoder output will be corrupted. So in this patch we call
jpeg_bound_align_image() to align the width/height values of Capture
buffer in s5p_jpeg_buf_queue().
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers
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
From: henryhsu
On Exynos5420, the STREAM_STAT bit raised on the JPGINTST register means
there is a syntax error or an unrecoverable error on compressed file
when ERR_INT_EN is set to 1.
Fix this case and report BUF_STATE_ERROR to videobuf2.
Signed-off-by: Henry-Ruey Hsu
Signed-off-by: Thierry
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
From: Abhilash Kesavan
This patch resets the encoding and decoding register bits before doing a
soft reset.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers
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
-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 125 +++-
drivers/media/platform/s5p-jpeg/jpeg-core.h | 7 ++
2 files changed, 91 insertions(+), 41 deletions(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/platform/s5p
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
From: Tony K Nadackal
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
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
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"
From: Tony K Nadackal
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
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"
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
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
This patch adds support for resolution change event to notify clients so
they can prepare correct output buffer. When resolution change happened,
G_FMT
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
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
This patch resets the encoding and decoding register bits before doing a
soft reset.
Signed-off-by: Tony K Nadackal
Signed-off-by: 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
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
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
From: Tony K Nadackal
This patch adds support for decoding 4:1:1 chroma subsampling in the
jpeg header parsing function.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
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
-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 121
drivers/media/platform/s5p-jpeg/jpeg-core.h | 7 ++
2 files changed, 95 insertions(+), 33 deletions(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media/platform/s5p
<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
From: Tony K Nadackal
This patch adds support for IOMMU s5p-jpeg driver if the Exynos IOMMU
and ARM DMA IOMMU configurations are supported. The address space is
created with size limited to 256M and base address set to 0x2000.
Signed-off-by: Tony K Nadackal
Signed-off-by: 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
From: henryhsu
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
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 47
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
From: henryhsu
On Exynos5420, the STREAM_STAT bit raised on the JPGINTST register means
there is a syntax error or an unrecoverable error on compressed file
when ERR_INT_EN is set to 1.
Fix this case and report BUF_STATE_ERROR to videobuf2.
Signed-off-by: Henry-Ruey Hsu
Signed-off-by: Thierry
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
From: Tony K Nadackal
Corrects the WARN_ON statement for subsampling based on the
JPEG Hardware version.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
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
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
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
header. If the width/height values of jpeg are not aligned, the
decoder output will be corrupted. So in this patch we call
jpeg_bound_align_image() to align the width/height values of Capture
buffer in s5p_jpeg_buf_queue().
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers
From: Abhilash Kesavan
This patch resets the encoding and decoding register bits before doing a
soft reset.
Signed-off-by: Tony K Nadackal
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers
Signed-off-by: Thierry Escande
---
drivers/media/platform/s5p-jpeg/jpeg-core.c | 152 +---
drivers/media/platform/s5p-jpeg/jpeg-core.h | 2 +
2 files changed, 139 insertions(+), 15 deletions(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c
b/drivers/media
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
in Linux v4.4.
This driver is originally developed by:
Pawel Osciak
Ville-Mikko Rautio
henryhsu
Wu-Cheng Li
Signed-off-by: Thierry Escande
---
Changes in v2:
- Removed unneeded call to dma_cache_sync() on coherent dma buffer.
drivers/media/pci/Kconfig|2 +
drivers/media
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
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
Signed-off-by: Thierry Escande
---
v4 changes:
- Check sense header validity before checking the sense_key field
- Get rid
501 - 600 of 778 matches
Mail list logo