From patchwork Sat Feb 3 20:51:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xue Liu X-Patchwork-Id: 10199149 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ABF5060388 for ; Sat, 3 Feb 2018 20:51:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B393328F9B for ; Sat, 3 Feb 2018 20:51:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A813128FEF; Sat, 3 Feb 2018 20:51:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 539F828F9B for ; Sat, 3 Feb 2018 20:51:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753136AbeBCUvY (ORCPT ); Sat, 3 Feb 2018 15:51:24 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:51975 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753126AbeBCUvX (ORCPT ); Sat, 3 Feb 2018 15:51:23 -0500 Received: by mail-wm0-f65.google.com with SMTP id r71so19266123wmd.1 for ; Sat, 03 Feb 2018 12:51:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=UIMth72Aqw+25F6kgOhrjRrXKUq2YJXx1fprmKk5uVE=; b=VK7x3oBQDwBRpO6ahqTrx6+9uT2E/G+/13a/WJGLq6td2wFq2zH3/KyvPqnvXzsRK/ GFtjnvhnvnjjwuk88kNlMaPr74SWIAmqte4iYuniDsuRRd64rhA7HLtyDqsZYtUgjkQy c9Lg+0Zv4dA4wMYaHlFIOcoflXDmsyQN8ZgN1zv7FHq2jfeE0yvNcY+rvhQvtNLKLUny VziKtR1GT67v+0WeDiml06ArchnGfUKX+EGkZ1K7yxGXWb73VxoagSf4ro/P/GUsZiTs oSg+nFiItW5aRILsiL8B5VnhRhqOxcZsR1C1esAMeGuF5GIP3BMQd0HpRWVEWJjLEUm6 o8Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=UIMth72Aqw+25F6kgOhrjRrXKUq2YJXx1fprmKk5uVE=; b=S0pFB1exxYV2q2gdcXRnnd6w46rsrNAtLpRhOFVwg1Tu0Kpui0E3foGN53AFhzIyT6 X5duIWT77ZpVS2F1RpPpAUGngYmF51PQ/w0eYm4L+NKMmMg5UcauZnztQILFjGk5IHAT fQsVGbvzqWC08x8FDkCsHv2dJTdYbWW1L3UnRV4J6YBjqZ9F1WfCOeIZjyowWtYBVE8g nBnNA117zlYyF27y1jufU/9MfrN6DknljjrqEllDOjCs3qLpqz4Lw+9XUMoWs5xxeITB N8g2WOcEijSuc6WpOc08qpnZYGbQ95Xp5SkyxESlAA+sZkFSSLWe8UN96Ll3GCnMqfeY wgdg== X-Gm-Message-State: AKwxyte4qCCXfwhOU1oKSxegAsJbY8r9FcVv5fP6zMiwMR0ABLAbKQ+S sD5nNEKnTCXWGb8F0ucau0KpeQ== X-Google-Smtp-Source: AH8x2255uCRj76MbWJjL+3ySn39KDrjbnw236xlznutgE4yVpAC2Yno+Z7Fl8ZsMKEYGo4PqkmSpkw== X-Received: by 10.80.173.110 with SMTP id z43mr72208146edc.305.1517691082431; Sat, 03 Feb 2018 12:51:22 -0800 (PST) Received: from xue-ThinkPad-T470s.fritz.box (ipservice-092-218-175-186.092.218.pools.vodafone-ip.de. [92.218.175.186]) by smtp.gmail.com with ESMTPSA id w17sm4503584eda.96.2018.02.03.12.51.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 03 Feb 2018 12:51:21 -0800 (PST) From: Xue Liu To: linux-wpan@vger.kernel.org Subject: [PATCH 1/3] ieee802154: Add device tree documentation for MCR20A Date: Sat, 3 Feb 2018 21:51:12 +0100 Message-Id: <1517691074-20306-2-git-send-email-liuxuenetmail@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517691074-20306-1-git-send-email-liuxuenetmail@gmail.com> References: <1517691074-20306-1-git-send-email-liuxuenetmail@gmail.com> Sender: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Xue Liu --- .../devicetree/bindings/net/ieee802154/mcr20a.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt diff --git a/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt new file mode 100644 index 0000000..9a39769 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt @@ -0,0 +1,23 @@ +* MCR20A IEEE 802.15.4 * + +Required properties: + - compatible: should be "nxp,mcr20a" + - spi-max-frequency: maximal bus speed, should be set to a frequency + lower than 9000000 depends sync or async operation mode + - reg: the chipselect index + - interrupts: the interrupt generated by the device. Non high-level + can occur deadlocks while handling isr. + +Optional properties: + - rst_b-gpio: GPIO spec for the RST_B pin + +Example: + + mcr20a@0 { + compatible = "nxp,mcr20a"; + spi-max-frequency = <9000000>; + reg = <0>; + interrupts = <17 2>; + interrupt-parent = <&gpio>; + rst_b-gpio = <&gpio 27 1> + };