From patchwork Wed Nov 23 10:24: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: 9442909 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 6AB3D600BA for ; Wed, 23 Nov 2016 10:41:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7498A206AF for ; Wed, 23 Nov 2016 10:41:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67468208E3; Wed, 23 Nov 2016 10:41:13 +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 A3AB4206AF for ; Wed, 23 Nov 2016 10:41:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935120AbcKWKlM (ORCPT ); Wed, 23 Nov 2016 05:41:12 -0500 Received: from mail-wj0-f196.google.com ([209.85.210.196]:36760 "EHLO mail-wj0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934274AbcKWKkj (ORCPT ); Wed, 23 Nov 2016 05:40:39 -0500 Received: by mail-wj0-f196.google.com with SMTP id jb2so719216wjb.3 for ; Wed, 23 Nov 2016 02:39:45 -0800 (PST) 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=YZohcK8hxq4f39rfGRatzTMf7XvnXDcFWzQGpVX40kM=; b=CyXLwh41CVbasY1YHOdqlIQTAfiEl0XZgEncDFV8N7zSMxytw09AV0RWFtk3e2PbpV wsxzH091tqDO4Xdy1a1TSVEkyZ0m3M2ccwra0Neht4D6BbsHPQuFjLZalpbcsf/CyJ9B faSet0mSsxv5gzDH7pW+VHP67urTM5IeVl9rU+6IdFj9Nao+yaLy2475GPw/lxK7iEYa BEpmBHefSiNjGPHUTW0OO2vL6AUQsFe+oW3UtqFX5BiqP5Cms/KunUya5xUxrWg6Vxvq BUxVtLlEdgkBx7cSqxuSkDXqviUmmHt87UDdEN2yRyxo7x+nNJBz74tkSExv4/uerBc+ sHgg== 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=YZohcK8hxq4f39rfGRatzTMf7XvnXDcFWzQGpVX40kM=; b=OTq2ETdcOHf9uFLlGbPPGzGxTY/euyCPBDhS7hjjCaczKKKl8u6mFEI02ZyCmeFT3D OjRvEVLQCRN0pbuqBLOEUBPsnWdmYnsyYHqKcXJP/EY8UaCEKC9rnauV/EcX9nXoDKHj qZhj3SE/QE6CmVro5lU+pt7wySQulnNgXjI7h6CtGSZrtnwjnf8w1Rf3SfiKiwr7wtKS m0700wAjiR10vyZ06DxYM5yx5B9vgHDYGEgNgXABI2Rd+8oD+J6Krj/koSdSdMx1WLnb aRglno2GBA7TkfvLvQZ7/Tvmkue1e356M6z5g0Ptwo4cQdzf4B8ZB4KLC3CaN63Hzy6e c1yg== X-Gm-Message-State: AKaTC03lrNsTOrmB+Qyr8N6VjioY57iMyA0OzvAbymt+KvVBejteq1zp++FdNn2oreNAqQ== X-Received: by 10.194.14.105 with SMTP id o9mr2562132wjc.66.1479896760657; Wed, 23 Nov 2016 02:26:00 -0800 (PST) Received: from localhost.localdomain ([89.21.229.165]) by smtp.gmail.com with ESMTPSA id kp5sm35576118wjb.8.2016.11.23.02.26.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Nov 2016 02:26:00 -0800 (PST) From: harrymorris12@gmail.com X-Google-Original-From: h.morris@cascoda.com To: linux-wpan@vger.kernel.org Cc: aar@pengutronix.de, stefan@osg.samsung.com, Harry Morris Subject: [PATCH v4 2/3] ieee802154: Add device tree documentation for CA8210 Date: Wed, 23 Nov 2016 10:24:59 +0000 Message-Id: <20161123102500.5980-3-h.morris@cascoda.com> X-Mailer: git-send-email 2.9.3.windows.1 In-Reply-To: <20161123102500.5980-1-h.morris@cascoda.com> References: <20161123102500.5980-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 -- 2.9.3.windows.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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.