Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A4B4C636CC for ; Tue, 7 Feb 2023 10:33:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231449AbjBGKdn (ORCPT ); Tue, 7 Feb 2023 05:33:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbjBGKdh (ORCPT ); Tue, 7 Feb 2023 05:33:37 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12B3626CED; Tue, 7 Feb 2023 02:33:22 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 317ARs4k009617; Tue, 7 Feb 2023 10:33:01 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=XYWGTMx8nkY55fjz80XdD7trT0iRpLykxSOelem5Nkw=; b=RUDsD7aKAKl+MrfFk2uA5GtvlalJ0O3gt/deEJ927dJPL5QaA8p3vAWCzzLbcSyQ3cDI p2yG9mOdBxZGcRkVgTwnvTS3d9j3MSaED7D0Ybmklo2Dt2MNX8NyjnN+QRGMby8wS5ZR aqyqs/axAdLY+PS9qlfLYS3aDQJvNKeXrTcMtmeDLo3axF9Yo7lmmayaRRpDN8tSiNJb sUnGmG8MvCTcsiAozNPLVaL8atvkMim3dYr4fzqX9EmtKvoOn7gKoE5yLkLu5LDIOVsi DA5fTAXqtYGsNB67mpTlBW9cSLD2tD16wXlnTd1xY0ld7xm0AV/OOlyWDYwa8i13aOOT bw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nkmwqg0bb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Feb 2023 10:33:01 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 317AX0Ur024120 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 Feb 2023 10:33:00 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:32:56 -0800 From: Youghandhar Chintala To: , , , , , , CC: , , , , , Youghandhar Chintala Subject: [PATCH v3 0/2] dt: bindings: net: ath11k: add dt entry for XO calibration support Date: Tue, 7 Feb 2023 16:02:05 +0530 Message-ID: <20230207103207.759-2-quic_youghand@quicinc.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20230207103207.759-1-quic_youghand@quicinc.com> References: <20230207103207.759-1-quic_youghand@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: 0lH507nvLbsFx7aD0I1rvX35yoKJQTvl X-Proofpoint-GUID: 0lH507nvLbsFx7aD0I1rvX35yoKJQTvl 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 clxscore=1015 priorityscore=1501 bulkscore=0 mlxscore=0 spamscore=0 adultscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 phishscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302070094 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Changes from v2: - Added proper commit text Changes from v1: - Sending the series to right list Youghandhar Chintala (2): dt: bindings: net: ath11k: add dt entry for XO calibration support wifi: ath11k: PMIC XO cal data support .../bindings/net/wireless/qcom,ath11k.yaml | 4 ++++ drivers/net/wireless/ath/ath11k/ahb.c | 8 +++++++ drivers/net/wireless/ath/ath11k/core.h | 3 +++ drivers/net/wireless/ath/ath11k/qmi.c | 24 +++++++++++++++++++ drivers/net/wireless/ath/ath11k/qmi.h | 4 +++- 5 files changed, 42 insertions(+), 1 deletion(-) -- 2.38.0