From patchwork Tue Mar 28 12:08:59 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: 9648949 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 E3490602C8 for ; Tue, 28 Mar 2017 12:11:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDDCE27F4B for ; Tue, 28 Mar 2017 12:11:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2E5828364; Tue, 28 Mar 2017 12:11:34 +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 DB51C28338 for ; Tue, 28 Mar 2017 12:11:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751945AbdC1MLX (ORCPT ); Tue, 28 Mar 2017 08:11:23 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34866 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562AbdC1MLW (ORCPT ); Tue, 28 Mar 2017 08:11:22 -0400 Received: by mail-wr0-f193.google.com with SMTP id p52so19169921wrc.2 for ; Tue, 28 Mar 2017 05:11:01 -0700 (PDT) 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=cC4e+tpMR7w4bJ+9vWnj6OMp7f4SIj5z5WztarJzdiWPTckFsNF/p5df7hb5bPlh+K 0hSzqDHZKoo+zyBCHrHG0WZM1FOAxL/SA3ZboeN9hfjNjlB/SMvd+gcs3j7jj8cTmHdT QJOO8S/9V4VOwirhRV0sbVPnRutqsP+B2SJSvbz7Kc3dClfdCKemmDG34UoYqXHjahDK ZbjA/xoLFUK/fzVfscYateCJpds2Rgi7JRhqxnw8ynOvTXSGDmwfP9Muv+rvrIlYIb7S lN9syT19FBnrDiFI5SY1GX3qtKDXUIkQgZUKQfa3LrWfA0A+TWeXatnRXm2UlQg9FGdc +Nvg== 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=iUul8qI1M4IsBkA24LqqXOMaNYuzA3gpAsBvZ9I+zdhUEXJdBhuYNwcvE/w0GA1rcs rA+GPrK3GFIBz3+fJ98xbAH80fVADHptBz4RbA+29DqgQ1dx4t/1dTTZdoNiVuzfsAjk Uu6VhFl67tePJF/s83l6yOHrazPoiAwXzBUTKmy9tQdKNjv0Tm/ngHKDdutVsNu0DVVM QGuMc0UqGWSAfFnF0C/0ngSmt4zVbPm3dmuk7kjX08T4L9u72q6HzSqqdDDmLrUnCwVm m0gEFOFvyauuRryB5VUVt5gwRZMAbNrGjY9W8GWaozNL6KdKSDi3bcMf6BSUV2WDaet7 S3BQ== X-Gm-Message-State: AFeK/H2Pc1HkrNlriGTn5H60eUc5aBgwtzRrpEWloMYRURvWMyWc6FzbSjc4JTZ6pVNl9Q== X-Received: by 10.223.164.201 with SMTP id h9mr23690065wrb.175.1490703037105; Tue, 28 Mar 2017 05:10:37 -0700 (PDT) Received: from localhost.localdomain ([89.21.229.165]) by smtp.gmail.com with ESMTPSA id v14sm4620825wra.43.2017.03.28.05.10.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Mar 2017 05:10:36 -0700 (PDT) From: Harry Morris X-Google-Original-From: Harry Morris To: linux-wpan@vger.kernel.org Cc: aar@pengutronix.de, marcel@holtmann.org, stefan@osg.samsung.com, Harry Morris Subject: [PATCH v9 2/3] ieee802154: Add device tree documentation for CA8210 Date: Tue, 28 Mar 2017 13:08:59 +0100 Message-Id: <20170328120900.5328-3-h.morris@cascoda.com> X-Mailer: git-send-email 2.9.3.windows.1 In-Reply-To: <20170328120900.5328-1-h.morris@cascoda.com> References: <20170328120900.5328-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.