Devicetree
 help / color / mirror / Atom feed
From: Lachlan Michael <Lachlan.Michael@sony.com>
To: Conor Dooley <conor@kernel.org>, sashiko-reviews@lists.linux.dev
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	media-ci@linuxtv.org
Subject: Re: [PATCH v5 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor
Date: Tue, 20 Oct 2026 10:37:22 +0900	[thread overview]
Message-ID: <a63dfe3d-9178-43a6-a9fb-ae82c86a047a@sony.com> (raw)
In-Reply-To: <20261019-cause-decline-feb5a68f0d06@spud>

On 10/20/2026 3:21 AM, Conor Dooley wrote:
> On Mon, Oct 19, 2026 at 01:53:48AM +0000, sashiko-bot@kernel.org wrote:
>> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
>> - [Medium] dt-bindings: media: imx908: additionalProperties: false blocks allOf schema
>> --
>>
>> commit ff8a8181af73cacaf3f8a03e0acde33eb53bb18b
>> Author: Lachlan Michael <lachlan.michael@sony.com>
>>
>> media: dt-bindings: imx908: Add Sony IMX908 sensor
>>
>> This commit adds device tree bindings and a MAINTAINERS entry for the Sony
>> IMX908 8.39 megapixel MIPI CSI-2 CMOS image sensor.
>>
>>> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml
>>> new file mode 100644
>>> index 0000000000000..828db1175e2f5
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx908.yaml
>>> @@ -0,0 +1,108 @@
>> [ ... ]
>>> +allOf:
>>> +  - $ref: /schemas/media/video-interface-devices.yaml#
>>> +
>>> +properties:
>>> +  compatible:
>>> +    const: sony,imx908
>> [ ... ]
>>> +required:
>>> +  - compatible
>>> +  - reg
>>> +  - clocks
>>> +  - dvdd-supply
>>> +  - ovdd-supply
>>> +  - avdd-supply
>>> +  - port
>>> +
>>> +additionalProperties: false
>>
>> [Severity: Medium]
>> Should this be unevaluatedProperties: false instead of
>> additionalProperties: false?
> 
> Only if the properties outside of what's already explicitly used in the
> binding are possible.

IMX908 modules (i.e. IMX908 image sensor + board, made by various 
companies) could specify rotation, orientation etc. so I think the 
comment is valid.

I'll change as suggested:

-additionalProperties: false
+unevaluatedProperties: false

>> Because the schema references /schemas/media/video-interface-devices.yaml#
>> in allOf without listing common properties such as rotation, orientation,
>> lens-focus, or flash-leds under the local properties block, using
>> additionalProperties: false will cause dtbs_check to reject any
>> sony,imx908 node that uses those inherited properties.
>>
>> [ ... ]
>>
>> -- 
>> Sashiko AI review · https://sashiko.dev/#/patchset/20261019014720.2635-1-lachlan.michael@sony.com?part=1


  reply	other threads:[~2026-10-20  1:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  1:47 [PATCH v5 0/2] Add bindings and driver for Sony IMX908 Lachlan Michael
2026-10-19  1:47 ` [PATCH v5 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor Lachlan Michael
2026-10-19  1:53   ` sashiko-bot
2026-10-19 18:21     ` Conor Dooley
2026-10-20  1:37       ` Lachlan Michael [this message]
2026-10-19  1:47 ` [PATCH v5 2/2] media: i2c: Add Sony IMX908 image sensor driver Lachlan Michael

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=a63dfe3d-9178-43a6-a9fb-ae82c86a047a@sony.com \
    --to=lachlan.michael@sony.com \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=media-ci@linuxtv.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox