<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/media/platform/ti, branch v6.7</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.7</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2023-10-12T07:22:29+00:00</updated>
<entry>
<title>media: ti: Add CSI2RX support for J721E</title>
<updated>2023-10-12T07:22:29+00:00</updated>
<author>
<name>Jai Luthra</name>
<email>j-luthra@ti.com</email>
</author>
<published>2023-10-09T13:09:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b4a3d877dc92963a4db16ddb71df3d333c0d40bd'/>
<id>urn:sha1:b4a3d877dc92963a4db16ddb71df3d333c0d40bd</id>
<content type='text'>
TI's J721E uses the Cadence CSI2RX and DPHY peripherals to facilitate
capture over a CSI-2 bus.

The Cadence CSI2RX IP acts as a bridge between the TI specific parts and
the CSI-2 protocol parts. TI then has a wrapper on top of this bridge
called the SHIM layer. It takes in data from stream 0, repacks it, and
sends it to memory over PSI-L DMA.

This driver acts as the "front end" to V4L2 client applications. It
implements the required ioctls and buffer operations, passes the
necessary calls on to the bridge, programs the SHIM layer, and performs
DMA via the dmaengine API to finally return the data to a buffer
supplied by the application.

Co-developed-by: Pratyush Yadav &lt;p.yadav@ti.com&gt;
Signed-off-by: Pratyush Yadav &lt;p.yadav@ti.com&gt;
Co-developed-by: Vaishnav Achath &lt;vaishnav.a@ti.com&gt;
Signed-off-by: Vaishnav Achath &lt;vaishnav.a@ti.com&gt;
Tested-by: Vaishnav Achath &lt;vaishnav.a@ti.com&gt;
Tested-by: Julien Massot &lt;julien.massot@collabora.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ideasonboard.com&gt;
Signed-off-by: Jai Luthra &lt;j-luthra@ti.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: am437x: don't fill in bus_info</title>
<updated>2023-09-27T08:47:23+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil-cisco@xs4all.nl</email>
</author>
<published>2023-09-23T15:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bd6ef410676e9a2729ebea2b5cd43689f521dfd3'/>
<id>urn:sha1:bd6ef410676e9a2729ebea2b5cd43689f521dfd3</id>
<content type='text'>
Let the V4L2 core fill this in.

This fixes this warning:

drivers/media/platform/ti/am437x/am437x-vpfe.c: In function 'vpfe_querycap':
drivers/media/platform/ti/am437x/am437x-vpfe.c:1279:35: warning: '%s' directive output may be truncated writing up to 35 bytes into a region of size 23 [-Wformat-truncation=]
 1279 |                         "platform:%s", vpfe-&gt;v4l2_dev.name);
      |                                   ^~
drivers/media/platform/ti/am437x/am437x-vpfe.c:1278:9: note: 'snprintf' output between 10 and 45 bytes into a destination of size 32
 1278 |         snprintf(cap-&gt;bus_info, sizeof(cap-&gt;bus_info),
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1279 |                         "platform:%s", vpfe-&gt;v4l2_dev.name);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Reviewed-by: Lad Prabhakar &lt;prabhakar.csengg@gmail.com&gt;
</content>
</entry>
<entry>
<title>media: use sizeof() instead of V4L2_SUBDEV_NAME_SIZE</title>
<updated>2023-09-27T08:47:22+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil-cisco@xs4all.nl</email>
</author>
<published>2023-09-23T15:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8cdd708f11655d5f28fca1ab2fa0dbe5424f274c'/>
<id>urn:sha1:8cdd708f11655d5f28fca1ab2fa0dbe5424f274c</id>
<content type='text'>
Don't rely on a define, let the compiler use the actual
field size.

Remove all uses of the V4L2_SUBDEV_NAME_SIZE define and also
drop the define itself.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Reviewed-by: Niklas Söderlund &lt;niklas.soderlund@ragnatech.se&gt;
Reviewed-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Reviewed-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
Tested-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
</content>
</entry>
<entry>
<title>media: platform: ti: fix the return value handle for platform_get_irq()</title>
<updated>2023-08-14T18:27:55+00:00</updated>
<author>
<name>Ruan Jinjie</name>
<email>ruanjinjie@huawei.com</email>
</author>
<published>2023-07-31T12:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=90fbb259b469e859c42edf22f476ad06a0efde38'/>
<id>urn:sha1:90fbb259b469e859c42edf22f476ad06a0efde38</id>
<content type='text'>
There is no possible for platform_get_irq() to return 0,
and the return value of platform_get_irq() is more sensible
to show the error reason.

Signed-off-by: Ruan Jinjie &lt;ruanjinjie@huawei.com&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: davinci: vpif_capture: fix error return code in vpif_probe()</title>
<updated>2023-08-14T18:27:55+00:00</updated>
<author>
<name>Yang Yingliang</name>
<email>yangyingliang@huawei.com</email>
</author>
<published>2023-08-03T02:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=92d748703790c03fa797e07b41c922c69ad529f5'/>
<id>urn:sha1:92d748703790c03fa797e07b41c922c69ad529f5</id>
<content type='text'>
Set error return code, when get platform data failed.

