From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
To: Jacopo Mondi <jacopo+renesas@jmondi.org>,
mchehab@kernel.org, sakari.ailus@linux.intel.com,
laurent.pinchart@ideasonboard.com
Cc: niklas.soderlund+renesas@ragnatech.se,
kieran.bingham@ideasonboard.com, dave.stevenson@raspberrypi.com,
hyun.kwon@xilinx.com, jmkrzyszt@gmail.com,
robert.jarzmik@free.fr, linux-media@vger.kernel.org,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v8 00/10] v4l2-subdev: Introduce [g|s]et_mbus_format pad op
Date: Fri, 17 Jul 2020 16:59:05 +0200 [thread overview]
Message-ID: <239c6a8f-95b6-e270-324e-998411650e39@xs4all.nl> (raw)
In-Reply-To: <20200717145324.292820-1-jacopo+renesas@jmondi.org>
On 17/07/2020 16:53, Jacopo Mondi wrote:
> One more update to address Janusz comments on patch 1/10
>
> 1) I have expanded the operation documentation slightly with:
>
> * applied to the hardware. The operation shall fail if the
> - * pad index it has been called on is not valid.
> + * pad index it has been called on is not valid or in case of
> + * unrecoverable failures.
>
> 2) Added call wrapper to check for pad validity. I have for now ignored
> the check_which() and check_cfg() calls as the operations do not
> support TRY format.
Looks good. If there are no new comments then I'll make the PR on Tuesday.
Regards,
Hans
>
> Thanks
> j
>
> v7->v8
> - Add call wrappers to 1/10
> - Expand documentation to report error on failures
>
> v6.1->v7
> - Add [6/10] as suggested by Hans
> - Add Niklas tag and fix his last comment in [10/10]
>
> v6->v6.1
> - Address Niklas' comments in the last patch for rcar-csi2
>
> v5->v6:
> - Report V4L2_MBUS_DATA_ACTIVE_HIGH in ov6650 get_mbus_config
> - Check for the return value of get_mbus_config() at the end of
> set_mbus_config() in ov6650 driver
>
> v4->v5:
> - Address Sakari's comment on documentation (s/should/shall)
> - Use a local variable for the number of active lanes in 9/9
> - Add Kieran's tags to 7/9 and 8/9
> - Fix a warning on operator precedence on 3/9
>
> v3->v4:
> - Remove g/s_mbus_config video operation
> - Adjust pxa quick capture interface to properly handle bus mastering
> - Reword the two new operations documentation
>
> v2->v3:
> - Re-use v4l2_mbus_config and V4L2_MBUS_* flags
> - Port existing drivers
> - Update adv748x and rcar-csi2 patches to use V4L2_MBUS_* flags
>
> v1->v2:
> - Address Sakari's comment to use unsigned int in place of bools
> - Add two new patches to address documentation
> - Adjust rcar-csi2 patch as much as possible according to Niklas comments
> - Add Niklas's tags
>
> Jacopo Mondi (10):
> media: v4l2-subdev: Introduce [get|set]_mbus_config pad ops
> media: i2c: Use the new get_mbus_config pad op
> media: i2c: ov6650: Use new [get|set]_mbus_config ops
> media: pxa_camera: Use the new set_mbus_config op
> media: v4l2-subdev: Remove [s|g]_mbus_config video ops
> media: v4l2- mediabus: Add usage note for V4L2_MBUS_*
> staging: media: imx: Update TODO entry
> media: i2c: adv748x: Adjust TXA data lanes number
> media: i2c: adv748x: Implement get_mbus_config
> media: rcar-csi2: Negotiate data lanes number
>
> drivers/media/i2c/adv7180.c | 7 +-
> drivers/media/i2c/adv748x/adv748x-core.c | 31 +++-
> drivers/media/i2c/adv748x/adv748x-csi2.c | 31 ++++
> drivers/media/i2c/adv748x/adv748x.h | 1 +
> drivers/media/i2c/ml86v7667.c | 7 +-
> drivers/media/i2c/mt9m001.c | 7 +-
> drivers/media/i2c/mt9m111.c | 7 +-
> drivers/media/i2c/ov6650.c | 56 ++++--
> drivers/media/i2c/ov9640.c | 7 +-
> drivers/media/i2c/tc358743.c | 7 +-
> drivers/media/i2c/tvp5150.c | 7 +-
> drivers/media/platform/pxa_camera.c | 189 ++++++--------------
> drivers/media/platform/rcar-vin/rcar-csi2.c | 75 +++++++-
> drivers/media/v4l2-core/v4l2-subdev.c | 16 ++
> drivers/staging/media/imx/TODO | 4 +
> include/media/v4l2-mediabus.h | 33 +++-
> include/media/v4l2-subdev.h | 38 ++--
> 17 files changed, 318 insertions(+), 205 deletions(-)
>
> --
> 2.27.0
>
prev parent reply other threads:[~2020-07-17 14:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 14:53 [PATCH v8 00/10] v4l2-subdev: Introduce [g|s]et_mbus_format pad op Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 01/10] media: v4l2-subdev: Introduce [get|set]_mbus_config pad ops Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 02/10] media: i2c: Use the new get_mbus_config pad op Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 03/10] media: i2c: ov6650: Use new [get|set]_mbus_config ops Jacopo Mondi
2020-07-21 7:53 ` [PATCH v8.1 " Jacopo Mondi
2020-07-21 15:50 ` Janusz Krzysztofik
2020-07-17 14:53 ` [PATCH v8 04/10] media: pxa_camera: Use the new set_mbus_config op Jacopo Mondi
2020-07-20 8:55 ` Hans Verkuil
2020-07-17 14:53 ` [PATCH v8 05/10] media: v4l2-subdev: Remove [s|g]_mbus_config video ops Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 06/10] media: v4l2- mediabus: Add usage note for V4L2_MBUS_* Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 07/10] staging: media: imx: Update TODO entry Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 08/10] media: i2c: adv748x: Adjust TXA data lanes number Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 09/10] media: i2c: adv748x: Implement get_mbus_config Jacopo Mondi
2020-07-17 14:53 ` [PATCH v8 10/10] media: rcar-csi2: Negotiate data lanes number Jacopo Mondi
2020-07-17 14:59 ` Hans Verkuil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=239c6a8f-95b6-e270-324e-998411650e39@xs4all.nl \
--to=hverkuil-cisco@xs4all.nl \
--cc=dave.stevenson@raspberrypi.com \
--cc=hyun.kwon@xilinx.com \
--cc=jacopo+renesas@jmondi.org \
--cc=jmkrzyszt@gmail.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=robert.jarzmik@free.fr \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).