All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Svyatoslav Ryhel" <clamor95@gmail.com>
Cc: devicetree@vger.kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v1 4/9 RESEND] ARM: tegra: grouper: Add support for front camera
Date: Tue, 12 May 2026 01:58:33 +0000	[thread overview]
Message-ID: <20260512015833.C9463C2BCF7@smtp.kernel.org> (raw)
In-Reply-To: <20260511074859.24930-5-clamor95@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The 'orientation' property is not allowed by the 'aptina,mi1040' binding schema.
- [Low] Devicetree node name 'front-camera@48' does not follow generic naming conventions.
--

commit c5071430d670662429d8b5764f80cefdddb8903b
Author: Svyatoslav Ryhel <clamor95@gmail.com>

ARM: tegra: grouper: Add support for front camera

This commit adds the front camera video path to the Tegra 30 Nexus 7
(grouper) device tree. It includes the necessary host1x, vi, and csi
endpoints, a new camera node on the I2C bus, and updates the relevant
power supply bindings.

> diff --git a/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi b/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi
> index 15f53babdc217..892d718294dd1 100644
> --- a/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi
> +++ b/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-common.dtsi

[ ... ]

> @@ -890,6 +978,36 @@ light-sensor@1c {
>  			vdd-supply = <&vdd_3v3_sys>;
>  		};
>  
> +		/* Aptina 1/6" HD SOC (MI1040) */
> +		front-camera@48 {

This isn't a bug, but does the node name front-camera@48 follow the Devicetree
generic naming conventions?

It might be better to use a generic name like camera@48 to avoid dtbs_check
warnings.

> +			compatible = "aptina,mi1040";
> +			reg = <0x48>;
> +
> +			clocks = <&tegra_car TEGRA30_CLK_CSUS>;
> +
> +			reset-gpios = <&gpio TEGRA_GPIO(O, 0) GPIO_ACTIVE_LOW>;
> +
> +			vddio-supply = <&avdd_cam1>;
> +			vdd-supply = <&vddio_cam>;
> +			vaa-supply = <&avdd_cam1>;
> +
> +			orientation = <0>; /* Front camera */

Is the orientation property supported by the aptina,mi1040 binding?

The corresponding schema onnn,mt9m114.yaml sets additionalProperties: false
at the root level and does not define the orientation property. It also
does not reference the common video-interface-devices.yaml schema at the
device node level.

Could this inclusion cause a schema validation error during dtbs_check?

> +
> +			assigned-clocks = <&tegra_car TEGRA30_CLK_VI_SENSOR>,
> +					  <&tegra_car TEGRA30_CLK_CSUS>;

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260511074859.24930-1-clamor95@gmail.com?part=4

  reply	other threads:[~2026-05-12  1:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11  7:48 [PATCH v1 0/9 RESEND] ARM: tegra: complete a few Tegra30 device trees Svyatoslav Ryhel
2026-05-11  7:48 ` [PATCH v1 1/9 RESEND] ARM: tegra: lg-x3: Complete video device graph Svyatoslav Ryhel
2026-05-12  0:47   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 2/9 RESEND] ARM: tegra: lg-x3: Set PMIC's RTC address Svyatoslav Ryhel
2026-05-12  1:11   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 3/9 RESEND] ARM: tegra: p880: Lower CPU thermal limit Svyatoslav Ryhel
2026-05-11  7:48 ` [PATCH v1 4/9 RESEND] ARM: tegra: grouper: Add support for front camera Svyatoslav Ryhel
2026-05-12  1:58   ` sashiko-bot [this message]
2026-05-11  7:48 ` [PATCH v1 5/9 RESEND] ARM: tegra: transformer: " Svyatoslav Ryhel
2026-05-12  2:23   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 6/9 RESEND] ARM: tegra: transformers: Add connector node for common trees Svyatoslav Ryhel
2026-05-12  2:40   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 7/9 RESEND] ARM: tegra: tf600t: Configure panel Svyatoslav Ryhel
2026-05-12  3:27   ` sashiko-bot
2026-05-11  7:48 ` [PATCH v1 8/9 RESEND] ARM: tegra: tf600t: Drop backlight regulator Svyatoslav Ryhel
2026-05-11  7:48 ` [PATCH v1 9/9 RESEND] ARM: tegra: tf600t: Invert accelerometer calibration matrix Svyatoslav Ryhel
2026-05-12  3:39   ` sashiko-bot
2026-05-29 12:37 ` [PATCH v1 0/9 RESEND] ARM: tegra: complete a few Tegra30 device trees Thierry Reding

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=20260512015833.C9463C2BCF7@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko@lists.linux.dev \
    /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.