Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5555888pxb; Mon, 14 Feb 2022 01:48:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXPY9EhtPQAKKDIb/lFTkMyQ1rTF77ZC3WGnJgiAXdK1YDsgact9NjGA1ivSULt4YdeAS6 X-Received: by 2002:a63:5d0c:: with SMTP id r12mr11180362pgb.183.1644832101737; Mon, 14 Feb 2022 01:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644832101; cv=none; d=google.com; s=arc-20160816; b=CUR5/c+LQARtZVHK09GY3zeQY8DD2XfQZDQfMXUfydvHCIM6rC9K0CA2CPeGHqmIcp H8OJRmRBBg/vciikVcJMIA6GDRzCMRCi/uGLwY+flBelB6bcVDj9pHcMqOD3zX6PwK0j ZnyWPQchi1PqjeEakFOz2GlAsUznPzGHGovmyqwRIRul0rOmMpSCfv3HaW1pZUiDKEN6 DpXO7fzsRd8uPhD/IU5yrbx247WWBKwoLdpFlF1PkPT22CQSRokByif5loddTG2eMnvo 8Ybvt4zUhlO3blYM5/eS8sWosx7vt0bODsRJEDVvrQxsPSadxXJju+/+GFnHNMVXkGKW 8+Ig== 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=yYPUOQYxOuMyVWdFNIChBgJNir6ywR48EqFdVvggKAs=; b=MBEZYyybLZbEQZ73I+XmYlP31YRFu33ASGF/jWM757HH5mVcpBcglv5Dp45MPfUHlO /aZSsgTb81cscyB6Vmluv+IQ8XUvbIA3eMc8tx6kr/LNnf9mUahS09QSzllOzwi4dbRB fXF1XAQ5tknN5Vp9NY25HltogmE5nctFARnMlKQ8R38xc6GyR/TUQK/MLReHdwdwj/gr 88m0K2rsCqfuyO8rD6JXWtrbmhNdZL33gKnsCYavoU2YRwXCb04FwYmh1LSlo0uV1Tg2 PI55Twexd8Nqi3ykGE6c0HrZTWBfn4Av01irR/+Hy92NdObkynJPC5nGc0/3+D2R5o3f u68Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g124si10151818pgc.441.2022.02.14.01.48.07; Mon, 14 Feb 2022 01:48:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S241388AbiBNHfE (ORCPT + 99 others); Mon, 14 Feb 2022 02:35:04 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:53222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241361AbiBNHe7 (ORCPT ); Mon, 14 Feb 2022 02:34:59 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4501F593A2; Sun, 13 Feb 2022 23:34:52 -0800 (PST) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21DKdSK3018382; Mon, 14 Feb 2022 02:34:44 -0500 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3e67maxbph-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Feb 2022 02:34:44 -0500 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 21E7Ygm2052378 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 14 Feb 2022 02:34:42 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Mon, 14 Feb 2022 02:34:41 -0500 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.986.14 via Frontend Transport; Mon, 14 Feb 2022 02:34:41 -0500 Received: from amiclaus-VirtualBox.ad.analog.com (AMICLAUS-L02.ad.analog.com [10.48.65.131]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 21E7YVw3025742; Mon, 14 Feb 2022 02:34:36 -0500 From: Antoniu Miclaus To: , , , , CC: Antoniu Miclaus , Rob Herring Subject: [PATCH v7 2/4] dt-bindings:iio:frequency: add admv1014 binding Date: Mon, 14 Feb 2022 09:34:16 +0200 Message-ID: <20220214073418.4528-2-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220214073418.4528-1-antoniu.miclaus@analog.com> References: <20220214073418.4528-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: jlxT-u9mWOCcTyj60NWylmQPD2pfqVSb X-Proofpoint-ORIG-GUID: jlxT-u9mWOCcTyj60NWylmQPD2pfqVSb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-14_01,2022-02-11_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 spamscore=0 phishscore=0 clxscore=1011 lowpriorityscore=0 bulkscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202140046 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings for the ADMV1014 Upconverter. Signed-off-by: Antoniu Miclaus Reviewed-by: Rob Herring --- changes in v7: - add Reviewed-by tag .../bindings/iio/frequency/adi,admv1014.yaml | 137 ++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/frequency/adi,admv1014.yaml diff --git a/Documentation/devicetree/bindings/iio/frequency/adi,admv1014.yaml b/Documentation/devicetree/bindings/iio/frequency/adi,admv1014.yaml new file mode 100644 index 000000000000..fe352c01dd94 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/frequency/adi,admv1014.yaml @@ -0,0 +1,137 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/frequency/adi,admv1014.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ADMV1014 Microwave Downconverter + +maintainers: + - Antoniu Miclaus + +description: | + Wideband, microwave downconverter optimized for point to point microwave + radio designs operating in the 24 GHz to 44 GHz frequency range. + + https://www.analog.com/en/products/admv1014.html + +properties: + compatible: + enum: + - adi,admv1014 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 1000000 + + clocks: + minItems: 1 + + clock-names: + items: + - const: lo_in + description: + External clock that provides the Local Oscilator input. + + vcm-supply: + description: + Common-mode voltage regulator. + + vcc-if-bb-supply: + description: + BB and IF supply voltage regulator. + + vcc-vga-supply: + description: + RF Amplifier supply voltage regulator. + + vcc-vva-supply: + description: + VVA Control Circuit supply voltage regulator. + + vcc-lna-3p3-supply: + description: + Low Noise Amplifier 3.3V supply voltage regulator. + + vcc-lna-1p5-supply: + description: + Low Noise Amplifier 1.5V supply voltage regulator. + + vcc-bg-supply: + description: + Band Gap Circuit supply voltage regulator. + + vcc-quad-supply: + description: + Quadruple supply voltage regulator. + + vcc-mixer-supply: + description: + Mixer supply voltage regulator. + + adi,input-mode: + description: + Select the input mode. + iq - in-phase quadrature (I/Q) input + if - complex intermediate frequency (IF) input + enum: [iq, if] + + adi,detector-enable: + description: + Digital Rx Detector Enable. The Square Law Detector output is + available at output pin VDET. + type: boolean + + adi,p1db-compensation-enable: + description: + Turn on bits to optimize P1dB. + type: boolean + + adi,quad-se-mode: + description: + Switch the LO path from differential to single-ended operation. + se-neg - Single-Ended Mode, Negative Side Disabled. + se-pos - Single-Ended Mode, Positive Side Disabled. + diff - Differential Mode. + enum: [se-neg, se-pos, diff] + + '#clock-cells': + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - vcm-supply + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + admv1014@0{ + compatible = "adi,admv1014"; + reg = <0>; + spi-max-frequency = <1000000>; + clocks = <&admv1014_lo>; + clock-names = "lo_in"; + vcm-supply = <&vcm>; + vcc-if-bb-supply = <&vcc_if_bb>; + vcc-vga-supply = <&vcc_vga>; + vcc-vva-supply = <&vcc_vva>; + vcc-lna-3p3-supply = <&vcc_lna_3p3>; + vcc-lna-1p5-supply = <&vcc_lna_1p5>; + vcc-bg-supply = <&vcc_bg>; + vcc-quad-supply = <&vcc_quad>; + vcc-mixer-supply = <&vcc_mixer>; + adi,quad-se-mode = "diff"; + adi,detector-enable; + adi,p1db-compensation-enable; + }; + }; +... -- 2.35.1