Re: [PATCH 3/3] arm64: dts: qcom: qcm6490-fairphone-fp5: add ST21NFCD NFC
Konrad Dybcio <[email protected]>
| Newsgroups | dev.linux.lists.oe-linux-nfc,org.kernel.vger.linux-arm-msm |
|---|---|
| Message-ID | <[email protected]> |
On 8/18/26 11:00 PM, Kristian Brox wrote: > Enable the ST21NFCD on i2c9 (0x08), IRQ TLMM 41, reset TLMM 38 > active-high. Compatible is st,st21nfcd-i2c (raw NCI). ese-present and > uicc-present are unset; those links are unproven on this board. > > Signed-off-by: Kristian Brox <[email protected]> > --- > diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > index d48cf38b7..a485edd24 100644 > --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > @@ -1006,7 +1006,14 @@ redriver_ss_in: endpoint { > &i2c9 { > status = "okay"; > > - /* ST21NFC NFC @ 28 */ > + nfc@8 { > + compatible = "st,st21nfcd-i2c"; > + reg = <0x08>; > + interrupt-parent = <&tlmm>; > + interrupts = <41 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&tlmm 41 IRQ..> > + reset-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>; You should also add a pinctrl entry for both these pins, to make sure the appropriate bias/pull settings are applied Konrad