From patchwork Tue Feb 7 10:36:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Youghandhar Chintala X-Patchwork-Id: 53826 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2776920wrn; Tue, 7 Feb 2023 02:50:30 -0800 (PST) X-Google-Smtp-Source: AK7set+oTAjnvQH4UHz52MtunHr4DCmAweoN5huDmOHhXuZrydtLaHE2LyRmcJoZimeCOZj9zqne X-Received: by 2002:a17:906:c0c5:b0:88d:619:15fc with SMTP id bn5-20020a170906c0c500b0088d061915fcmr2965584ejb.21.1675767029944; Tue, 07 Feb 2023 02:50:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675767029; cv=none; d=google.com; s=arc-20160816; b=kcuOCDSMOqKT1valZIkA4RvywBCimytqaSpB67gANN1DM0bb5IK4oL7vRwR9URGalV Uuk4goQBnGFA4sL3ZiH40atvYj5JrVXIWRfxPgGdnx0j2iG87moCmTRn/+Mm3N8VSfSV H1CtCNaTuskXebkAcwxaHExaqkmFR/7iOEq//V0TmrOLVOu/gamOm8wdzTeWzw/ZJfXy GvMOSojZjAAltuAP3q9WylMYR7mMFt2bx/gG2+jsGhVeY90LNsDVNIg2W5wriWDISuue bgd6tKfG/ca7TqaUW/2p88N4aIqiy2x55umG2P+/IGFn6KFTtUOCB2d3BxIhTMvP6w1c 4nhw== 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 :dkim-signature; bh=U4UaDN2+Hiptbl3iTTBUP0LvxGlwg397EEWroovGeRU=; b=f5LvfHOcuHuCAkeCPhQPx3sbP6vgiwYAfqPYBnHSAOyKC+2jWqSZ1H4q+LzzcITFxc hw9ZkpCGZDHbxuuXuNtrkWAiAUJ0JYtgqBJRp4kJV4vKIJtG15UvWjs4fENUf2z/w0vL pHezCopdSYZedGqpeltYldxd3DWB8Nx9TmWX9pgmycgD64qidMGsjiX6liW9jQKIU0D5 U/lv9VoScTD0STlh4oAXrm1NJQex5EeDDh14dL8OP8uBznU2UqzgqP+T2XsvISDHBznY FH/XwJyMvRBNHUphtTGMxMp0MP+rBle270AhRtF8YNeyqYjVkVX3Q7QEEkwvrLIKut0Y vUgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="JcE6xV4/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id el8-20020a056402360800b00487ceac6d34si16701679edb.137.2023.02.07.02.50.07; Tue, 07 Feb 2023 02:50:29 -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; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="JcE6xV4/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231428AbjBGKh4 (ORCPT + 99 others); Tue, 7 Feb 2023 05:37:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231627AbjBGKht (ORCPT ); Tue, 7 Feb 2023 05:37:49 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134A838B57; Tue, 7 Feb 2023 02:37:22 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 317AFBlj022766; Tue, 7 Feb 2023 10:37:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=U4UaDN2+Hiptbl3iTTBUP0LvxGlwg397EEWroovGeRU=; b=JcE6xV4/ssPJYFP1xFAIkYUAZVuRvO/KpzC/mpKA7ytlUvLsGHiyHKMBX3y/36ndI+Ls P4vLgIEIQY7gF7Ixs37LkKzOiS+KmUdlrMpLdIBF18SdMTlpDWC2JeT9lCTivZ+OMOg5 EkSrkFu+sY3nLRjB4FqLj5IGCRePmS6T5MS0SHwSHnfzXP3c3lF5UEqpGR4kj7NVtmXE sWfu2U9VmgiDh/5wyd0L2RB7i49TPl862KO2NLc+E2fxpbv4U2XJT/4w9Um6jFKlehFO YzTgVKflXAtV7mujqhF01CkyQSacdmMBnr/i5VXPk9J289TCtO7G4CKiE5+rfb1XG5TL mg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nkdun911b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Feb 2023 10:37:11 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 317AbArR027995 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 Feb 2023 10:37:10 GMT Received: from youghand-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 7 Feb 2023 02:37:05 -0800 From: Youghandhar Chintala To: , , , , , , CC: , , , , , Youghandhar Chintala Subject: [PATCH v3 1/2] dt: bindings: net: ath11k: add dt entry for XO calibration support Date: Tue, 7 Feb 2023 16:06:06 +0530 Message-ID: <20230207103607.12213-2-quic_youghand@quicinc.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20230207103607.12213-1-quic_youghand@quicinc.com> References: <20230207103607.12213-1-quic_youghand@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: wF-Mu7HO4yFpTW8A6VZIn2ptkIJ_NAs1 X-Proofpoint-ORIG-GUID: wF-Mu7HO4yFpTW8A6VZIn2ptkIJ_NAs1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-07_02,2023-02-06_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 clxscore=1015 malwarescore=0 spamscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302070095 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757168083517415584?= X-GMAIL-MSGID: =?utf-8?q?1757169089420583720?= Add dt binding to get XO calibration data support for Wi-Fi RF clock. Retrieve the XO trim offset via system firmware (e.g., device tree), especially in the case where the device doesn't have a useful EEPROM on which to store the calibrated XO offset. Calibrated XO offset is sent to firmware, which compensate the RF clock drift by programing the XO trim register. Signed-off-by: Youghandhar Chintala --- .../devicetree/bindings/net/wireless/qcom,ath11k.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml index f7cf135aa37f..4745251e70d4 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml @@ -41,6 +41,10 @@ properties: * reg * reg-names + xo-cal-data: + description: + XO frequency offset to program the XO trim register + qcom,ath11k-calibration-variant: $ref: /schemas/types.yaml#/definitions/string description: