Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1884218ima; Thu, 25 Oct 2018 06:32:32 -0700 (PDT) X-Google-Smtp-Source: AJdET5eeT1ZkW76GSuIwNBBsuJpHXgrPA6P4OTiSDZ3qYVXID48zKXxvaK83qJRvsAEuuWW2KSjb X-Received: by 2002:a63:1a41:: with SMTP id a1-v6mr1540194pgm.9.1540474352507; Thu, 25 Oct 2018 06:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540474352; cv=none; d=google.com; s=arc-20160816; b=BLlSt3lh+bHxrVrA1vKBICsG4usGCfqLv5VY5VFY6gdiSONdTttMyCsEYtKhar7uN5 U5DM0oNppPtwyALBEMa0YIk1EVC1R6E5IvG6uyXP/Q7FqVApgZErcDnP76hG9jZXfuuX HaKCkKLH5NMmEg/JkyaKQHLkiWxnFXEDrhpFuxqB3FKUePEnRZm5uyEFbcCKM2OrO4ns oF8faHx3lxlKXs+wRGowCOrt5S3Wp6eFjg4iSWLk5yPWZGPzuN2jpk6IsMwshEgVdIL0 6ZYeVYxbW7ebQ+rMuz8dNRdjicqtOraOCZk2btz6sBgqG4HjPSoiUBzrQyUdwPfz1gVY bClg== 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 :references:in-reply-to:message-id:date:subject:to:from; bh=dmny4a4OLFI/tTkyO2TnyBGAWsm38s3nedljuvWU+F4=; b=hTjaov91+0utCykeAbQjORELYTTURV/tQEmkSnS1hkLO73yDCvP6v1v9FTBYLiBM5Q FSPDWxLi/yyqS5QiZwHXIJ/eH/S2EDdl56IYZyA2Jzcv25YnUaqdAeNXr2rAEszM0Pxr R6O4Y62Nj6kW8yf7BI06ocWhlLaU0gAYOd0vWxvutbs+34Twa4o+nawG7ySwAGENR5Ip XFj86m3zKUT8gzjPEJUWueNLYCuOVzQsC32B380ybFDkOhSULYb7zSj+D7DKSUAiW+0b szw3A61pwD4uRtuosJtLIjyrSqqcu9IJrzrUuBxIWNg58l8CGsP1jYvCPqoBdXvidkq8 bT6w== 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 o14-v6si8016570pgc.238.2018.10.25.06.32.07; Thu, 25 Oct 2018 06:32:32 -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 S1727589AbeJYWD4 (ORCPT + 99 others); Thu, 25 Oct 2018 18:03:56 -0400 Received: from smtp1-3.goneo.de ([85.220.129.32]:57681 "EHLO smtp1-3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727302AbeJYWD4 (ORCPT ); Thu, 25 Oct 2018 18:03:56 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp1.goneo.de (Postfix) with ESMTP id 72DD5242197; Thu, 25 Oct 2018 15:31:08 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.169 X-Spam-Level: X-Spam-Status: No, score=-3.169 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.269, 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 lzkPHRyF8cUM; Thu, 25 Oct 2018 15:31:07 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp1.goneo.de (Postfix) with ESMTPSA id 3FB5E242010; Thu, 25 Oct 2018 15:31:07 +0200 (CEST) From: Lars Poeschel To: devicetree@vger.kernel.org, Rob Herring , Mark Rutland , "GitAuthor: Lars Poeschel" , linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 2/5] nfc: pn532_uart: Add NXP PN532 to devicetree docs Date: Thu, 25 Oct 2018 15:29:33 +0200 Message-Id: <20181025132937.24405-2-poeschel@lemonage.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181025132937.24405-1-poeschel@lemonage.de> References: <20181025132937.24405-1-poeschel@lemonage.de> 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 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 + +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. + +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