Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4478322ybg; Tue, 29 Oct 2019 07:47:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCC3pWjPNxOb9gxiU+Hw5pOOneDFzZ4aGYTR+a0OkG1zLyx3ZV8S+FjOzLH5Qrr6YIAHwf X-Received: by 2002:a17:906:4bd7:: with SMTP id x23mr3574427ejv.320.1572360440973; Tue, 29 Oct 2019 07:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572360440; cv=none; d=google.com; s=arc-20160816; b=FqS/qOtMmuCa1Ss2vuWzKCwDIPIuDMWZkFnKmZt3c8ViauNka1vpPkMu2dUCcy7M+k jgRnkTfPl0/NdztcsAN6oLJKzB79BU1hzUaZITM4w+uUxwVZry+MkTqDjEt2uVr/fVHH f74AERF18mustqPVI4o8NcXMebN/fnEh4HOQXQ4lRwAReZH4IKjcKLv0ggJwevcTeByb AZSBRh3rBH7BW+L7X9+kyWriufh84SJkLPpyKJKf6Z4iyHQUltuF/EQv6R4qgDE6yV84 pMnMSWoINAAmkxNOkId+kaRYrNKbpLkpx+qNCqsPJKIG1oNZrVHsOwrQym6TnVeAlgyx NP4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=N9BLCajl+CQsEltyQfel6XzAh6app6eCLM5Kuvz4Ubc=; b=T2w5oMgzorF3o8WSG9KTB/fB99/kJu2bOUev9xL3On0hLNW+qiDRYD5kEAOm2d6OYG 1SBroxW9kCVwb3GdpWAD4/rFWDI7f5YEWpr05YmkOOwg3K3jxUSIOTmQVb9yx4LabXcA 3FHQ3OYShNE5fZNnK7rNFMBq28YYEm/ffbMR0z4n47yRaU9ZKEf00BG9jv80aSlrxAcK 2ZehphN2FWdafKBL/qxT/ZLpusu5cbpeu7NMn1RjrKv4pBvY6UXpttPp7y8iRCfiK1mc 2M22ibmrnZ6PMzj8H+GXc5Jx0/5kkzono26br8AEb5sCbKKbX6/qYSEsviqSlydyODQ5 XqzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e23si10593119eda.248.2019.10.29.07.46.56; Tue, 29 Oct 2019 07:47:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389518AbfJ2Onz (ORCPT + 99 others); Tue, 29 Oct 2019 10:43:55 -0400 Received: from smtp1.goneo.de ([85.220.129.30]:57808 "EHLO smtp1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388712AbfJ2Ony (ORCPT ); Tue, 29 Oct 2019 10:43:54 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp1.goneo.de (Postfix) with ESMTP id 2E88B23F3A5; Tue, 29 Oct 2019 15:43:52 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.066 X-Spam-Level: X-Spam-Status: No, score=-3.066 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.166, BAYES_00=-1.9] autolearn=ham Received: from smtp1.goneo.de ([127.0.0.1]) by localhost (smtp1.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fHeggOj3nSBy; Tue, 29 Oct 2019 15:43:51 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp1.goneo.de (Postfix) with ESMTPA id 129D123F648; Tue, 29 Oct 2019 15:43:51 +0100 (CET) From: Lars Poeschel To: Lars Poeschel , Allison Randal , Thomas Gleixner , Jilayne Lovejoy , Steve Winslow , netdev@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold , Simon Horman Subject: [PATCH v11 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Date: Tue, 29 Oct 2019 15:43:14 +0100 Message-Id: <20191029144320.17718-2-poeschel@lemonage.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191029144320.17718-1-poeschel@lemonage.de> References: <20191029144320.17718-1-poeschel@lemonage.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is favourable to have one unified compatible string for devices that have multiple interfaces. So this adds simply "pn532" as the devicetree binding compatible string and makes a note that the old ones are deprecated. Cc: Johan Hovold Cc: Simon Horman Signed-off-by: Lars Poeschel --- Changes in v10: - Rebased the patch series on net-next 'Commit 503a64635d5e ("Merge branch 'DPAA-Ethernet-changes'")' Changes in v9: - Rebased the patch series on v5.4-rc2 Changes in v6: - Rebased the patch series on v5.3-rc5 Changes in v3: - This patch is new in v3 drivers/nfc/pn533/i2c.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/nfc/pn533/i2c.c b/drivers/nfc/pn533/i2c.c index 1832cd921ea7..1abd40398a5a 100644 --- a/drivers/nfc/pn533/i2c.c +++ b/drivers/nfc/pn533/i2c.c @@ -245,6 +245,11 @@ static int pn533_i2c_remove(struct i2c_client *client) } static const struct of_device_id of_pn533_i2c_match[] = { + { .compatible = "nxp,pn532", }, + /* + * NOTE: The use of the compatibles with the trailing "...-i2c" is + * deprecated and will be removed. + */ { .compatible = "nxp,pn533-i2c", }, { .compatible = "nxp,pn532-i2c", }, {}, -- 2.23.0