Fixes: b4a4547371b9 ("media: davinci: Init async notifier after registering V4L2 device")
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Reviewed-by: Lad Prabhakar &lt;prabhakar.csengg@gmail.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: v4l: async: Set v4l2_device and subdev in async notifier init</title>
<updated>2023-08-10T05:58:32+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2023-02-23T15:24:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b8ec754ae4c563f6aab8c0cb47aeb2eae67f1da3'/>
<id>urn:sha1:b8ec754ae4c563f6aab8c0cb47aeb2eae67f1da3</id>
<content type='text'>
Set the v4l2_device already in async notifier init, so struct device
related to it will be available before the notifier is registered. This
requires separating notifier initialisation into two functions, one that
takes v4l2_device as its argument, v4l2_async_nf_init and
v4l2_async_subdev_nf_init, for sub-device notifiers. Registering the
notifier will use a single function, v4l2_async_nf_register.

This is done in order to make struct device available earlier, during
construction of the async connections, for sensible debug prints.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Tested-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt; # imx6qp
Tested-by: Niklas Söderlund &lt;niklas.soderlund@ragnatech.se&gt; # rcar + adv746x
Tested-by: Aishwarya Kothari &lt;aishwarya.kothari@toradex.com&gt; # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt; # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: davinci: Init async notifier after registering V4L2 device</title>
<updated>2023-08-10T05:58:31+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2023-03-30T09:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2c62a9b8e4d5515638dc2f5e31969675b98c3de0'/>
<id>urn:sha1:2c62a9b8e4d5515638dc2f5e31969675b98c3de0</id>
<content type='text'>
Initialise the V4L2 async notifier after registering the V4L2 device, just
before parsing DT for async sub-devices. This way the device can be made
available to the V4L2 async framework from the notifier init time onwards.
A subsequent patch will add struct v4l2_device as an argument to
v4l2_async_nf_init().

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Tested-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt; # imx6qp
Tested-by: Niklas Söderlund &lt;niklas.soderlund@ragnatech.se&gt; # rcar + adv746x
Tested-by: Aishwarya Kothari &lt;aishwarya.kothari@toradex.com&gt; # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt; # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: omap3isp: Initialise V4L2 async notifier later</title>
<updated>2023-08-10T05:58:31+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2023-03-29T13:22:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f6336d89062d0c802366705eedc87cbd8270af61'/>
<id>urn:sha1:f6336d89062d0c802366705eedc87cbd8270af61</id>
<content type='text'>
Initialise V4L2 async notifier and parse DT for async sub-devices later,
just before registering the notifier. This way the device can be made
available to the V4L2 async framework from the notifier init time onwards.
A subsequent patch will add struct v4l2_device as an argument to
v4l2_async_nf_init().

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Tested-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt; # imx6qp
Tested-by: Niklas Söderlund &lt;niklas.soderlund@ragnatech.se&gt; # rcar + adv746x
Tested-by: Aishwarya Kothari &lt;aishwarya.kothari@toradex.com&gt; # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt; # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: am437x-vpfe: Register V4L2 device early</title>
<updated>2023-08-10T05:58:31+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2023-03-29T13:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4c50b0a86ef9d43197fd9c929aeb08c578947755'/>
<id>urn:sha1:4c50b0a86ef9d43197fd9c929aeb08c578947755</id>
<content type='text'>
Register V4L2 device before the async notifier.This way the device can be
made available to the V4L2 async framework from the notifier init time
onwards. A subsequent patch will add struct v4l2_device as an argument to
v4l2_async_nf_init().

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Tested-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt; # imx6qp
Tested-by: Niklas Söderlund &lt;niklas.soderlund@ragnatech.se&gt; # rcar + adv746x
Tested-by: Aishwarya Kothari &lt;aishwarya.kothari@toradex.com&gt; # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt; # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: v4l: async: Obtain async connection based on sub-device</title>
<updated>2023-07-28T08:47:56+00:00</updated>
<author>
<name>Sakari Ailus</name>
<email>sakari.ailus@linux.intel.com</email>
</author>
<published>2023-05-15T09:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c91fd7b7a8ae17ab8be0b6e765e4a38783749330'/>
<id>urn:sha1:c91fd7b7a8ae17ab8be0b6e765e4a38783749330</id>
<content type='text'>
Add v4l2_async_connection_unique() function for obtaining a struct
v4l2_async_connection, typically allocated by drivers together with their
own information on an external sub-device.

The relation between connections and sub-devices still remains 1:1 but
this code becomes more complex when the relation soon changes.

Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Tested-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt; # imx6qp
Tested-by: Niklas Söderlund &lt;niklas.soderlund@ragnatech.se&gt; # rcar + adv746x
Tested-by: Aishwarya Kothari &lt;aishwarya.kothari@toradex.com&gt; # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt; # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
</content>
</entry>
</feed>
