Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2938114imm; Fri, 19 Oct 2018 02:13:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Fustt/vcDmdJJyQ2zcVfLxIWpDUAq6xL0jwYs7wNhX4BO2EcK7PCXYQyqWVSfJ2PcivUF X-Received: by 2002:a65:41c6:: with SMTP id b6-v6mr32277105pgq.421.1539940384937; Fri, 19 Oct 2018 02:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539940384; cv=none; d=google.com; s=arc-20160816; b=eqi32n+hZjBQtiodKHaqFskmXoM50ONyJdd+ZfiLUJQWMEE30rDGzMLYMSRM7t5Jkm pl4LnRw4WxBkoMQgvaaMubfvQ3ZcWmB8qqvevTW2gJOe31BD/1LSTP6ktdXtmpQMMHKl rzyK4aCOo1JuoRIaWSMW7GJFg6Owix7/Gpigxdjvp//0gEwnWzyA582vbxK/cnOdKNxM r/5DW/9af3tRsKkJs6kQU/AAo6r43unew0QabnfnrDXFQHRbMb6VI/kyIIO/XFZUyTFi Lz2s0gshFKefTiFFqMlG2xDBDxrzZRHreWnP4bUJki0LeS9mFzAH6Zb1fJsUT+EKkYYe E0nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=hx1Ei0IaosNpOvhnFGxFfsmEJ+QQ6mteahO0VqNBByY=; b=HrCzIPevavhLrs8co4FmG6CNTAHOZaXhHuGJmsx+WeXYuzh0qEjVgHL3bPUWXbtXgg K8g9hWJsfNuPVG+A4A7NS6nFNIrc6VQpDmxJSb1MGtDY9I2h0S+fjEdWebaxLsUlIs/6 SVGWOiGTo/qsLDynHsDGuXbN5RrEcpSrKapeO2gQemGtRhfOBgI5/wtbthg48lxipEwz sBIoey+TjvCoIbaanT0RLlsiMaK/ZVHrIrJbTA7k3QJEUdapRDSkpjvsZIYCEKolOgaF Kf7sUMrKlpmioEpBqTdqBqPH3rozbmQnYEP5bbB3ouWf1SmYehBNWF/A6WCsvAFqZk9o q33A== 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 8-v6si23379388pgv.137.2018.10.19.02.12.47; Fri, 19 Oct 2018 02:13:04 -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 S1727116AbeJSRRk (ORCPT + 99 others); Fri, 19 Oct 2018 13:17:40 -0400 Received: from smtp3-1.goneo.de ([85.220.129.38]:53562 "EHLO smtp3-1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726399AbeJSRRk (ORCPT ); Fri, 19 Oct 2018 13:17:40 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 879E123F016; Fri, 19 Oct 2018 11:12:24 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.128 X-Spam-Level: X-Spam-Status: No, score=-3.128 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.228, 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 giTZjLlhmmzq; Fri, 19 Oct 2018 11:12:23 +0200 (CEST) Received: from lem-wkst-02.lemonage (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPSA id 8603323F121; Fri, 19 Oct 2018 11:12:22 +0200 (CEST) Date: Fri, 19 Oct 2018 11:12:21 +0200 From: Lars Poeschel To: Rob Herring Cc: Marcel Holtmann , devicetree , Mark Rutland , Peter Rosin , Vadim Pasternak , Lei YU , Andreas =?iso-8859-1?Q?F=E4rber?= , Jonathan =?iso-8859-1?Q?Neusch=E4fer?= , open list Subject: Re: [PATCH v2 2/4] nfc: pn532_uart: Add NXP PN532 to devicetree docs Message-ID: <20181019091221.GB26696@lem-wkst-02.lemonage> References: <20181018144251.30028-1-poeschel@lemonage.de> <20181018144251.30028-2-poeschel@lemonage.de> <20181018204129.GA25436@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181018204129.GA25436@bogus> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 18, 2018 at 03:41:29PM -0500, Rob Herring wrote: > On Thu, Oct 18, 2018 at 05:03:13PM +0200, Marcel Holtmann wrote: > > Hi Lars, > > > > > Add pn532 to the trivial-devices.txt binding doc. > > > > > > Signed-off-by: Lars Poeschel > > > --- > > > Documentation/devicetree/bindings/trivial-devices.txt | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/Documentation/devicetree/bindings/trivial-devices.txt b/Documentation/devicetree/bindings/trivial-devices.txt > > > index 763a2808a95c..c580be08a380 100644 > > > --- a/Documentation/devicetree/bindings/trivial-devices.txt > > > +++ b/Documentation/devicetree/bindings/trivial-devices.txt > > > @@ -172,6 +172,7 @@ nxp,pcf2129 Real-time clock > > > nxp,pcf8523 Real-time Clock > > > nxp,pcf8563 Real-time clock/calendar > > > nxp,pcf85063 Tiny Real-Time Clock > > > +nxp,pn532-uart NXP PN532 NFC-/RFID-Chip, using UART interface > > > > is this really such a trivial device? It doesn’t require any GPIO to enable / reset the NFC chip? It does not require any additional things like GPIO or Interrupts. These are optional and at the moment not supported by the driver. > Considering it supports multiple interfaces, it is not. > > The '-uart' can be dropped and the same compatible used for any > of the bus connections because the device is bound based on the bus > type. Ok. I drop the '-uart' part from the compatible string and provide a seperate, little binding doc, documenting the compatible string used. But does this also have consequences for the already existing -i2c driver? This one uses 'nxp,pn532-i2c' as compatible string. Thanks, Lars