Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5704783ybp; Tue, 8 Oct 2019 07:09:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpTXtJMcskGkucFkTK256G/9r20C2B2JI+4AEKHcfzGSvIv4N9xWRr4JtxI9eWlKHfR8Vq X-Received: by 2002:a50:d090:: with SMTP id v16mr34255178edd.176.1570543761101; Tue, 08 Oct 2019 07:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570543761; cv=none; d=google.com; s=arc-20160816; b=ErznCSWJYEkbU2sYDa1JOiW2f4zEroWjdpjPtnHxg0ftclung7rUjm9ULslsSehWK7 gw6QMqugHkBCnbGKNlwfUYc8B19WpDLcqSOKoH/nZxB2XNGYw2CXmmHZUGq3rRByg7fa 5RGRkfkP5BIzdI7VVd90CW6SpOB6dBNYOp9qNl0m0VEi8FRGL/6abDsEQ/lFIPPZWL4Z uLTj7aJDDl8OrkHG7qdziSoYxO3zQLUWIdo/WRWTIc+F0IO8N1mlJajdPyTUShjfwbLc glBL4vbBkycQXvuKDhFvbHyzBozXeq3ukl0qCRZem+zulO+SR8uYuZFPS36aQYZpLMhT XbSQ== 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=2UruxetzZg6zbaIz5PkqdGsUoZx4vphbmqaY27ARRrw=; b=VNXqNAtKai1NW4bHQ23TTKZVBv9vAz0P2fjqWYgIeXnFBNQFthGU0CylYCwr66Y1xs fl0WyTQdGelwUhgq0fcQ1wZNVp5ndCq7l+wWBGYEOKhMOmKNdFUHaDtBX1FpkWmUQzwE VDHWH7ywT/WuTsYcK83F8bZL84EiYVujAdUCdlLg2kJkyDGkolMRcz1zOPkbBFSinekA 6Xf+OeTEeTCFBcjLFHo+lWp8IJ9wytto68DacX3T1Q3/WYeofvwBCd3QvOtrc7NTKV3M D0dqdlLuVeShbkmPfJrJSfhFWgoZidWZVK5cQW0QWqJpVhW1gsKof5DFEKSInCdRUMww vr3g== 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 l19si9935946eds.389.2019.10.08.07.08.36; Tue, 08 Oct 2019 07:09:21 -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 S1726490AbfJHOGH (ORCPT + 99 others); Tue, 8 Oct 2019 10:06:07 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:38578 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726322AbfJHOGG (ORCPT ); Tue, 8 Oct 2019 10:06:06 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id DA0FF23F5D7; Tue, 8 Oct 2019 16:06:03 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.097 X-Spam-Level: X-Spam-Status: No, score=-3.097 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.197, 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 uCKexqNXTC1z; Tue, 8 Oct 2019 16:06:03 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp2.goneo.de (Postfix) with ESMTPA id A8DDC23F232; Tue, 8 Oct 2019 16:06:02 +0200 (CEST) From: Lars Poeschel To: Lars Poeschel , Kate Stewart , Greg Kroah-Hartman , Allison Randal , Steve Winslow , Thomas Gleixner , netdev@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold , Simon Horman Subject: [PATCH v9 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Date: Tue, 8 Oct 2019 16:05:38 +0200 Message-Id: <20191008140544.17112-2-poeschel@lemonage.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191008140544.17112-1-poeschel@lemonage.de> References: <20191008140544.17112-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 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