Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4119210ybg; Fri, 25 Oct 2019 13:37:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeYndhaJlxC1GdUtChtmCRdaaHL5+VG263XyvgLxQGau+wNZdAKrW7lLY3GeH9Q0EfTtJS X-Received: by 2002:a05:6402:17ec:: with SMTP id t12mr6226519edy.37.1572035873973; Fri, 25 Oct 2019 13:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572035873; cv=none; d=google.com; s=arc-20160816; b=WvdyFgzDgtUhgEbdW5fe/cNPgM54p1+XjhjLp+UEzYqLc4KO4t2ZTOG+LVAnR6ga4H KW5fze6mvVSmeFVg/VOaOoUlKgxFYdJAAgwjFE/EqCX8Ex25r4fhj7YYkE7QWWnDYIj4 kdYRV2W+Gv/9a9QPEqWWBdN8DGGImIE6tZwH5+x2qFcylNx5b/feAO3RYwhVnyf8pUun YSVnThp9fMW7IWoqUIc+XUhhBa+YF0e+LcYyj5qTUg1TFO3SvtoJrWoqgHZdK3CTtg2o aqrEMyb4Qg9jDebrhiigEVmR5nnHS5IVXV+EJ+w8ugsisctU0yO5wlYhM2jpEiDxdBr3 ZA1g== 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=j/d1A+hyyw5cjTfkcgT0XrQTGbeCvoA0GDJVoPYkoryOhSHKe9fgn+Vy8ZmwAEMw52 Bp8cF/WNq1U7yDKo0UBza5qitgkwu9qu3XLs8CICBOnyoDDScUE0R+keYVVCuVDjafiZ 77GjxE6QKppcL86UQFzrSz7QmwHQS3sVPNs8NDbOdJ0yMMnRrie2zVwy74V5MnM5HGRO mCdy6PZsSUZW/p/knAzuHx1dZi6gz+Ka4R2DjQB1XB/XnolMKYC1QvYny6mx/+JxAbBM 90XOkSkkLcqIRzSE1YEzH2gRxt5inW5RDpdhE6kbk4VGT8MHWSaI3MJeAkTA4Qp1ESAs 01Mw== 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 l8si1865262ejc.420.2019.10.25.13.37.30; Fri, 25 Oct 2019 13:37:53 -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 S2395145AbfJYOZp (ORCPT + 99 others); Fri, 25 Oct 2019 10:25:45 -0400 Received: from smtp3-1.goneo.de ([85.220.129.38]:36156 "EHLO smtp3-1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725825AbfJYOZp (ORCPT ); Fri, 25 Oct 2019 10:25:45 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id B82AF23F192; Fri, 25 Oct 2019 16:25:41 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.011 X-Spam-Level: X-Spam-Status: No, score=-3.011 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.111, 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 qHJpvpA6h8Rq; Fri, 25 Oct 2019 16:25:40 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id E16892400D4; Fri, 25 Oct 2019 16:25:39 +0200 (CEST) From: Lars Poeschel To: Lars Poeschel , Jilayne Lovejoy , Greg Kroah-Hartman , Steve Winslow , Kate Stewart , Thomas Gleixner , netdev@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold , Simon Horman Subject: [PATCH v10 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Date: Fri, 25 Oct 2019 16:25:15 +0200 Message-Id: <20191025142521.22695-2-poeschel@lemonage.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191025142521.22695-1-poeschel@lemonage.de> References: <20191025142521.22695-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