Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1526048pxv; Fri, 2 Jul 2021 06:04:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNVHZPkG6pQa07KNTZK2TIrancqkeLAStNXV81/oBTSFWO/ydOxjGXjGPOZhgq4ioB/+ev X-Received: by 2002:a05:6e02:1d16:: with SMTP id i22mr1336570ila.300.1625231062304; Fri, 02 Jul 2021 06:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625231062; cv=none; d=google.com; s=arc-20160816; b=MlnS+m/fBnQdM9OD2J11wL7fSy/mEDzpAOQch55g0hlW1eL+2VTzFn+w/7QIqrzOlp 3CAJMLE+kETgtTkd75DoFtCdvHDFK4eRoD4GeM1PBuGKe0riLPZOCOGO53se0r6/fN5f pa1D2V4q3RN9XlYyVxuHmAPDbfTRr9C2I12AqhKi8NuG+3GAfoSYRNbs5zIg7+GwHIyH iJKah93feoxDBP4/ZTsu8slWPbPDQJSAS4fdvHzt27FXDZSFY0k95jQZ+svpw83fUCG6 3VAi+k4HuD7EsSLJiKI4xeZfWvfaUVfqsECkeV4R6gb6hZVx72PCkYp8+qlFST9OUmzt bZsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=WOe2O4bE4sfRtFzTX87SDwIrx630EFGHG8aNs1wMrXk=; b=lP0lcaau1fZbZ/H0Tkv49W6FrB/H2hrgUeEckQH0IBy0KrlJ5qE+R1mPOu/83zxiVw Sj83yiMkgMqEZY+zxRSDfoHYv8E6AbGXuZkeoe4Jpvlo8DfpQ8ryPTuftz2JW/eM0j1l g/lRWbY58OAZEiHMGMCw7f1nx0Ddd/ZfN6ZASYs319NBSAtiA/HbfWPoYUOhB80a+Ka0 5EnpQjC/YP+4vHA1XjJSRWJgfL/r6TD9XPMJqeh3aSbRegejYjZXPALrjBm6Vpbry69F sMcd8s5ZOLh87hg0Hnkyx4DnRTS2ikfCqwAMNkXs5gFConWSYCM2OYa975/vpDLi4F0V uEMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v22si3085914jap.98.2021.07.02.06.03.51; Fri, 02 Jul 2021 06:04:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231838AbhGBLRX (ORCPT + 99 others); Fri, 2 Jul 2021 07:17:23 -0400 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:32110 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231130AbhGBLRW (ORCPT ); Fri, 2 Jul 2021 07:17:22 -0400 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 162BBUmV029723; Fri, 2 Jul 2021 07:14:49 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 39h859wfk7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Jul 2021 07:14:49 -0400 Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 162BEmBl005019 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 2 Jul 2021 07:14:48 -0400 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.5; Fri, 2 Jul 2021 07:14:47 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.5; Fri, 2 Jul 2021 07:14:47 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.858.5 via Frontend Transport; Fri, 2 Jul 2021 07:14:47 -0400 Received: from amiclaus-VirtualBox.ad.analog.com (AMICLAUS-L02.ad.analog.com [10.48.65.128]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 162BEhEK008901; Fri, 2 Jul 2021 07:14:45 -0400 From: Antoniu Miclaus To: , , , , CC: Antoniu Miclaus Subject: [PATCH v4 2/2] dt-bindings: iio: frequency: add adrf6780 doc Date: Fri, 2 Jul 2021 14:12:39 +0300 Message-ID: <20210702111239.174189-2-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210702111239.174189-1-antoniu.miclaus@analog.com> References: <20210702111239.174189-1-antoniu.miclaus@analog.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: LlprigCi3-qXD_QRxFjBuHK1rHmqKohi X-Proofpoint-ORIG-GUID: LlprigCi3-qXD_QRxFjBuHK1rHmqKohi X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-02_03:2021-07-02,2021-07-02 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 phishscore=0 impostorscore=0 mlxscore=0 adultscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 clxscore=1015 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107020063 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings for the ADRF6780 Upconverter. Signed-off-by: Antoniu Miclaus --- changes in v4: - fix dt_binding_check detected issues - update license to GPL-2.0-only OR BSD-2-Clause - add dependencies schema - other minor fixes based on the review received .../bindings/iio/frequency/adi,adrf6780.yaml | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/frequency/adi,adrf6780.yaml diff --git a/Documentation/devicetree/bindings/iio/frequency/adi,adrf6780.yaml b/Documentation/devicetree/bindings/iio/frequency/adi,adrf6780.yaml new file mode 100644 index 000000000000..61a7a45837ae --- /dev/null +++ b/Documentation/devicetree/bindings/iio/frequency/adi,adrf6780.yaml @@ -0,0 +1,119 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/frequency/adi,adrf6780.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ADRF6780 Microwave Upconverter + +maintainers: + - Antoniu Miclaus + +description: | + Wideband, microwave upconverter optimized for point to point microwave + radio designs operating in the 5.9 GHz to 23.6 GHz frequency range. + + https://www.analog.com/en/products/adrf6780.html + +properties: + compatible: + enum: + - adi,adrf6780 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 1000000 + + clocks: + description: + Definition of the external clock. + minItems: 1 + + clock-names: + items: + - const: lo_in + + clock-output-names: + maxItems: 1 + + adi,vga-buff-en: + description: + VGA Buffer Enable. + type: boolean + + adi,lo-buff-en: + description: + LO Buffer Enable. + type: boolean + + adi,if-mode-en: + description: + IF Mode Enable. + type: boolean + + adi,iq-mode-en: + description: + IQ Mode Enable. + type: boolean + + adi,lo-x2-en: + description: + LO x2 Enable. + type: boolean + + adi,lo-ppf-en: + description: + LO x1 Enable. + type: boolean + + adi,lo-en: + description: + LO Enable. + type: boolean + + adi,uc-bias-en: + description: + UC Bias Enable. + type: boolean + + adi,lo-sideband: + description: + Switch to the Other LO Sideband. + type: boolean + + adi,vdet-out-en: + description: + VDET Output Select Enable. + type: boolean + + '#clock-cells': + const: 0 + +dependencies: + adi,lo-x2-en: [ "adi,lo-en" ] + adi,lo-ppf-en: [ "adi,lo-en" ] + +required: + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + adrf6780@0 { + compatible = "adi,adrf6780"; + reg = <0>; + spi-max-frequency = <1000000>; + clocks = <&adrf6780_lo>; + clock-names = "lo_in"; + }; + }; +... -- 2.32.0