Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5993513ybe; Tue, 10 Sep 2019 11:52:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQ450j8DnfTTB23bo0HuUKqlYjYutzO84yNpCtfs6PC970IM24m2lQkD23//D2PDR0ntlF X-Received: by 2002:a50:f04e:: with SMTP id u14mr32445680edl.247.1568141573728; Tue, 10 Sep 2019 11:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141573; cv=none; d=google.com; s=arc-20160816; b=pUW1jhwMaFoVf1PH+Kb90dHu9kDWSiSbCwiWEn/QPpVgruOb4Vc1NprGRUiDa40teu u48S5I0G0XW1ubYf/K8Z5uV6N/zrv4NmrVa0pmlC9x8gBhiwz2qLLIEqCWG2d6xKqCmH i+Dx6caz5H1e+FZ/Z+CItE6T1pozluBqpVtH5hfq+LEQIq0afrwZ07w6NsNER3R2wknM flTO5H3dn1+dAcyCpHipDHSBQodlhRedZjRImw1mqMfoS6eXNXDawlPyihFtXltEsMNH 85PlRUMa6nXNJ5xC4LKvED1DDYgkBj7+iL+7p8eTYowEcGy+dokqAWpVikvRxsJjIgih UJsg== 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=SSMWA3jnDJkpMY41LhLahVIvRzfyLmIKIOXVKTaTGvs=; b=wlCsRbRc5UtGiWeOubQBAw0Dk7wUrin6hlOTfaehpzXKqZ+JhgcMf3+lx7YzpyvRrN y9jHTy6zSeVLAC4bI6tik2ZiggkPQ1bfPSW7MsRSNUEwS8QaOGB3Me1AjxaEbq3CCzFc k7yUqa+pFuZXbr6vvHWnVYSgldyeuDXKhrXFtTUuBdkafT97/igTVzOAWegECAFlXTaM QVbteiN2XrZy5hckFIrc4L0I0CiH0QYdfGLxviCsf6Ri+yKgoxv+6d6CSIZaxE71T1Jb tvJ1wFWmzhzw/R0yujq34KezHINoFHeEJpn6E6iw53n38a1wG3nFFk/rTKB8IGPzNtBr Ux5A== 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 y17si10620680edo.354.2019.09.10.11.52.29; Tue, 10 Sep 2019 11:52: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 S2389187AbfIJJSc (ORCPT + 99 others); Tue, 10 Sep 2019 05:18:32 -0400 Received: from smtp3.goneo.de ([85.220.129.37]:33086 "EHLO smtp3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729421AbfIJJSc (ORCPT ); Tue, 10 Sep 2019 05:18:32 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 7112623FA2B; Tue, 10 Sep 2019 11:18:29 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.036 X-Spam-Level: X-Spam-Status: No, score=-3.036 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.136, 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 A-la-1SYbXoo; Tue, 10 Sep 2019 11:18:28 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id A463F23F8EB; Tue, 10 Sep 2019 11:18:27 +0200 (CEST) From: Lars Poeschel To: Allison Randal , Greg Kroah-Hartman , Jilayne Lovejoy , Kate Stewart , Thomas Gleixner , Lars Poeschel , netdev@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold Subject: [PATCH v7 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Date: Tue, 10 Sep 2019 11:31:21 +0200 Message-Id: <20190910093129.1844-1-poeschel@lemonage.de> X-Mailer: git-send-email 2.23.0 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