Devicetree
 help / color / mirror / Atom feed
From: "Luca Weiss" <luca.weiss@fairphone.com>
To: "Vladimir Zapolskiy" <vladimir.zapolskiy@linaro.org>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Sakari Ailus" <sakari.ailus@linux.intel.com>,
	"Hans Verkuil" <hverkuil@kernel.org>,
	"Hans de Goede" <hansg@kernel.org>
Cc: "Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	<linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>
Subject: Re: [PATCH v3 2/2] media: i2c: add Samsung S5KJN1 image sensor device driver
Date: Tue, 04 Nov 2025 11:28:19 +0100	[thread overview]
Message-ID: <DDZU8E8EBAMW.3J9K3YJ94V2B4@fairphone.com> (raw)
In-Reply-To: <20251023025356.2421327-3-vladimir.zapolskiy@linaro.org>

Hi Vladimir,

On Thu Oct 23, 2025 at 4:53 AM CEST, Vladimir Zapolskiy wrote:
> Samsung S5KJN1 is a 50MP image sensor, it produces Bayer GRBG (2x2)
> frames in RAW10 output format, the maximum supported output resolution
> is 8160x6144 at 10 frames per second rate.
>
> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> ---
>  MAINTAINERS                |    8 +
>  drivers/media/i2c/Kconfig  |   10 +
>  drivers/media/i2c/Makefile |    1 +
>  drivers/media/i2c/s5kjn1.c | 1407 ++++++++++++++++++++++++++++++++++++
>  4 files changed, 1426 insertions(+)
>  create mode 100644 drivers/media/i2c/s5kjn1.c
>
> diff --git a/drivers/media/i2c/s5kjn1.c b/drivers/media/i2c/s5kjn1.c
> new file mode 100644
> index 000000000000..9e2ac3d695ae
> --- /dev/null
> +++ b/drivers/media/i2c/s5kjn1.c

<snip>

> +static const char * const s5kjn1_supply_names[] = {
> +	"afvdd",	/* Autofocus power */
> +	"avdd",		/* Analog power */
> +	"dovdd",	/* Digital I/O power */
> +	"dvdd",		/* Digital core power */

My comments from the dt-bindings patch apply here as well of course.

Also my datasheet mentions that VDDD should be powered up before VDDA,
and there should be a minimum time of 1 us between them.

And power down first VDDA then VDDD, again with 1 us minimum time
between the two.

Can't say much more about the rest of the driver, great to see this
being worked on!

Regards
Luca

  reply	other threads:[~2025-11-04 10:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-23  2:53 [PATCH v3 0/2] media: i2c: add Samsung S5KJN1 image sensor device driver Vladimir Zapolskiy
2025-10-23  2:53 ` [PATCH v3 1/2] dt-bindings: media: i2c: Add Samsung S5KJN1 image sensor Vladimir Zapolskiy
2025-11-04 10:20   ` Luca Weiss
2025-11-07 13:02     ` Vladimir Zapolskiy
2025-10-23  2:53 ` [PATCH v3 2/2] media: i2c: add Samsung S5KJN1 image sensor device driver Vladimir Zapolskiy
2025-11-04 10:28   ` Luca Weiss [this message]
2025-11-07 13:08     ` Vladimir Zapolskiy
2025-11-04 15:53   ` Bryan O'Donoghue
2025-11-08 11:00     ` Vladimir Zapolskiy
2025-11-11  9:25       ` Sakari Ailus
2025-11-12  2:39         ` Vladimir Zapolskiy
2025-11-12  8:40           ` Sakari Ailus

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=DDZU8E8EBAMW.3J9K3YJ94V2B4@fairphone.com \
    --to=luca.weiss@fairphone.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hansg@kernel.org \
    --cc=hverkuil@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=vladimir.zapolskiy@linaro.org \
    /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