<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/nxp, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-09-13T07:48:40Z</updated>
<entry>
<title>media: nxp: Fix wrong return pointer check in mxc_isi_crossbar_init()</title>
<updated>2023-09-13T07:48:40Z</updated>
<author>
<name>Yang Yingliang</name>
</author>
<published>2023-07-25T13:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f36a3430e559f1d371a3f02a606363e24a343cfe'/>
<id>urn:sha1:f36a3430e559f1d371a3f02a606363e24a343cfe</id>
<content type='text'>
commit 4b60db99babad0254129ddc58e0927ffa9e93e35 upstream.

It should check 'xbar-&gt;inputs', when allocate memory for it.

Cc: stable@vger.kernel.org
Fixes: cf21f328fcaf ("media: nxp: Add i.MX8 ISI driver")
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Reviewed-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>media: imx-jpeg: Support to assign slot for encoder/decoder</title>
<updated>2023-09-13T07:47:49Z</updated>
<author>
<name>Ming Qian</name>
</author>
<published>2023-05-30T07:16:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c4f2254aa1e7b6354816d6d9e2e65d57008cc62'/>
<id>urn:sha1:2c4f2254aa1e7b6354816d6d9e2e65d57008cc62</id>
<content type='text'>
[ Upstream commit 53ebeea50599c1ed05277d7a57e331a34e6d6a82 ]

imx jpeg encoder and decoder support 4 slots each,
aim to support some virtualization scenarios.

driver should only enable one slot one time.

but due to some hardware issue,
only slot 0 can be enabled in imx8q platform,
and they may be fixed in imx9 platform.

Signed-off-by: Ming Qian &lt;ming.qian@nxp.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: nxp: ignore unused suspend operations</title>
<updated>2023-05-08T11:11:25Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2023-04-18T09:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55e2a6e36be6d61f914898ce731f9321c0dcf4e8'/>
<id>urn:sha1:55e2a6e36be6d61f914898ce731f9321c0dcf4e8</id>
<content type='text'>
gcc warns about some functions being unused when CONFIG_PM_SLEEP
is disabled:

drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c:328:12: error: 'mxc_isi_pm_resume' defined but not used [-Werror=unused-function]
  328 | static int mxc_isi_pm_resume(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~
drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c:314:12: error: 'mxc_isi_pm_suspend' defined but not used [-Werror=unused-function]
  314 | static int mxc_isi_pm_suspend(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~~

Use the modern SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() helpers in place
of the old SET_SYSTEM_SLEEP_PM_OPS()/SET_RUNTIME_PM_OPS() ones.

By convention, use pm_ptr() to guard the reference to the operations.
This makes no difference as long as the driver requires CONFIG_PM,
but is what users of SET_RUNTIME_PM_OPS() are supposed to do.

Fixes: cf21f328fcaf ("media: nxp: Add i.MX8 ISI driver")
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: nxp: imx8-isi: fix buiding on 32-bit</title>
<updated>2023-05-08T16:10:07Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2023-04-18T06:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab'/>
<id>urn:sha1:ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab</id>
<content type='text'>
The #if check is wrong, leading to a build failure:

  drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c: In function 'mxc_isi_channel_set_inbuf':
  drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:33:5: error: "CONFIG_ARCH_DMA_ADDR_T_64BIT" is not defined, evaluates to 0 [-Werror=undef]
     33 | #if CONFIG_ARCH_DMA_ADDR_T_64BIT
        |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

This could just be an #ifdef, but it seems nicer to just remove the
check entirely.  Apparently the only reason for the #ifdef is to avoid
another warning:

  drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:55:24: error: right shift count &gt;= width of type [-Werror=shift-count-overflow]

But this is best avoided by using the lower_32_bits()/upper_32_bits()
helpers.

Fixes: cf21f328fcaf ("media: nxp: Add i.MX8 ISI driver")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>media: nxp: imx8-isi: Remove 300ms sleep after enabling channel</title>
<updated>2023-04-16T06:38:01Z</updated>
<author>
<name>Jacopo Mondi</name>
</author>
<published>2023-02-14T17:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20af6be6bee4c3af80aac9b44b3d32d89824dde7'/>
<id>urn:sha1:20af6be6bee4c3af80aac9b44b3d32d89824dde7</id>
<content type='text'>
The current implementation of the mxc_isi_channel_enable() function has
a hard 300ms sleep. This was copied from the NXP BSP, which has since
dropped the sleep in a commit that implied the delay was meant to wait
for the sensor to be "stable". As the sensor is started after the ISI,
the delay won't affect sensor operation. Drop it.

Signed-off-by: Jacopo Mondi &lt;jacopo.mondi@ideasonboard.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: nxp: imx8-isi: Replace udelay() with fsleep()</title>
<updated>2023-04-16T06:37:44Z</updated>
<author>
<name>Laurent Pinchart</name>
</author>
<published>2023-04-07T04:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bab9442b85665c1f52062dca6a5623dffc18272'/>
<id>urn:sha1:2bab9442b85665c1f52062dca6a5623dffc18272</id>
<content type='text'>
The ISI driver uses udelay() to wait for 300µs in a context where it can
sleep. Use fsleep() instead.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: nxp: imx8-isi: Drop partial support for i.MX8QM and i.MX8QXP</title>
<updated>2023-04-16T06:35:40Z</updated>
<author>
<name>Laurent Pinchart</name>
</author>
<published>2023-04-07T04:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=605b57c4e888ca5189e87b9db62772eb3ff23735'/>
<id>urn:sha1:605b57c4e888ca5189e87b9db62772eb3ff23735</id>
<content type='text'>
Support for the i.MX8QM and i.MX8QXP is only partly implemented and has
never been tested. Furthermore, the corresponding compatible string it
not documented. Drop it, until someone with interest in those platforms
can test and implement it properly.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: nxp: Add i.MX8 ISI driver</title>
<updated>2023-04-16T06:35:06Z</updated>
<author>
<name>Laurent Pinchart</name>
</author>
<published>2019-01-21T02:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf21f328fcafacf4f96e7a30ef9dceede1076378'/>
<id>urn:sha1:cf21f328fcafacf4f96e7a30ef9dceede1076378</id>
<content type='text'>
The Image Sensing Interface (ISI) combines image processing pipelines
with DMA engines to process and capture frames originating from a
variety of sources. The inputs to the ISI go through Pixel Link
interfaces, and their number and nature is SoC-dependent. They cover
both capture interfaces (MIPI CSI-2 RX, HDMI RX) and memory inputs.

Signed-off-by: Christian Hemp &lt;c.hemp@phytec.de&gt;
Signed-off-by: Dong Aisheng &lt;aisheng.dong@nxp.com&gt;
Signed-off-by: Guoniu Zhou &lt;guoniu.zhou@nxp.com&gt;
Signed-off-by: Jacopo Mondi &lt;jacopo@jmondi.org&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Stefan Riedmueller &lt;s.riedmueller@phytec.de&gt;
Tested-by: Adam Ford &lt;aford173@gmail.com&gt; #imx8mn-beacon
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: imx-jpeg: Encoder add support for 12bit jpeg</title>
<updated>2023-04-15T08:14:58Z</updated>
<author>
<name>Ming Qian</name>
</author>
<published>2023-03-22T05:13:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b764ff03d9587da07374cf9606c1de47d5e6de6'/>
<id>urn:sha1:3b764ff03d9587da07374cf9606c1de47d5e6de6</id>
<content type='text'>
enable encoding 12-bit extended jpeg

Signed-off-by: Ming Qian &lt;ming.qian@nxp.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: imx-jpeg: Decoder add support for 12bit jpeg</title>
<updated>2023-04-15T08:13:59Z</updated>
<author>
<name>Ming Qian</name>
</author>
<published>2023-03-22T05:13:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7a1494a4814aee869e9275af7d331b92df6b87c'/>
<id>urn:sha1:e7a1494a4814aee869e9275af7d331b92df6b87c</id>
<content type='text'>
enable decoding 12-bit extended jpeg

Signed-off-by: Ming Qian &lt;ming.qian@nxp.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
</feed>
