From: sashiko-bot@kernel.org
To: "Jorijn van der Graaf" <jorijnvdgraaf@catcrafts.net>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 5/5] arm64: dts: qcom: milos-fairphone-fp6: Add NFC
Date: Mon, 27 Jul 2026 22:26:31 +0000 [thread overview]
Message-ID: <20260727222632.010DD1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260726222405.153008-6-jorijnvdgraaf@catcrafts.net>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The NFC controller will remain unpowered because the `s3fwrn5` driver lacks regulator support, so the `pvdd-supply` specified in the device tree will never be enabled.
--
--- Patch [5]: [PATCH v3 5/5] arm64: dts: qcom: milos-fairphone-fp6: Add NFC ---
commit a37bde53492f31e7077b36b4e030e872e07827b0
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
device tree. It configures the necessary clocks, interrupts, and assigns
the PVDD supply to the PM7550 LDO20 regulator.
> diff --git a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
> index ebdca0e2d2f3a..a1b86e4092fe2 100644
> --- a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
> +++ b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
> @@ -601,9 +601,29 @@ &gcc {
[ ... ]
> + nfc@27 {
> + compatible = "samsung,s3nrn4v";
> + reg = <0x27>;
> +
> + clk-req-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
> + clocks = <&rpmhcc RPMH_RF_CLK2>;
> + en-gpios = <&tlmm 56 GPIO_ACTIVE_HIGH>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <31 IRQ_TYPE_EDGE_RISING>;
> + pinctrl-0 = <&nfc_clk_req_default>, <&nfc_irq_default>,
> + <&nfc_pd_default>;
> + pinctrl-names = "default";
> + pvdd-supply = <&vreg_l20b>;
[Severity: High]
Will the NFC controller remain unpowered here?
Looking at the upstream driver in drivers/nfc/s3fwrn5/i2c.c in
s3fwrn5_i2c_probe(), it parses and initializes GPIOs and clocks:
phy->common.gpio_en = devm_gpiod_get(&client->dev, "en", GPIOD_OUT_HIGH);
However, it appears to omit requesting or enabling any regulators like
pvdd-supply. Since vreg_l20b is not marked as always-on, won't the regulator
core leave it disabled, preventing the chip from functioning?
> + wake-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260726222405.153008-1-jorijnvdgraaf@catcrafts.net?part=5
prev parent reply other threads:[~2026-07-27 22:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-26 22:24 [PATCH v3 0/5] nfc: s3fwrn5: support the S3NRN4V variant Jorijn van der Graaf
2026-07-26 22:24 ` [PATCH v3 1/5] nfc: s3fwrn5: drop of_match_ptr() from the I2C driver Jorijn van der Graaf
2026-07-26 22:24 ` [PATCH v3 2/5] nfc: s3fwrn5: use the "s3fwrn5_i2c" string literal directly Jorijn van der Graaf
2026-07-26 22:24 ` [PATCH v3 3/5] dt-bindings: net: nfc: samsung,s3fwrn5: add S3NRN4V and clk-req-gpios Jorijn van der Graaf
2026-07-26 22:24 ` [PATCH v3 4/5] nfc: s3fwrn5: support the S3NRN4V variant Jorijn van der Graaf
2026-07-26 22:24 ` [PATCH v3 5/5] arm64: dts: qcom: milos-fairphone-fp6: Add NFC Jorijn van der Graaf
2026-07-27 10:07 ` Konrad Dybcio
2026-07-27 22:26 ` 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=20260727222632.010DD1F00A3A@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.