From: sashiko-bot@kernel.org
To: "Jorijn van der Graaf" <jorijnvdgraaf@catcrafts.net>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v5 6/6] arm64: dts: qcom: milos-fairphone-fp6: Add NFC
Date: Wed, 12 Aug 2026 22:15:02 +0000 [thread overview]
Message-ID: <20260812221502.CBD561F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260811220135.472380-7-jorijnvdgraaf@catcrafts.net>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing pinctrl state for the `wake-gpios` pin (`gpio7`).
--
--- Patch [6]: [PATCH v5 6/6] arm64: dts: qcom: milos-fairphone-fp6: Add NFC ---
commit c9c7cf311411882808cc647f75e1e16f476acbf7
Author: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
arm64: dts: qcom: milos-fairphone-fp6: Add NFC
This commit adds the Samsung S3NRN4V NCI NFC controller on i2c1 to the
milos-fairphone-fp6 device tree. It configures the controller's clock, power
supply, and GPIO lines.
> diff --git a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
> index ebdca0e2d2f3a..bdba848275db4 100644
> --- a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
> +++ b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
[ ... ]
> @@ -601,9 +601,22 @@ &gcc {
> };
>
> &i2c1 {
> status = "okay";
> +
> + nfc@27 {
> + compatible = "samsung,s3nrn4v";
> + reg = <0x27>;
> +
> + interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>;
> + en-gpios = <&tlmm 56 GPIO_ACTIVE_HIGH>;
> + wake-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
> + clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
> +
> + pvdd-supply = <&vreg_l20b>;
> +
> + pinctrl-0 = <&nfc_default>;
> + pinctrl-names = "default";
> + };
> };
[ ... ]
> @@ -825,6 +838,22 @@ &tlmm {
> <13 1>, /* NC */
> <63 2>; /* WLAN UART */
>
> + nfc_default: nfc-default-state {
> + irq-pins {
> + pins = "gpio31";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + pd-pins {
> + pins = "gpio56";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-pull-up;
> + };
> + };
[Severity: Low]
Should the pad configuration for gpio7 (used for wake-gpios) be included in
this pinctrl state?
The nfc@27 node defines wake-gpios on gpio7, but nfc_default only configures
the drive strength and bias for gpio31 (irq) and gpio56 (pd/en). This leaves
the wake-gpios pad configuration to hardware defaults or the bootloader state.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260811220135.472380-1-jorijnvdgraaf@catcrafts.net?part=6
prev parent reply other threads:[~2026-08-12 22:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 22:01 [PATCH v5 0/6] nfc: s3fwrn5: support the S3NRN4V variant Jorijn van der Graaf
2026-08-11 22:01 ` [PATCH v5 1/6] nfc: s3fwrn5: drop of_match_ptr() from the I2C driver Jorijn van der Graaf
2026-08-12 22:15 ` sashiko-bot
2026-08-11 22:01 ` [PATCH v5 2/6] nfc: s3fwrn5: use the "s3fwrn5_i2c" string literal directly Jorijn van der Graaf
2026-08-11 22:01 ` [PATCH v5 3/6] dt-bindings: net: nfc: samsung,s3fwrn5: add the S3NRN4V Jorijn van der Graaf
2026-08-11 22:01 ` [PATCH v5 4/6] nfc: s3fwrn5: enable the PVDD supply Jorijn van der Graaf
2026-08-11 22:01 ` [PATCH v5 5/6] nfc: s3fwrn5: support the S3NRN4V variant Jorijn van der Graaf
2026-08-12 11:18 ` David Heidelberg
2026-08-12 15:28 ` Jorijn van der Graaf
2026-08-12 22:15 ` sashiko-bot
2026-08-11 22:01 ` [PATCH v5 6/6] arm64: dts: qcom: milos-fairphone-fp6: Add NFC Jorijn van der Graaf
2026-08-12 22:15 ` sashiko-bot [this message]
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=20260812221502.CBD561F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jorijnvdgraaf@catcrafts.net \
--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 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.