All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Bin Du <Bin.Du@amd.com>
Cc: mchehab@kernel.org, hverkuil@xs4all.nl,
	bryan.odonoghue@linaro.org, sakari.ailus@linux.intel.com,
	prabhakar.mahadev-lad.rj@bp.renesas.com,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	sultan@kerneltoast.com, pratap.nirujogi@amd.com,
	benjamin.chan@amd.com, king.li@amd.com,
	gjorgji.rosikopulos@amd.com, Phil.Jawich@amd.com,
	Dominic.Antony@amd.com, mario.limonciello@amd.com,
	richard.gong@amd.com, anson.tsao@amd.com,
	Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
Subject: Re: [PATCH v3 4/7] media: platform: amd: isp4 subdev and firmware loading handling added
Date: Wed, 3 Sep 2025 12:10:02 +0200	[thread overview]
Message-ID: <20250903101002.GD13448@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20250828100811.95722-4-Bin.Du@amd.com>

On Thu, Aug 28, 2025 at 06:08:08PM +0800, Bin Du wrote:
> Isp4 sub-device is implementing v4l2 sub-device interface. It has one
> capture video node, and supports only preview stream. It manages firmware
> states, stream configuration and mipi phy configuration. This change also
> adds interrupt handling and notification for isp firmware to isp-subdevice.
> 
> Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
> Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
> Signed-off-by: Bin Du <Bin.Du@amd.com>
> ---
>  MAINTAINERS                                   |    2 +
>  drivers/media/platform/amd/isp4/Makefile      |    3 +-
>  drivers/media/platform/amd/isp4/isp4.c        |  120 +-
>  drivers/media/platform/amd/isp4/isp4.h        |    8 +-
>  drivers/media/platform/amd/isp4/isp4_subdev.c | 1096 +++++++++++++++++
>  drivers/media/platform/amd/isp4/isp4_subdev.h |  131 ++
>  6 files changed, 1347 insertions(+), 13 deletions(-)
>  create mode 100644 drivers/media/platform/amd/isp4/isp4_subdev.c
>  create mode 100644 drivers/media/platform/amd/isp4/isp4_subdev.h

[snip]

> diff --git a/drivers/media/platform/amd/isp4/isp4.h b/drivers/media/platform/amd/isp4/isp4.h
> index 8535f662ab49..00ac11ed8fb0 100644
> --- a/drivers/media/platform/amd/isp4/isp4.h
> +++ b/drivers/media/platform/amd/isp4/isp4.h
> @@ -6,19 +6,21 @@
>  #ifndef _ISP4_H_
>  #define _ISP4_H_
>  
> +#include <drm/amd/isp.h>
>  #include <linux/mutex.h>
> -#include <media/v4l2-device.h>
> -#include <media/videobuf2-memops.h>
> -#include <media/videobuf2-vmalloc.h>
> +#include "isp4_subdev.h"
>  
>  #define ISP4_GET_ISP_REG_BASE(isp4sd) (((isp4sd))->mmio)
>  
>  struct isp4_device {
>  	struct v4l2_device v4l2_dev;
> +	struct isp4_subdev isp_sdev;
>  	struct media_device mdev;
>  
> +	struct isp_platform_data *pltf_data;
>  	struct platform_device *pdev;
>  	struct notifier_block i2c_nb;
> +	struct v4l2_async_notifier notifier;

As far as I can tell, i2c_nb and notifier are not used anymore.

>  };
>  
>  #endif /* _ISP4_H_ */

[snip]

-- 
Regards,

Laurent Pinchart

  parent reply	other threads:[~2025-09-03 10:10 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-28 10:08 [PATCH v3 1/7] media: platform: amd: Introduce amd isp4 capture driver Bin Du
2025-08-28 10:08 ` [PATCH v3 2/7] media: platform: amd: low level support for isp4 firmware Bin Du
2025-08-28 10:08 ` [PATCH v3 3/7] media: platform: amd: Add isp4 fw and hw interface Bin Du
2025-08-28 10:08 ` [PATCH v3 4/7] media: platform: amd: isp4 subdev and firmware loading handling added Bin Du
2025-09-02  7:48   ` Markus Elfring
2025-09-05  6:35     ` Du, Bin
2025-09-03 10:10   ` Laurent Pinchart [this message]
2025-08-28 10:08 ` [PATCH v3 5/7] media: platform: amd: isp4 video node and buffers " Bin Du
2025-09-02  8:10   ` Markus Elfring
2025-09-02  9:16     ` Du, Bin
2025-09-03 10:08   ` Laurent Pinchart
2025-09-05  7:05     ` Du, Bin
2025-08-28 10:08 ` [PATCH v3 6/7] media: platform: amd: isp4 debug fs logging and more descriptive errors Bin Du
2025-08-28 10:08 ` [PATCH v3 7/7] Documentation: add documentation of AMD isp 4 driver Bin Du
2025-08-28 16:50   ` Mario Limonciello
2025-09-02  3:04     ` Du, Bin
2025-09-03 10:04   ` Laurent Pinchart
2025-09-03 10:34     ` Du, Bin
2025-08-28 16:54 ` [PATCH v3 1/7] media: platform: amd: Introduce amd isp4 capture driver Mario Limonciello
2025-09-02  3:11   ` Du, Bin
2025-09-02  6:48 ` Sakari Ailus
2025-09-02  7:58   ` Sakari Ailus
2025-09-02  9:09     ` Du, Bin
2025-09-02  7:06 ` Markus Elfring
2025-09-02  9:05   ` Du, Bin
2025-09-02 12:49 ` Laurent Pinchart
2025-09-03  3:22   ` Du, Bin
2025-09-03  7:51     ` Laurent Pinchart
2025-09-03  8:20       ` Du, Bin
2025-09-10 17:17 ` Mario Limonciello
2025-09-11  2:19   ` Du, Bin

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=20250903101002.GD13448@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=Bin.Du@amd.com \
    --cc=Dominic.Antony@amd.com \
    --cc=Phil.Jawich@amd.com \
    --cc=Svetoslav.Stoilov@amd.com \
    --cc=anson.tsao@amd.com \
    --cc=benjamin.chan@amd.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=gjorgji.rosikopulos@amd.com \
    --cc=hverkuil@xs4all.nl \
    --cc=king.li@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=mchehab@kernel.org \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=pratap.nirujogi@amd.com \
    --cc=richard.gong@amd.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sultan@kerneltoast.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.