From patchwork Tue Feb 20 11:55:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xue Liu X-Patchwork-Id: 10229829 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 7E16C602B1 for ; Tue, 20 Feb 2018 11:56:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EEA52860B for ; Tue, 20 Feb 2018 11:56:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6384D28610; Tue, 20 Feb 2018 11:56:12 +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 04AAA28602 for ; Tue, 20 Feb 2018 11:56:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751580AbeBTL4K (ORCPT ); Tue, 20 Feb 2018 06:56:10 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:42446 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751571AbeBTL4I (ORCPT ); Tue, 20 Feb 2018 06:56:08 -0500 Received: by mail-wr0-f195.google.com with SMTP id k9so13566056wre.9 for ; Tue, 20 Feb 2018 03:56:08 -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=ceMfVhd2g3+j9BhrMShz4HGj6R8kGfJJeqOVJtA3CYW/hkQwQ2WJv0Wdu0I4+UQlgc XZ/woH77gJXBlZpkk4kgcwmIcl4GP6xRtjnGg+AEiSqtB8oIked2+Fq8dn+Dos2LJft8 bnze+qaXAZgq5ISfEZJvQvihlF2n1G7UY00LV7m52L0aHnCQCswde7y2XjlVgVgek0Ev 2s2HxqSIWn+ZpDGufb19+lEV8Pif3YQLARKiVG2rBz7hxXugIOMs8ZaWMGuSTiFp/PuF xH+Sk2kYAPLbQ0Gnm6j8KLYQmpWO1dMs12HUqbp3lS8C7KOZvfdEiLSs7U40PDaBDAjt Y0YA== 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=kajKj94TZeDtwHn0E3e9SKAxyDs3T1szKOD/yO7hV8gZkDogZbds/RsvVFLc37EOFv pbE3nKD/twcaJpuZWDDYgp0LBoy9+Yqv8rwdDMfM7ouhDZb7xydN2DuQCsl2x/w3n+xj PIi8/m8PeKkKGGcVU4TLGm/aqpTkOEUUiDVCeT/OzQ6DZBRG7NZGWt2TtaRTngQq9Fqx YT1VjEXzIvT8nxX7GSiZhvJzi4pSlL0wJgYLHd3T1k/gP5BakE+55k2P5qDmogW1/Tug 5Zy8sgWMFSK2x516e2HvLg4PZVm1Qd9R95Pi1Z9qKfmqM2hqA9KM0GagD9wEQ5YNwC6g xkSw== X-Gm-Message-State: APf1xPB2TdE6kRg0/k0MwaBQ3fNfy8VEhGkmuWyQ6hB+0nSUsTYMR0BX drfHvChP7PMOVDoNIaCNBE6BuHUf X-Google-Smtp-Source: AH8x2270e8AAdjVATBuQ9L03aidnCHDp/RzOue3i+yRWeh1tPYIUwr7qPn72xsm/MFRacq8PJrYXng== X-Received: by 10.80.165.34 with SMTP id y31mr3752120edb.261.1519127767096; Tue, 20 Feb 2018 03:56:07 -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 f16sm20222897edj.68.2018.02.20.03.56.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Feb 2018 03:56:06 -0800 (PST) From: Xue Liu To: linux-wpan@vger.kernel.org Subject: [PATCHv3 1/3] ieee802154: Add device tree documentation for MCR20A Date: Tue, 20 Feb 2018 12:55:56 +0100 Message-Id: <1519127758-2084-2-git-send-email-liuxuenetmail@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519127758-2084-1-git-send-email-liuxuenetmail@gmail.com> References: <1519127758-2084-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> + };