From patchwork Thu Nov 3 15:50:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: harrymorris12@gmail.com X-Patchwork-Id: 9411111 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 000516022E for ; Thu, 3 Nov 2016 15:54:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E439E2ACFB for ; Thu, 3 Nov 2016 15:54:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7AD82ACFD; Thu, 3 Nov 2016 15:54:09 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 615D62ACFB for ; Thu, 3 Nov 2016 15:54:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbcKCPyF (ORCPT ); Thu, 3 Nov 2016 11:54:05 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35862 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758120AbcKCPyD (ORCPT ); Thu, 3 Nov 2016 11:54:03 -0400 Received: by mail-wm0-f66.google.com with SMTP id c17so8666516wmc.3 for ; Thu, 03 Nov 2016 08:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7JFlZuZJS0WtQ931shzj2QkmjlcawdmhVxtKvDpRdcA=; b=PGhIevWryEdI5/lK/IrCryeWjMlj0i6GItUZ3kqePLMddOU53PBoVVARXHgFW25S5x KlDGCClbpA5xxQePiTO3TbEvFOP+TJWPYHD0jOa2549U1j/8SdGiWkfgRkCgtkdGXH3N IGJAqnATMG0GwYV7NXdi5ZMj9zL8o/oo8gRpFaerHQr0E0ehxyYdPzr8xnIY7ljErbJx 8O4Xbf4Z5Dy99bcol0tThRt8GFkQ9Jy2NJkHByFuHbdgDky8VZS4r6bdPUnO+S5l/n04 L5S7Ca2NXPn3LfY6Wr0sI4qE9YtVvtmGAQQaxLLFCE38VT7b/nSjQ2rLqhHEsWm2gItr loWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7JFlZuZJS0WtQ931shzj2QkmjlcawdmhVxtKvDpRdcA=; b=PRflU8LW40cjRGsch3Ij21Lxpj0K1ZTE26QY/r+cNg/diekNi4l/ryHlT4w0/m0xxx A9/vMJ/GMQ6zP4VK/npQkq5c2Wu6QKClqbd3EfKCPbwqF05ZRvYFJKAof+IKz+A3SSdM cekUJWQY1kmDdv0FYRsS6C4QlUsSPMcus4JmMn3pszizmmxk22BZ4JBiuB1GkSK7QRMr ak9bIXb9o41FHQEOSQotgcQMKLTtiEnbekWv+/0TlAkgsqyu8yGqKf11Qy6UbgXythz7 RHjnhSwG5ozJZaGXblGAUyi40hMQMF51DTFGCNCXKV/xY7LzrQfo87q5Ha/ylyTzbtDi bPtA== X-Gm-Message-State: ABUngvf87rG61gdW4AYUDbRq15I7LzXnClnKePM68XB+ZVRHXKus9HcFCwWDfpy5msF+Ug== X-Received: by 10.194.7.233 with SMTP id m9mr7655095wja.108.1478188441717; Thu, 03 Nov 2016 08:54:01 -0700 (PDT) Received: from localhost.localdomain ([89.21.229.165]) by smtp.gmail.com with ESMTPSA id ma5sm9252787wjb.47.2016.11.03.08.54.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Nov 2016 08:54:01 -0700 (PDT) From: harrymorris12@gmail.com X-Google-Original-From: h.morris@cascoda.com To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, stefan@osg.samsung.com, Harry Morris Subject: [PATCH v3 2/3] ieee802154: Add device tree documentation for CA8210 Date: Thu, 3 Nov 2016 15:50:59 +0000 Message-Id: <20161103155100.8400-3-h.morris@cascoda.com> X-Mailer: git-send-email 2.9.3.windows.1 In-Reply-To: <20161103155100.8400-1-h.morris@cascoda.com> References: <20161103155100.8400-1-h.morris@cascoda.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 From: Harry Morris Signed-off-by: Harry Morris Acked-by: Stefan Schmidt --- .../devicetree/bindings/net/ieee802154/ca8210.txt | 28 ++++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/ca8210.txt diff --git a/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt b/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt new file mode 100644 index 0000000..0297ce8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt @@ -0,0 +1,28 @@ +* CA8210 IEEE 802.15.4 * + +Required properties: + - compatible: Should be "cascoda,ca8210" + - reg: Controlling chip select + - spi-max-frequency: Maximum clock speed, should be *less than* + 4000000 + - spi-cpol: Requires inverted clock polarity + - reset-gpio: GPIO attached to reset + - irq-gpio: GPIO attached to IRQ +Optional properties: + - extclock-enable: Include for the ca8210 to route its 16MHz clock + to an output + - extclock-freq: Frequency in Hz of the external clock + - extclock-gpio: GPIO of the ca8210 to output the clock on + +Example: + ca8210@0 { + compatible = "cascoda,ca8210"; + reg = <0>; + spi-max-frequency = <3000000>; + spi-cpol; + reset-gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>; + irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; + extclock-enable; + extclock-freq = 16000000; + extclock-gpio = 2; + }; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 24c6f65..6c5609f 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -47,6 +47,7 @@ brcm Broadcom Corporation buffalo Buffalo, Inc. calxeda Calxeda capella Capella Microsystems, Inc +cascoda Cascoda, Ltd. cavium Cavium, Inc. cdns Cadence Design Systems Inc. ceva Ceva, Inc.