Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp699369ybe; Thu, 19 Sep 2019 02:19:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkZLWWy+k4drWiaXyrIbhcIio5MqjJ3a3i/H0zbdY3uce1aqOzxVNxo4ZXfBfLWxBAYUFE X-Received: by 2002:a50:886d:: with SMTP id c42mr14906981edc.24.1568884752553; Thu, 19 Sep 2019 02:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568884752; cv=none; d=google.com; s=arc-20160816; b=HJ0qjDazGSCKUDAYSk+NoOwMZ7T+wkTd5tpCf/nsuqMQG1Cfj2h4TlzELZyEqjy18z 8WAxhdKGIzHFnIAl2SwowbuNHX9Pmgp0DS/zFcvhRXwgxrtm2N8CazgbhhSHH5+z4FUe p0zHuqX6t6G21cj7k2XlVAZmWrO7Vxhg+KDahmvLwLxUxo/CtKHoqgbEQYx9eTmxQHoQ u5WgX/Q2p9Qsjg5Im9F+A7B466x24AsKc4BDHt+ZjwfwWBuhxNbYflYg6q7L3AaGfra6 jDlE2Sqse0ZHrznqEcmccJhgv/RScW7MZ3PlfCcdZQx9f7PkokOeqqxgeCsensAhzncd MX2w== 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 :message-id:date:subject:cc:to:from; bh=W045IU/FydmR/LeEwoHYQoHsYViM8UaE4sd+iAJ4qqQ=; b=X3dnwU2p1lhpAx1brJEoyoT+yu2zeBca3Ik+Wc8W2lFaCPnXWaxF0Nhz9/R31+rMBG Uc1swAKA7oJchu9hIWG2CXFJqjKMslZrplwGM8ZlH/FwA0HlC5mSB02UzJh4afzqKzhU fIJFIHfiw1gaaAOQhof/mCxQ5oBnu5syuhnIJ5invmr8SPvPTQSauh2utOCRqLd4RRru aEyOd33xZ2vsTd8F3zsPTsAmZO6vXR5LApjIQFL/7mNbkHGFauv1jk8Ab4lF2yQdcVX+ U5Tjv4z5pifJRgZ8fZ+MLoxvYuVd8Xzhfi7s48S0GatuLvMD0fLJVAuFnY2yRtaDbpT0 YeoQ== 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 s7si4763960edm.74.2019.09.19.02.18.49; Thu, 19 Sep 2019 02:19:12 -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 S2388617AbfISJQ5 (ORCPT + 99 others); Thu, 19 Sep 2019 05:16:57 -0400 Received: from smtp3.goneo.de ([85.220.129.37]:59102 "EHLO smtp3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387637AbfISJQ5 (ORCPT ); Thu, 19 Sep 2019 05:16:57 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 6DFEE23FA28; Thu, 19 Sep 2019 11:16:54 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.026 X-Spam-Level: X-Spam-Status: No, score=-3.026 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.126, BAYES_00=-1.9] autolearn=ham Received: from smtp3.goneo.de ([127.0.0.1]) by localhost (smtp3.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id avsuAnECQglS; Thu, 19 Sep 2019 11:16:53 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id 8485223F2CC; Thu, 19 Sep 2019 11:16:52 +0200 (CEST) From: Lars Poeschel To: Steve Winslow , Thomas Gleixner , Kate Stewart , Allison Randal , Jilayne Lovejoy , Lars Poeschel , netdev@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold , Simon Horman Subject: [PATCH v8 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Date: Thu, 19 Sep 2019 11:16:38 +0200 Message-Id: <20190919091645.16439-1-poeschel@lemonage.de> X-Mailer: git-send-email 2.23.0 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 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