Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp33604ima; Thu, 25 Oct 2018 14:58:01 -0700 (PDT) X-Google-Smtp-Source: AJdET5ci23nAAI8rWvarbnLjo/sDEsoTx/MMjGNcPNWFKrgo/EV3ycNdf5kIvXDAs1W89gbpfs+q X-Received: by 2002:a62:1850:: with SMTP id 77-v6mr895350pfy.105.1540504681163; Thu, 25 Oct 2018 14:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540504681; cv=none; d=google.com; s=arc-20160816; b=XWKGTY1vpNhPPnwiVosbWBoHlciJ8yHHlWjXb3w0Ytm/8q5DkMsAKjM10wy09SALI2 UiDEFBCUaUiTwQNsGhqkOfNYvevopd2+VdYSYlS7KkxrYqkqeYjV5EYtLO/hIHgfaI+7 MFmNhKrAVnb+NcyEwlDHk5MEYrlY1TTFigds3SW0lQL0gCEQIZwH1jS6trSrLDYhAxZR aYNMNL3WXTZWmbZVAvNOdX/iJbGRvRqlAjkjM6WomMfT9nrKsNuVlZ63cQ82P7qf4Tkn kqBXxbs+iVKUvPOufoC3n2x88fAeV3BeMeNbOg7t2HHdvtM5ZnY1MFuLWeI6YMkhDMA5 q83Q== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6EjMLax3c555Ry+NJoc5+/RVUeiiSXA/qvnvNxrLAUQ=; b=XoyRgQ0PLxDGnU7TJbXKWUwJy2VEPMYSFNxyr9MP8ygimE0iCXODYH2DUs8XqHAVmm 7CWHHHNCwp7jD0A/rR5Dyzar+bDjXWsclMszp/l2C+Wq2dRVJzOh9gyZp0g+F7Kty37y zb/FREt5U/EyT36lB2ZmEl7Ux5gtV1GwxZIfy5zUtQX0NKH6n/hyGwGQXp+j/2ofW1eD inDKUggGfQUKS/0KThmeVgVBuYp1n/+zT9P2KfV9/3af7etct+XwST9osHZ/qDi9SRxu SfrM7EPYZXV30g7cfpjQvY50qR6mPrKSNyT7ryVCTmFEAY5MDWWzmn4A5NirnohTcBal 1OEA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a16-v6si8617876pgw.187.2018.10.25.14.57.45; Thu, 25 Oct 2018 14:58:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727716AbeJZG3M (ORCPT + 99 others); Fri, 26 Oct 2018 02:29:12 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:35632 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbeJZG3L (ORCPT ); Fri, 26 Oct 2018 02:29:11 -0400 Received: by mail-ot1-f65.google.com with SMTP id 14so10663081oth.2; Thu, 25 Oct 2018 14:54:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6EjMLax3c555Ry+NJoc5+/RVUeiiSXA/qvnvNxrLAUQ=; b=ZVl5DtSDFhstdBEtkYsEmm7kF+gafbGp4bnfM7Ob0a+zmG+Upk7OmouHSMpjNeZoP5 53jYEwaoZ7TQvk7iEGeAeIK0Re/s5/dYI5+/BYyAv1oqCXrKL3p+GUVuZ0WAsmN7aReA In1uzsoBI+QriF1FBZKkB+SHK3pGIKp3cJRwOjPK7SsdI+ZgUI/8x6VFvSmj1IAXvLEM FXiDbzUCGgmkNkUKOagZ4rhTclQccNBf0KL7nKygJeb1PQeTSa6r5KOyfFhSHzDrkmyF Q0m6ZU5VhLfu0JJUfAx8Atqy8ZvxxmXSPievcS1VEGCNXG0Vd03wfG2j90gQldy6c/Ix Yk2Q== X-Gm-Message-State: AGRZ1gK2vhIeYIsC/hiAsTexMCZ9qwolPuZFqw+oJCftqJq0CeryVAx0 DaB+DeFmGq8YKWSVvuSHSzFE9b0= X-Received: by 2002:a9d:48f:: with SMTP id 15mr662142otm.20.1540504486924; Thu, 25 Oct 2018 14:54:46 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r143-v6sm1917031oie.27.2018.10.25.14.54.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Oct 2018 14:54:46 -0700 (PDT) Date: Thu, 25 Oct 2018 16:54:45 -0500 From: Rob Herring To: Lars Poeschel Cc: devicetree@vger.kernel.org, Mark Rutland , open list Subject: Re: [PATCH v3 2/5] nfc: pn532_uart: Add NXP PN532 to devicetree docs Message-ID: <20181025215445.GA16550@bogus> References: <20181025132937.24405-1-poeschel@lemonage.de> <20181025132937.24405-2-poeschel@lemonage.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181025132937.24405-2-poeschel@lemonage.de> 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 25, 2018 at 03:29:33PM +0200, Lars Poeschel wrote: > Add a simple binding doc for the pn532. > > Signed-off-by: Lars Poeschel > --- > Changes in v3: > - seperate binding doc instead of entry in trivial-devices.txt > > .../devicetree/bindings/nfc/pn532.txt | 31 +++++++++++++++++++ > 1 file changed, 31 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nfc/pn532.txt > > diff --git a/Documentation/devicetree/bindings/nfc/pn532.txt b/Documentation/devicetree/bindings/nfc/pn532.txt > new file mode 100644 > index 000000000000..a2df72a5f504 > --- /dev/null > +++ b/Documentation/devicetree/bindings/nfc/pn532.txt > @@ -0,0 +1,31 @@ > +NXP PN532 NFC Chip What about the PN533? > + > +Required properties: > +- compatible: Should be > + - "nxp,pn532" Place a node with this inside the devicetree node of the bus > + where the NFC chip is connected to. > + Currently the kernel has phy bindings for uart and i2c. > + - "nxp,pn532-i2c" (DEPRECATED) only works for the i2c binding. > + - "nxp,pn533-i2c" (DEPRECATED) only works for the i2c binding. > + > +There are no additional properties provided by the driver at the moment. I2C requires reg. > + > +Example uart: > + > +uart4: serial@49042000 { > + compatible = "ti,omap3-uart"; > + > + pn532: nfc { > + compatible = "nxp,pn532"; > + }; > +}; > + > +Example i2c: > + > +i2c1: i2c@0 { > + compatible = "ti,omap3-i2c"; > + > + pn532: nfc { > + compatible = "nxp,pn532"; > + }; > +}; > -- > 2.19.1 >