Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp989543imu; Fri, 11 Jan 2019 12:49:23 -0800 (PST) X-Google-Smtp-Source: ALg8bN6nTjJNhW4Cwelaq0y7EUVIFN8wlYB9XZnjjR9X81oF9QI+Yt/tSdeWhBryq117NJierW9c X-Received: by 2002:a63:9e19:: with SMTP id s25mr13758729pgd.203.1547239763661; Fri, 11 Jan 2019 12:49:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547239763; cv=none; d=google.com; s=arc-20160816; b=JW83MT62LgLEr7g+wGrTGJOSzBs87xQjdHBZR63j3/Qe/iw2ViIBZw8ILkGSTZz3q9 imo364ypiCHh5fbNCItgEe2G+Eu9arVLNkS/HiXPcxAwL/vCKX6vb+zkStFdORhn37qy T+x0E7xT7q1ChYnckTri1VMo1G6wT5IhdzuUFIsu14vXowapEBVbEV7IDZuAx6ppTCaq JX5sbx0M5gWgwjLc8q715H4V5QjobuAHUP5TDb8/4IBknH4GuJcygXgxmYh4HlNpP+fX v/1j1hjsw/iq9YEXiGklqTr8spY1NcXhb9F+U0uxHMzmx9fu6ycCO8XtWrGUDOOH5MO0 T/mg== 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=gPAfvdau0OZye4bYGW3W5igEc8Jluj1rmtD/3puUCyo=; b=lBzri0plW0T4DTEy3Qpdq7So4RHP1jMEV6uXrAnTc/YawSL4IRDYFyZUXthw35gPz7 xJ81cRvbtmU8iqN8TfxMLJCik/HMFxrpWjA0bPxIJbHCemIrqLRJOJdFd436Tc/ny0XG /Jxo0vayNsiCwQQIZgJ8Lk8+ytYriFcTHI/Zd8U+koxbVX0VQ3BUZfPZhhh2rhQpc66p XiL6nWfKi4Vg5rSfEAMVnHn/jYSoYPvN/Gv3GXCAhpxdsyLXzi04e5pl1Ay1gD7bJEmT HPRbNf+Ep6o5bbCThci/8PDtIKfy7Wr3vauoogLRs05LvZLYtADm4M1A1KZPg8AdoMnR H/HA== 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 e22si4113462pge.479.2019.01.11.12.49.08; Fri, 11 Jan 2019 12:49:23 -0800 (PST) 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 S2391903AbfAKPJa (ORCPT + 99 others); Fri, 11 Jan 2019 10:09:30 -0500 Received: from smtp3.goneo.de ([85.220.129.37]:48792 "EHLO smtp3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391528AbfAKPJ2 (ORCPT ); Fri, 11 Jan 2019 10:09:28 -0500 X-Greylist: delayed 366 seconds by postgrey-1.27 at vger.kernel.org; Fri, 11 Jan 2019 10:09:28 EST Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 78B0B23F344; Fri, 11 Jan 2019 16:03:20 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.086 X-Spam-Level: X-Spam-Status: No, score=-3.086 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.186, 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 9vjFHF6IwAcU; Fri, 11 Jan 2019 16:03:19 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id 2E1BA23F121; Fri, 11 Jan 2019 16:03:19 +0100 (CET) From: Lars Poeschel To: devicetree@vger.kernel.org, Samuel Ortiz , "GitAuthor: Lars Poeschel" , linux-wireless@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold Subject: [PATCH v5 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Date: Fri, 11 Jan 2019 17:11:13 +0100 Message-Id: <20190111161124.24036-1-poeschel@lemonage.de> X-Mailer: git-send-email 2.20.1 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 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 4389eb4c8d0b..f4eae9dd5305 100644 --- a/drivers/nfc/pn533/i2c.c +++ b/drivers/nfc/pn533/i2c.c @@ -258,6 +258,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.20.1