Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp628884imd; Thu, 1 Nov 2018 03:03:05 -0700 (PDT) X-Google-Smtp-Source: AJdET5fncv0a77y+yBfO8uR1sONQuKUhBqQuzZlAhvmf5ErqbzgJiQJpdo5M9eKYAPnPcoG4GIOT X-Received: by 2002:a62:fd0b:: with SMTP id p11-v6mr6965406pfh.167.1541066585593; Thu, 01 Nov 2018 03:03:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541066585; cv=none; d=google.com; s=arc-20160816; b=TEjhPGiluq8tLgihRhJuRzxlxdEDwScqTv1IPiQJs7bMYpUznotpVEFtNsO908B2Gf g/WHVjU/0xnPayfEgaK5fQECA6BHwwqM6B17mxHO4MTjWVxt4nfNysr5wzk9jePU2pGH KjdJKN2kwmbs8MM5ccksv77L+ocXle4HPO2LqqwPnvx3khMryTF5tCXeWMEpCtwvhBT3 IyLfukcZ6unorBwn2hMS5g3yYtK51x2XR2tPr5e7/fE9myZAEL/ojwtxT2XIEW3yfixN opyyJfGvb4I63AFHYbJHAShIv5rdrnkJpow6e8fpObmKkyx4iXPOyD8LKoCcjFD1/i4/ 7gOg== 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=ZRisdZWruqQlfgM+joxdNtF7X56+8faDKoXvoafjJd8=; b=W+R2LQR2TeCQuTqduE3Gq4CwIdhjOaEllPKawou28dPgvTwkdy0h58iMXLvzljRqoW 1+KFqL2JJaY82gkZ+inFFiXXEg6ZhwbPLoCFGtDiS862JR4rHo2bvTLtQ/pYMiMEEdwh sG11S03RpCpHtL5vSB3Yh/i3lcvezYKYHtXL3us9WflIhdOwDzTC5873uREN+PA9QQrO eSa7zUg/AFXQNBNdUXSwLHjxYnbliUpUE5NstmZQ/1nU+uCHUM57JhYTkYHIvnI+x94z 7haQrpfqJFOqIQ9ZmxSbxmkl/kHhpeFrWLZ/S33cr/Gy+qWSCdXwPvG4ACMXEDtHHh/Y Z4zw== 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 p19-v6si29017495plo.26.2018.11.01.03.02.51; Thu, 01 Nov 2018 03:03:05 -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 S1728056AbeKATEo (ORCPT + 99 others); Thu, 1 Nov 2018 15:04:44 -0400 Received: from smtp3-1.goneo.de ([85.220.129.38]:39790 "EHLO smtp3-1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726320AbeKATEo (ORCPT ); Thu, 1 Nov 2018 15:04:44 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 8D75A23F63A; Thu, 1 Nov 2018 11:02:24 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.112 X-Spam-Level: X-Spam-Status: No, score=-3.112 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.212, 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 VSyp8upPFAom; Thu, 1 Nov 2018 11:02:22 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id 5B50523F32E; Thu, 1 Nov 2018 11:02:22 +0100 (CET) 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 v4 1/6] nfc: pn533: i2c: "pn532" as dt compatible string Date: Thu, 1 Nov 2018 11:02:09 +0100 Message-Id: <20181101100216.613-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 --- 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.19.1