From patchwork Tue Jan 22 18:07:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ben Whitten X-Patchwork-Id: 1029429 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RKCScfIN"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43kbxt0Trxz9s3q for ; Wed, 23 Jan 2019 05:08:18 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726803AbfAVSIQ (ORCPT ); Tue, 22 Jan 2019 13:08:16 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53720 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbfAVSHy (ORCPT ); Tue, 22 Jan 2019 13:07:54 -0500 Received: by mail-wm1-f67.google.com with SMTP id d15so15126496wmb.3; Tue, 22 Jan 2019 10:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VqnCZBPi9Tl8tc5DJHEj6tCVcy/LFCMWRjEYRKuhKQA=; b=RKCScfINRS5zdWC9dzaLGIlaYuflMHnkxts7r1Jd9IOZs9eIxjiQZBYIiyf+XqaPHV 6NcW1VOOdK7UdJAyrjUpC3zG36paPLccCwaowKeFUsBdkbSz4bivDEtWb1x8J5+gOtc6 9RX0s5hE+QYn59ykiamAEHtoIXKo+T8MX3m8PjHhTlyYlMwxTg6PDugMQC3QJi4dxGsQ yQtQsID8bS959qdwgdmQqV6LJOLSLd7ozKWvy865fLBc4atTSry1DkTcvJRJ3bUMPPxQ /yfu4XpZoJyWC/fNMbYoIfrstpzRjl1ZZT1tn4Q8SnfNEYHZeKWWlFkBh4SpTTMnYE0q f27w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=VqnCZBPi9Tl8tc5DJHEj6tCVcy/LFCMWRjEYRKuhKQA=; b=iZz7+XenY1DWS0T653BB1kQfSLos4S4VWd8RVxQR4nlWnKIlQzNrCkhGJA03b9Fdpq 9VJXS7MjqTXMfQgBZAfYykmzvKOQt9BntEohpxUEi8BC5xVEKHmUMWzvG3ped8B1gOAu sAPeMvEYyTaV0TXO8S9yYE2YV9sdkT2+Emwyy4GlUwPOcmxHk9M/5TlGAjwNd5srS5rD XWGzJQNp1KQVM0vV2qQ0tkWnMsT5srMEMzhiZb5tBOZX/yozRqMjCp95XXRjJRcRurvu NDFhAooOjWao0OBWABJ8graU+DKtwGaWxyGgi50liWu9hSfTIguWIoad/PFBPtvONA+O R3nA== X-Gm-Message-State: AJcUukdBi7X867t0N6uAGlA+TP3js+phKG5y1bsuLRChKwvsZqPLp8JY kRN7JpAnnaKX707+I6JD1xg= X-Google-Smtp-Source: ALg8bN4GEZ9VAjtno9nWFCTvGGLURMsDl9hyTK/K+mmWiFJtpiWWCsoRsaKDloWeDCC/q9whtAktEQ== X-Received: by 2002:a1c:5656:: with SMTP id k83mr4784099wmb.125.1548180472103; Tue, 22 Jan 2019 10:07:52 -0800 (PST) Received: from Sarah.lan (229.98.125.91.dyn.plus.net. [91.125.98.229]) by smtp.gmail.com with ESMTPSA id 129sm93804220wmd.18.2019.01.22.10.07.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jan 2019 10:07:51 -0800 (PST) From: Ben Whitten X-Google-Original-From: Ben Whitten To: afaerber@suse.de Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, linux-lpwan@lists.infradead.org, robh@kernel.org, Ben Whitten , "David S. Miller" , Rob Herring Subject: [PATCH v2 lora-next 2/4] dt-bindings: lora: sx125x: add basic documentation Date: Tue, 22 Jan 2019 18:07:27 +0000 Message-Id: <20190122180729.1834-3-ben.whitten@lairdtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190122180729.1834-1-ben.whitten@lairdtech.com> References: <20190122180729.1834-1-ben.whitten@lairdtech.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Ben Whitten The SX125x family are IQ radio transceivers from Semtech configured over SPI, they are typically connected to an SX130x series concentrator however may be connected to a host directly. Required properties include the radio number of the host or concentrator bus. Signed-off-by: Ben Whitten --- v1 -> v2: * Dropped spi-max-frequency binding * Wording changes to commit and descriptions * Added spi wrapper suggested by Rob H * Dual licence --- .../bindings/net/lora/semtech,sx125x.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/lora/semtech,sx125x.yaml diff --git a/Documentation/devicetree/bindings/net/lora/semtech,sx125x.yaml b/Documentation/devicetree/bindings/net/lora/semtech,sx125x.yaml new file mode 100644 index 000000000000..4a51a251d97f --- /dev/null +++ b/Documentation/devicetree/bindings/net/lora/semtech,sx125x.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/lora/semtech,sx125x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Semtech IQ modulator/de-modulator transeiver + +maintainers: + - Andreas Färber + - Ben Whitten + +description: | + The SX125x family are transceivers capable of supporting multiple constant + and non-constant envelope modulation schemes. + +properties: + compatible: + items: + - enum: + - semtech,sx1255 + - semtech,sx1257 + - semtech,sx1258 + + reg: + maxItems: 1 + description: The chip select on the SPI bus or radio number in concentrator + , with radio A = 0 and radio B = 1. + +required: + - compatible + - reg + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + radio0: lora@0 { + compatible = "semtech,sx1257"; + reg = <0>; + }; + };