Message ID | 20221210142525.16974-2-konrad.dybcio@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1391362wrr; Sat, 10 Dec 2022 08:07:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf7749jgARluUjaektKrOjetT3JNCHpwKhvMAFf1wzVRSKWL05j/uq54MDDxQL1DvIVJIPTe X-Received: by 2002:a05:6402:524b:b0:46b:8d4f:1699 with SMTP id t11-20020a056402524b00b0046b8d4f1699mr15556133edd.14.1670688444700; Sat, 10 Dec 2022 08:07:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670688444; cv=none; d=google.com; s=arc-20160816; b=oqVEYf4Ca8/Sjz/D9olc4g55osOD9OX06mt2kyFhfrmL8bIY1rwcaqwkRqy4BonnJn pKJ3zkfBjeLWNbjj/cyV92XkehRwAcjZS7s52Ki6wXuy8B8aYkZ5oVuDCNDH8GqTmqOx jicytH+wGlDCKF4BSugzvfbZOxghteOl1vh1apJ/GPIj2xpw2kGogIvhdWIWWFfBNajC fXbU/ODQk/zRCZCMhw4iP9sQwW8Nv/Q8FUOBHQQ77O3FfTqW7JbWwWXaGqh10HbuXlCw 5ZgejN50flvk9lSMd0yfVnhzHDKKLBfhTeMR8Mw9vAMqr1RcuxuLe4NYoYXzvvnb831E lhVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xcUtDi9xX+2BTKnC7Sf+lM+wRU4nUSjkTSCI2YSY0rg=; b=KiNG/1VDU2V5Zk8v7xLsO7ET+bKrlDoLnrg+0d71kgcmjtqAqocRwoQMX5JcI1NNB+ NBnRpwgdNtIRYo+Wfe49Zy1mY4EYz1WMbkdQtzQgwfIuLiE2+FdGnn4eAIjj4rBrqtHb uDk/h0rOyK2JiPgB92qOqgOOaJFDBbUIa4vX4a/8oj8hxBLC5w7bXbIxJWPEggffFkXN nlojbyZoH7runmolTCm/3DZ08gUlhuRHgJ0gv3bblh700HAG1c/8flPBHx+ZBefDcRa9 7SDGGCd7dRo7D/WbTkUfaIrFI9m/sK/vCgtG5ahxn/UqJcPM3vWDJy7MqD2yvDCracqL kQaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WWkqomR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a056402518f00b00461c12f1f4csi4473933edd.478.2022.12.10.08.06.49; Sat, 10 Dec 2022 08:07:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WWkqomR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229756AbiLJPlm (ORCPT <rfc822;jz.zhangjin@gmail.com> + 99 others); Sat, 10 Dec 2022 10:41:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbiLJPll (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 10 Dec 2022 10:41:41 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47DC9140A6 for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 07:41:40 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id ud5so18118075ejc.4 for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 07:41:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xcUtDi9xX+2BTKnC7Sf+lM+wRU4nUSjkTSCI2YSY0rg=; b=WWkqomR6xR49XzOe1VEN1psb5CEuEyFgREJ5H3PSsTmfhWj4BqXuPxIUT3Hp45knu+ x1asaC3eObLYUjr6jF20L/pYLVLQcnFCajMZxJWnjFvD8S+8lblz+vU5phsIEsSsH3z7 WORBtnsxUoKjUP2yjeGWWT7+rL3P9hhw2X91g6iYImw1dGtxaOvcBO/NmSs95Xq6s40J duSwJ+jzlJTZFLG4AjKD51NKAJin9ceiNiKRHjpKFhky2EcWR+xofkoqLlgaN9XUYo+a 9KQzsUkD7LsPhXiyyv9rSU5GRquWDvT+Y2wWr3jR2rubyjyKuJxK9zmU2KZXuXhj1kEq IJUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xcUtDi9xX+2BTKnC7Sf+lM+wRU4nUSjkTSCI2YSY0rg=; b=EHK2Sxxk04YGEg/f/PAQwujRTilhY6yHQlXIWvqSvXFe9Jqu2QbfHdzQbqCB2jmQ51 TxSMUUosqSh+m5jR8z+lS4LFAJqSssGO5ZZvj2QCOm3T3h0OfiW/2r836wQFDr24F5Yl WPsyU4/D9b+hYS8jVkIeMjfPtmEeaMV8OirNdda4PBVyrloi6K7dm0digC3YSKaAiFRi QBfwy52BFZ5pIVIFbyTzLV/V6rj+UFOTV2DE1/lIGwAW7qn35C9PBHjqSQvUJYf6njjR Ko9+IrlELV3lxwr9VM67tDYQBu1rZx2N8BYzi/9Hp+RIZPunI4vHDOJyHXaXXsVKt6pd VZcA== X-Gm-Message-State: ANoB5pmvp/9U6yILbqZvorlYsqd76nlP/aLepa3yUBEPItyM3Bk8v+x0 8/gFBY2CX2xhxGe3F5njSsJpbPIlexAhhK9z X-Received: by 2002:ac2:5594:0:b0:4a4:68b7:f889 with SMTP id v20-20020ac25594000000b004a468b7f889mr4086460lfg.45.1670682330585; Sat, 10 Dec 2022 06:25:30 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id c26-20020ac25f7a000000b004acb2adfa1fsm739912lfc.307.2022.12.10.06.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 06:25:30 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: qcom: sm8150-kumano: Add NXP PN553 NFC Date: Sat, 10 Dec 2022 15:25:24 +0100 Message-Id: <20221210142525.16974-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221210142525.16974-1-konrad.dybcio@linaro.org> References: <20221210142525.16974-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751843806318246324?= X-GMAIL-MSGID: =?utf-8?q?1751843806318246324?= |
Series |
[1/3] arm64: dts: qcom: sm8150-kumano: Add GPIO keys
|
|
Commit Message
Konrad Dybcio
Dec. 10, 2022, 2:25 p.m. UTC
Add a node for NXP PN553 NFC (or PN557, unclear data), using the
nxp-nci driver.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
.../boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Comments
On 2022-12-10 15:25:24, Konrad Dybcio wrote: > Add a node for NXP PN553 NFC (or PN557, unclear data), using the > nxp-nci driver. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> Tested-by: Marijn Suijten <marijn.suijten@somainline.org> # On Xperia 1 and Xperia 5 Unfortunately I can only test this with neard-tools' nfctool, which reports a tag (from another phone) has been detected but does not allow me to show its contents (I may have simply not figured out /how/), and the other phone with the "NFC Tools" app shows nothing when trying to read from any of the kumano phones (but then I am also unsure how to "present" a tag via nfctool, and expected it to be implicit when running as "initiator"). Debug/testing advice appreciated :) - Marijn > --- > .../boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi > index 2352dff213fc..9d667bb6f25b 100644 > --- a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi > @@ -428,8 +428,18 @@ &i2c4 { > > /* Qcom SMB1355 @ c */ > /* Qcom SMB1390 @ 10 */ > - /* NXP PN553 NFC @ 28 */ > /* Qcom FSA4480 USB-C audio switch @ 43 */ > + > + nfc@28 { > + compatible = "nxp,nxp-nci-i2c"; > + reg = <0x28>; > + > + interrupt-parent = <&tlmm>; > + interrupts = <47 IRQ_TYPE_EDGE_RISING>; > + > + enable-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>; > + firmware-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>; > + }; > }; > > &i2c7 { > -- > 2.38.1 >
diff --git a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi index 2352dff213fc..9d667bb6f25b 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi @@ -428,8 +428,18 @@ &i2c4 { /* Qcom SMB1355 @ c */ /* Qcom SMB1390 @ 10 */ - /* NXP PN553 NFC @ 28 */ /* Qcom FSA4480 USB-C audio switch @ 43 */ + + nfc@28 { + compatible = "nxp,nxp-nci-i2c"; + reg = <0x28>; + + interrupt-parent = <&tlmm>; + interrupts = <47 IRQ_TYPE_EDGE_RISING>; + + enable-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>; + firmware-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>; + }; }; &i2c7 {