From patchwork Mon Oct 24 15:04:48 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: 9392277 X-Patchwork-Delegate: stefan@osg.samsung.com 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 1347560762 for ; Mon, 24 Oct 2016 15:05:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 060A02914C for ; Mon, 24 Oct 2016 15:05:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE8532914F; Mon, 24 Oct 2016 15:05:24 +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 3C4472914D for ; Mon, 24 Oct 2016 15:05:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938730AbcJXPFV (ORCPT ); Mon, 24 Oct 2016 11:05:21 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34453 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933214AbcJXPFV (ORCPT ); Mon, 24 Oct 2016 11:05:21 -0400 Received: by mail-wm0-f67.google.com with SMTP id d199so10268717wmd.1 for ; Mon, 24 Oct 2016 08:05:20 -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=sbORBwN6nPlooxGvJtxEUHaEVdCIGn5Hm5If4qnU5ek=; b=ItcNEqdMl5F9ISYnOxFm42uh8Oi/hH/nOdL8gD4tABsf5b8MZCmJ9NakvVp7ko3Idw U6EnaxLV5icNadhltB2LYP5ziwr+iXUZyhikaOwrpdh/m0K63ucZz4K16kItZk1w3F0D k51RtZJZa321mxTfilHF2pE04frHA2uHrB1xBG8KCyyvX06gDJhr/ZBPwreZqPieD8lp 33onUHXpkDruQO9hvg9K8mFz9ATWfDbqbPUrNIlTZ9FOqqj9Th769VkiupGQaOZ2Bt0t vU9JkrEfWRkdSFjwrtrW3FyqTRbpjkddjMt9wRkWMlRTo3c7EOiI0uInievHeeuiUodA g2Ig== 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=sbORBwN6nPlooxGvJtxEUHaEVdCIGn5Hm5If4qnU5ek=; b=DjseuF1pBw1gajnctYHdYYslj4eTNhAA4JHWRMr704LbIMfnXRcGL+nRoXyTSof2KT SOuvGU2CczLHgt1aLErHjdrNoaWxZvjHwJw3c5CFZueDwM1KkbGLcNUklRc+5nMqq7J6 TSdSvM6mTuTc5kVXgkEnqCeU4DibvmB+LexbHY/g6UJmLzmBxLy1I5oz0q1Z9upc1fYA 2zddCUSIXjpTdo9kErhkLEaApZNLN4iHuMJ7Y+w2QIima3Mie9sJwPREJgRn2CdllTz8 BzoLXvHGa8g+KZPTXyvOPtBcGz0uuy0iZmEg+Gu+CPGhKDBmI+DO1CBgCd39HixDM9Wo 7GHQ== X-Gm-Message-State: AA6/9RmsdrHu4X2QpGOHsNOYEq2kSqjDoJDtbRZb1tUigW/5NIfX87PEWQq62uL9aCNnqg== X-Received: by 10.28.227.4 with SMTP id a4mr22248173wmh.84.1477321519339; Mon, 24 Oct 2016 08:05:19 -0700 (PDT) Received: from localhost.localdomain ([89.21.229.165]) by smtp.gmail.com with ESMTPSA id p13sm15247801wmd.20.2016.10.24.08.05.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 08:05:18 -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 2/3] ieee802154: Add device tree documentation for CA8210 Date: Mon, 24 Oct 2016 16:04:48 +0100 Message-Id: <20161024150449.11132-3-h.morris@cascoda.com> X-Mailer: git-send-email 2.9.3.windows.1 In-Reply-To: <20161024150449.11132-1-h.morris@cascoda.com> References: <20161024150449.11132-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 --- .../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: Invert 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 d415b38..725a996 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -26,6 +26,7 @@ brcm Broadcom Corporation buffalo Buffalo, Inc. calxeda Calxeda capella Capella Microsystems, Inc +cascoda Cascoda Ltd. cavium Cavium, Inc. cdns Cadence Design Systems Inc. chrp Common Hardware Reference Platform