From patchwork Mon Feb 19 10:51:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xue Liu X-Patchwork-Id: 10227459 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 DA01B60392 for ; Mon, 19 Feb 2018 10:51:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBE6E28713 for ; Mon, 19 Feb 2018 10:51:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0D09289D7; Mon, 19 Feb 2018 10:51:26 +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 73FE7289D8 for ; Mon, 19 Feb 2018 10:51:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752562AbeBSKvZ (ORCPT ); Mon, 19 Feb 2018 05:51:25 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36025 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752392AbeBSKvY (ORCPT ); Mon, 19 Feb 2018 05:51:24 -0500 Received: by mail-wm0-f65.google.com with SMTP id f3so14207340wmc.1 for ; Mon, 19 Feb 2018 02: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=PjxnibNn/RXoeWI5LncGjhMZDP7LaiA/Cz8sG0HOTivFc5pzV0XM7yPsjTIT2nrbyJ ZCeISB0yLIXBhrl+e9qEhXjofups0Bmrhb669M4QehTxHBXFfsxFTJ3KChaByoQ6LDAt K6W3PU5JcnS4kWy7lyh7aR2mocPLLAR1pCV/s24TOYLqa1Iq/BByUdeep97g9E5PMMHJ vVToQMVwE23g9/15Hil25qVsgS0GTsXfKnEw3/0RyufsNV+wdRDi5KGsmDCJiJa6Anix VvQ8CBWBJvGPYckvNmjPrOzAAo/+tgavFfvgpKoyvtemGbapMhR9Jw6LTVaVweEkA6vA HcRQ== 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=qxwzA1Z0HM9faBWoh+kWioyuMvmMs0ngiJj4Dau782E1KuIzVSfVy+oLXec0uKtyv/ PojZXsKNtjM/aspebB9KxxKid3cUbzHwgHqwQfc6d1+im27t+hT2Yrc3hXa6TnrLygOw Hjx6pCvHwErD98rcuiuzSCbzDdMzx6DOoDan9lPuO2Uu459JSUzlCiC82y1LY56LZxU2 dJnXYBNm16h1tXF7jkOO4afI/rUGbFliTNoE058MP9iEcO2E2bYG923jTqqS9GsOyU+A HOJ0SG/EWAYqD7+0xOYvqEq7DYTUoL9WO9L4+yeOWucXGyuowvEDPAVXT3C4JmDtcnaz uUFQ== X-Gm-Message-State: APf1xPAE8RfSZKuxOB7BkehZ8h8ZIMq93mRQJxlLEhOE66c/ruYmUjEj ikgGpyz/oVAbtzJyr7rBiUerpQ== X-Google-Smtp-Source: AH8x224P90sw/SkII+FFLQxhfc+TGuy2/F73VpwQKHTYviI33g2DTeMcSLx5opljjsJbZN44Yf+KMg== X-Received: by 10.80.155.15 with SMTP id o15mr3956405edi.304.1519037482723; Mon, 19 Feb 2018 02:51:22 -0800 (PST) Received: from xue-ThinkPad-T470s.kelle.grp (p578b164d.dip0.t-ipconnect.de. [87.139.22.77]) by smtp.gmail.com with ESMTPSA id f19sm7210097edd.84.2018.02.19.02.51.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Feb 2018 02:51:21 -0800 (PST) From: Xue Liu To: linux-wpan@vger.kernel.org Subject: [PATCHv2 1/3] ieee802154: Add device tree documentation for MCR20A Date: Mon, 19 Feb 2018 11:51:09 +0100 Message-Id: <1519037471-17668-2-git-send-email-liuxuenetmail@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519037471-17668-1-git-send-email-liuxuenetmail@gmail.com> References: <1519037471-17668-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> + };