Re: [PATCH v2 3/5] ARM: dts: qcom: msm8960: expressatt: Add NFC
From: Konrad Dybcio
Date: Fri Nov 21 2025 - 09:27:56 EST
On 11/21/25 12:44 PM, Rudraksha Gupta via B4 Relay wrote:
> From: Rudraksha Gupta <guptarud@xxxxxxxxx>
>
> Add pn544 NFC chip
>
> Signed-off-by: Rudraksha Gupta <guptarud@xxxxxxxxx>
> ---
[...]
> + nfc_enable: nfc-enable-state {
> + pins = "gpio21";
> + function = "normal";
> + output-low;
output-low should be unnecessary, since there's a gpio reference
on the consumer node and one would expect the direction/state to
be configured through that
> +&gsbi7_i2c {
> + status = "okay";
> +
> + nfc@2b {
> + compatible = "nxp,pn544-i2c";
> + reg = <0x2b>;
> + interrupt-parent = <&tlmm>;
> + interrupts = <106 IRQ_TYPE_EDGE_RISING>;
Sorry for not catching this earlier - interrupts-extended would be
"neater" in all cases
Konrad
> + enable-gpios = <&pm8921_gpio 21 GPIO_ACTIVE_HIGH>;
> + firmware-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&nfc_default &nfc_enable>;
property-n
property-names
in this order, please
Konrad