From: sashiko-bot@kernel.org
To: "Armandas Kvietkus" <armandas.kvietkus@proton.me>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/4] dt-bindings: misc: Add FPC1540 fingerprint sensor driven by a QSEE app
Date: Tue, 24 Nov 2026 17:51:56 +0000 [thread overview]
Message-ID: <sashiko-outbox-231751@kernel.org> (raw)
In-Reply-To: <20261124-fpc1540-tee-v1-3-6c6985f05b06@proton.me>
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] dt-bindings: misc: fpc1540-tee duplicates interrupt pin as
irq-gpios
- [Medium] dt-bindings: misc: fpc1540-tee strips .mdt suffix and embeds
QSEE resources
- [Low] dt-bindings: misc: fpc1540-tee uses non-canonical property
ordering
--
commit 9d798d8abb4687cb95d763a981df15f03d125a1a
Author: Armandas Kvietkus <armandas.kvietkus@proton.me>
dt-bindings: misc: Add FPC1540 fingerprint sensor driven by a QSEE app
This commit adds a Device Tree binding schema for the FPC1540 fingerprint
sensor when driven by a Qualcomm QSEE trusted application.
> diff --git a/Documentation/devicetree/bindings/misc/fpc,fpc1540-tee.yaml b/Documentation/devicetree/bindings/misc/fpc,fpc1540-tee.yaml
> new file mode 100644
> index 0000000000000..0c2ec847c2d75
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/misc/fpc,fpc1540-tee.yaml
> @@ -0,0 +1,74 @@
[ ... ]
> +properties:
> + compatible:
> + const: fpc,fpc1540-tee
> +
> + firmware-name:
> + minItems: 1
> + items:
> + - description: Path of the trusted application, without the .mdt suffix.
> + - description:
> + Path of the QSEE common library the trusted application needs,
> + without the .mdt suffix.
[Severity: Medium]
Should firmware-name specify the complete filename including the .mdt (or
.mbn) extension rather than stripping the suffix? Qualcomm bindings and
drivers/soc/qcom/mdt_loader.c expect the full relative filename in
firmware-name so that standard MDT loader helpers work directly and both
split (.mdt + .bXX) and single-file (.mbn) images are supported.
Also, the QSEE common library (cmnlib64) and the QSEE image-loading
memory-region below are system-wide QSEE/TEE environment resources rather
than hardware properties of the FPC1540 sensor node.
> +
> + vdd-supply: true
> +
> + reset-gpios:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + irq-gpios:
> + maxItems: 1
> + description:
> + The interrupt line read as a GPIO, so that edges where the line is
> + already low again are not reported as a finger.
[Severity: Medium]
Should the binding describe the sensor's single physical interrupt wire
only once rather than duplicating the same pin in both interrupts and
irq-gpios? As shown in the example where both interrupts-extended and
irq-gpios reference <&tlmm 23>, irq-gpios encodes a Linux driver
edge-filtering workaround into the DT binding ABI rather than a distinct
hardware connection.
> +
> + memory-region:
> + maxItems: 1
> + description:
> + Region used to pass the trusted application image to QSEE. The whole
> + region is shared with QSEE because QSEE reads past the end of the image
> + while it starts the application.
> +
> +required:
> + - compatible
> + - firmware-name
> + - vdd-supply
> + - reset-gpios
> + - interrupts
> + - memory-region
[Severity: Low]
In properties:, required: and examples:, interrupts (and
interrupts-extended in the example) should be listed immediately after
compatible to follow the canonical DT schema property ordering.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-fpc1540-tee-v1-0-6c6985f05b06@proton.me?part=3
next prev parent reply other threads:[~2026-11-24 17:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:42 [PATCH 0/4] Add FPC1540 fingerprint sensor support through QSEE Armandas Kvietkus via B4 Relay
2026-11-24 17:43 ` [PATCH 1/4] firmware: qcom: scm: Add QSEE app start, shutdown and services image load Armandas Kvietkus via B4 Relay
2026-11-24 17:43 ` [PATCH 2/4] dt-bindings: vendor-prefixes: Add Fingerprint Cards AB Armandas Kvietkus via B4 Relay
2026-11-24 17:43 ` [PATCH 3/4] dt-bindings: misc: Add FPC1540 fingerprint sensor driven by a QSEE app Armandas Kvietkus via B4 Relay
2026-11-24 17:51 ` sashiko-bot [this message]
2026-11-24 17:43 ` [PATCH 4/4] misc: Add FPC1540 fingerprint sensor driver for QSEE apps Armandas Kvietkus via B4 Relay
2026-11-24 18:01 ` sashiko-bot
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-231751@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=armandas.kvietkus@proton.me \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.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