From patchwork Tue Jan 10 15:41:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: harrymorris12@gmail.com X-Patchwork-Id: 9508047 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 6FD97606E1 for ; Tue, 10 Jan 2017 15:42:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62E242679B for ; Tue, 10 Jan 2017 15:42:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 579692858A; Tue, 10 Jan 2017 15:42:54 +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 CBDBC2679B for ; Tue, 10 Jan 2017 15:42:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764542AbdAJPmx (ORCPT ); Tue, 10 Jan 2017 10:42:53 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35612 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764528AbdAJPmw (ORCPT ); Tue, 10 Jan 2017 10:42:52 -0500 Received: by mail-wm0-f68.google.com with SMTP id l2so30710577wml.2 for ; Tue, 10 Jan 2017 07:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=R03J1jWAEaVr2GADmLOUNhLwHucfKVJ0hHUIAHtk/10=; b=sO+hyZzABpaTsgQY/2gBMXX325lJXNgUb8sWDzfoJkX6pKae6vpNn2k1rrz2qq8Bs2 aaA+Ptqsxe1qfvSf7PhAZEewOZnpjdRWru0XQ7TbOSpUrhRyh9BOvnR9DxPErRt/LxZa SimC7PDBOIMcKJNmhStU2f5APsB9WTKHA4Wmepc/vH/5z2drB9zSVz0+OElJhhMGzoI1 sQDfJ52mYidbJOU4LFpJDzwvLytemzc6TMIfVyi1ADNoeo0BXkYXJZISQ8y3yF2VTdGj /jkEoKTRQFUhmmqeMIZDM1FMc9/+47DCC0dlmzmxO+iaDe4tyFNeXOIifR5G7ZniCblf OiWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R03J1jWAEaVr2GADmLOUNhLwHucfKVJ0hHUIAHtk/10=; b=XwJDzbohOiJ2mxzLKHuqgR8mXlOuWZWk7QZEvWvTtg7APeGc6QWA9TnxrwnGyQkIdy A2qUsnyYOkAp6pjV3TV76qRZvvNt84NYXG3DDr4zoJwFt0NiCVbeFnmVja0vDZ4zCnEA 5mpKZpS0Hf12G2HEqrHcYX2U4Ybw7BNXpFYVk4io9C55o288FJglD8F+7GOHjYM8OKex BamYfxIQx2/YsXmMuBQa2FPhS79NY6ryZ88PUOyQced5I1X5/AKUWIuHhh1LS1R4myNs ClFdiYB3MNIuwy+GroL1GVHxENdPZvt70NhxG05DRW6yYJp2vQEIc3ZXIH4hQwzGboJO AAiA== X-Gm-Message-State: AIkVDXJ4iNjliRfNBR7fwznJxH4LyA+vr2dS6EVMeThtXS2xpJhdR1SDPZgIFqwHax/nIA== X-Received: by 10.223.142.111 with SMTP id n102mr2400866wrb.11.1484062971020; Tue, 10 Jan 2017 07:42:51 -0800 (PST) Received: from localhost.localdomain ([89.21.229.165]) by smtp.gmail.com with ESMTPSA id jq4sm3849300wjc.24.2017.01.10.07.42.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Jan 2017 07:42:50 -0800 (PST) From: Harry Morris X-Google-Original-From: Harry Morris To: linux-wpan@vger.kernel.org Cc: aar@pengutronix.de, stefan@osg.samsung.com, marcel@holtmann.org, Harry Morris Subject: [PATCH v7 2/3] ieee802154: Add device tree documentation for CA8210 Date: Tue, 10 Jan 2017 15:41:21 +0000 Message-Id: <20170110154122.6724-3-h.morris@cascoda.com> X-Mailer: git-send-email 2.9.3.windows.1 In-Reply-To: <20170110154122.6724-1-h.morris@cascoda.com> References: <20170110154122.6724-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 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..a1046e6 --- /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.