From: sashiko-bot@kernel.org
To: "Vincent Cloutier" <vincent.cloutier@icloud.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org,
conor+dt@kernel.org, Frank.Li@kernel.org, media-ci@linuxtv.org
Subject: Re: [PATCH v2 1/3] dt-bindings: media: i2c: Add Samsung S5K3L6 image sensor
Date: Thu, 12 Nov 2026 01:03:28 +0000 [thread overview]
Message-ID: <sashiko-outbox-210030@kernel.org> (raw)
In-Reply-To: <20261112004636.739749-2-vincent.cloutier@icloud.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: media: s5k3l6: board and driver constraints
hardcoded in schema
--
commit 2a414a254e5114acefaa73e7d87e80c013d1fa39
Author: Vincent Cloutier <vincent@cloutier.co>
dt-bindings: media: i2c: Add Samsung S5K3L6 image sensor
This commit adds a Device Tree binding schema for the Samsung S5K3L6 13MP
MIPI CSI-2 image sensor.
> diff --git a/Documentation/devicetree/bindings/media/i2c/samsung,s5k3l6.yaml b/Documentation/devicetree/bindings/media/i2c/samsung,s5k3l6.yaml
> new file mode 100644
> index 0000000000000..097593d747804
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/samsung,s5k3l6.yaml
[ ... ]
> + reset-gpios:
> + description: Active-low reset GPIO, also used to recover from I2C errors.
> + maxItems: 1
> +
> + vdda-supply:
> + description: Analog power supply.
> +
> + vddd-supply:
> + description: Digital core power supply.
> +
> + vddio-supply:
> + description: Digital I/O power supply.
> +
> + port:
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + unevaluatedProperties: false
> +
> + properties:
> + endpoint:
> + $ref: /schemas/media/video-interfaces.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + data-lanes:
> + items:
> + - const: 1
> + - const: 2
> +
> + link-frequencies:
> + items:
> + - const: 537500000
> + - const: 600000000
> + - const: 625000000
> +
> + required:
> + - data-lanes
> + - link-frequencies
> +
> + required:
> + - endpoint
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - reset-gpios
[Severity: Medium]
Does defining link-frequencies as a 3-element items list require every
board to specify all three frequencies <537500000 600000000 625000000> in
that exact order? A 3-entry items list implicitly sets minItems: 3 and
maxItems: 3, so any board DT that uses a single frequency, a subset of
these frequencies, or a different PLL frequency derived from another input
clock rate will fail dtbs_check.
Similarly, constraining data-lanes to two lanes blocks 4-lane designs even
though the S5K3L6 hardware has a 4-lane MIPI CSI-2 interface. Also,
reset-gpios documents Linux driver I2C recovery behavior and is marked
required for driver standby error handling rather than hardware
requirements.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261112004636.739749-1-vincent.cloutier@icloud.com?part=1
next prev parent reply other threads:[~2026-11-12 1:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 0:46 [PATCH v2 0/3] media: i2c: Add Samsung S5K3L6 and Librem 5 rear camera Vincent Cloutier
2026-11-12 0:46 ` [PATCH v2 1/3] dt-bindings: media: i2c: Add Samsung S5K3L6 image sensor Vincent Cloutier
2026-11-12 1:03 ` sashiko-bot [this message]
2026-11-12 0:46 ` [PATCH v2 2/3] media: i2c: Add Samsung S5K3L6 image sensor driver Vincent Cloutier
2026-11-12 1:53 ` sashiko-bot
2026-11-12 0:46 ` [PATCH v2 3/3] arm64: dts: imx8mq-librem5: Add rear camera Vincent Cloutier
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=sashiko-outbox-210030@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=media-ci@linuxtv.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vincent.cloutier@icloud.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