Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp675935imu; Fri, 11 Jan 2019 07:12:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN7O4PSF4TMeUHlNxMWtVJnGvDJkBmqBNHVEXgaN5kV1GHhdqsa71uFAsZFGnckQhEnyCwdp X-Received: by 2002:a63:2f86:: with SMTP id v128mr13249433pgv.407.1547219551559; Fri, 11 Jan 2019 07:12:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547219551; cv=none; d=google.com; s=arc-20160816; b=hLPY4zulRbIkAQM1WnKIbBYwb1Bk+DGIYSmpyUhT1SF3NaaqVgjMASI6X2h2RpCuMo fQDeJGAh7MWTUDkgkBe6nA8tXGJaiSMgkC9dgUiM0ohxd9xxB5XVHsh3HVT/oOoReUVR D6Qz+AAfBrbtBvbm88+2KxjYq0mCN5KJPYq/TQVvZfe2Dx3QUXJX/d7G07hxTFzXY8Nq +zAaz+vVttl9O2dLY4MWKSbtXWwampS5yh+MM0FjWChY4gJ9WmtHRPx9GVYq7Iym7tXw OU6OXopYVTtclpeFaXvQ6+l/DzD625tbmTGZjQUnMU/KJjiHbsaenOn3wY8t9y7WN3mm Zs4Q== 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=EV++6QiYzwziCuTtYy2TT9mMhWUjWP3gnNoiPMtH2zrT2VKSVKnYBfUwdecHKkK+bx QVIb7nZDG8QbHyPa/RoARcZetU8Z0zEf46abmqOFosUvgWcgEM0ueWp6noUYV7fHuD8Q N4Re66tSHqdKBibrCRvdZZRvq5sld/tpT3SCgH5yqjJgXAOPPAtVrZ2HDmwfWV0OnyiE 4DIo40HI/bKur6SCMsTKM37D+we4VWxmtyAQNb0EyC4uiQtKTl06qkpRLjvdirl/izXX 2OaQGrokV4y3oOIsCVG3M7b9ZrxhfWBfYvxBVo3mOmpxOgaYZgBQUZ+vVfNXTliJKA/s 3PSA== 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 g11si12760926pgu.347.2019.01.11.07.12.16; Fri, 11 Jan 2019 07:12:31 -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 S2391937AbfAKPJs (ORCPT + 99 others); Fri, 11 Jan 2019 10:09:48 -0500 Received: from smtp3.goneo.de ([85.220.129.37]:48902 "EHLO smtp3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388480AbfAKPJq (ORCPT ); Fri, 11 Jan 2019 10:09:46 -0500 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 289F023F344; Fri, 11 Jan 2019 16:09:44 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.083 X-Spam-Level: X-Spam-Status: No, score=-3.083 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.183, 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 aUiF7gTa5tj9; Fri, 11 Jan 2019 16:09:43 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id 0623523FA89; Fri, 11 Jan 2019 16:09:42 +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:18:04 +0100 Message-Id: <20190111161812.26325-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