Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1883104ima; Thu, 25 Oct 2018 06:31:37 -0700 (PDT) X-Google-Smtp-Source: AJdET5fySrZ2H/k/YDs2EsHyFAMp1A5iPpBAWBa3XZIVxBcAs4XT37c/Rock+X7mTCLw4TDfyetF X-Received: by 2002:a65:608f:: with SMTP id t15-v6mr1526105pgu.382.1540474296946; Thu, 25 Oct 2018 06:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540474296; cv=none; d=google.com; s=arc-20160816; b=0VDnRXOXNhVqYIpWlrIGuUn02kr+Xx7QyZapV5ju+QIFea0/cRStZY3g90zFHrx9LT IFS112caNxiuxEa3CFSXfo39PFsB3anUUp2WVWMvUKo1IIh2ppCzGEZUcdy6PRTOVvux lUq3ks3Veaz2wI2NeRAlsY9UaCat/kbBEmiZhiXXNpyr7vT8mzh9Hpe7iFZDhWnHDXpl VsvIm27s76uS5Y1G6UmSztN56GD/Ow/kL6xHGpB3LwLIKcVjV6fEXu+kSBmAX7XctI4i I9eEsZ9OoeIxWaNG2SxSitJqvmciEyzQDG6/IcFEep4LYhcgN+AmectlbgT8Ch4YNea2 RWPw== 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:to:from; bh=dL8Q+vJfinMLUc1BHlS2ADRCFCpS0dm5LgB9QxFCG4A=; b=TTiRcJvk0ZiOfO3fJP3sPdArF4A6NzfptQN8Xe98Dd98GfvJ/JV0iPZGqpUp7hmV9W b6V0wm+Guwr3zfYXf5AXfG/JVISzty8Jr+KjQL8Gy4k+RjAJuA7bH+KdzPtlU1vycHvN KsL5WmiDo1AvyLlO8V6lQK9QJ5gTbT3hM2QZSsnkinQcv5PCoIeMh373oMkLX+EZDty3 gDkS+yYarqg0DAL3jEQwq93IpyeR4eafRhOYjPgan4BwXAFxdXL2bWeSXUUT3r8yNQt8 IZZvf/sreDBA2tdELwIZoDvaLHcSuO2Vik00qte8QsvFQRKRc7N63BjlVwT1Dv9lLbsZ pWYQ== 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 cf10-v6si8237129plb.278.2018.10.25.06.31.20; Thu, 25 Oct 2018 06:31:36 -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 S1727570AbeJYWC7 (ORCPT + 99 others); Thu, 25 Oct 2018 18:02:59 -0400 Received: from smtp1-3.goneo.de ([85.220.129.32]:38125 "EHLO smtp1-3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727302AbeJYWC7 (ORCPT ); Thu, 25 Oct 2018 18:02:59 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp1.goneo.de (Postfix) with ESMTP id EE1AA242151; Thu, 25 Oct 2018 15:30:11 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.173 X-Spam-Level: X-Spam-Status: No, score=-3.173 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.273, BAYES_00=-1.9] autolearn=ham Received: from smtp1.goneo.de ([127.0.0.1]) by localhost (smtp1.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g08a5PjeUCWh; Thu, 25 Oct 2018 15:30:09 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp1.goneo.de (Postfix) with ESMTPSA id B63AB241024; Thu, 25 Oct 2018 15:30:09 +0200 (CEST) From: Lars Poeschel To: devicetree@vger.kernel.org, Samuel Ortiz , Arvind Yadav , Lars Poeschel , linux-wireless@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 1/5] nfc: pn533: i2c: "pn532" as dt compatible string Date: Thu, 25 Oct 2018 15:29:32 +0200 Message-Id: <20181025132937.24405-1-poeschel@lemonage.de> X-Mailer: git-send-email 2.19.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. Signed-off-by: Lars Poeschel --- 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.19.1