Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3947799ybl; Tue, 20 Aug 2019 04:52:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOeLn2rPQ6E8a7YGjZnkeEBPKV8LwWk3Q6kSXLsyPujo0Qy/meHDqILcAKyEPKpzeL9PwJ X-Received: by 2002:aa7:98da:: with SMTP id e26mr29495919pfm.34.1566301963937; Tue, 20 Aug 2019 04:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566301963; cv=none; d=google.com; s=arc-20160816; b=sscABNGR0fK7ipZ65hdMOKTFR6lZv8K+ODoqKJyQN8TzuDQHn7X9z2HJN4xrHgomQK snTSevfsz8X6/bwFJ3rqeCShuVMVVKeZ4RJX/80PU49xx5pJehHL1D9FuOSq08QPg6n/ uGcTwqJDSkQNmlKm66RxknNmfMljRZ1jY4iBn4OoB3jAk5askPm314jqV4LA0KV2hFIf I17veUeSjrP3e8yvKMIc7ZY8UCPjHIvgk3Od5sY46K7iNIzNT8CvfKxIdyo2nyNQjE7U yRP9+cghi+T549+Pr2a+i+UVOwNMVlRPb3PAH8bwLjpcRNHvroheOwK+FIJXUobSv6+J duuQ== 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=Sqm/c8GDzVYAyvTYzp50gmCySa/w6J08Ob5sqaoaWSk=; b=oPiSgszy4UI6aeUz88xnRqRZ3uLXWDVLbeOrOrLaRgUd3+/UqIfgUer5Ut1lA6XTlm Z9NOAWlaXnpLdXeKBDyXeO+Yf+Medr7rtfQJiiIkDhYiWZgPSsW5+tfIEulHKi150OpU ELt4RGq1gkQwKoa9NHiRtGY8B+5U7suzt9D6dr+Gce/SWJkQJAhaQJdTBXMScHOA4hm8 HT5THXHlWggxFHiaZ4dZ1Cmwn70hVhEx0t5g4uw9dHkDfwVzOUgMJiY3s40US+fRtcRX GGxNsYa64zlxAdOVCkHU708AeCNjtSTDM7xVuwnwg5BRn+XkpRBq4P4zp5FpvMCoFyQ4 zujw== 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 w20si12061639plp.369.2019.08.20.04.52.29; Tue, 20 Aug 2019 04:52:43 -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 S1729833AbfHTLve (ORCPT + 99 others); Tue, 20 Aug 2019 07:51:34 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:51890 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729556AbfHTLvd (ORCPT ); Tue, 20 Aug 2019 07:51:33 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id B804523EF71; Tue, 20 Aug 2019 13:51:30 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.138 X-Spam-Level: X-Spam-Status: No, score=-3.138 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.238, BAYES_00=-1.9] autolearn=ham Received: from smtp2.goneo.de ([127.0.0.1]) by localhost (smtp2.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85hcSmJCri0k; Tue, 20 Aug 2019 13:51:29 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp2.goneo.de (Postfix) with ESMTPA id 6B25823F187; Tue, 20 Aug 2019 13:51:29 +0200 (CEST) From: Lars Poeschel To: Greg Kroah-Hartman , Jilayne Lovejoy , Thomas Gleixner , Kate Stewart , Steve Winslow , Lars Poeschel , netdev@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold Subject: [PATCH v6 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Date: Tue, 20 Aug 2019 14:03:38 +0200 Message-Id: <20190820120345.22593-1-poeschel@lemonage.de> X-Mailer: git-send-email 2.23.0.rc1 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 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.rc1