Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp410867rdb; Fri, 17 Nov 2023 02:20:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFkoUpay6SfroOIHFeir/iWV03hordJkHCGaebfQxyWGgGYa2WAxsEzXZGxSlVwgNKGoWK X-Received: by 2002:a17:90b:4f48:b0:281:3a2:80ee with SMTP id pj8-20020a17090b4f4800b0028103a280eemr16435664pjb.14.1700216436110; Fri, 17 Nov 2023 02:20:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700216436; cv=none; d=google.com; s=arc-20160816; b=AkqbFlM52cr2KtVitxldoU5h3Wu+nAzUHD6eAWNnJ/9YNY1bdXOMLv7D7ltLjH5tzF abTeHBPtSrMM6yFC6cV6M8eslFjkVfqjh2McQTiRDnzOczLkRBLbDkOGYCyOWibK9ygn REWByDRtM/hPrmqDhmyO1JOlViqSfC9M/7GX/8uzNWma+9iqF4iOogsQoop34AVsKpnb t4xA0LyJxoOexZtJGhsVTL2rboFQd58jGXbt5xOmrCCmfRtR6eypLihlHDXgoHKU7yDD eWvlmZSqZ+oI6TmFMhTCk7D9GECpOF2ase5w9wZfkHiN9/4nys7kaoQasql9SHhzFhVE 081Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=n9xCiAAkP1ei2U4Nbz7Oc3igifK+7eScPyLV21qrCVg=; fh=2n2Y+RYHubIkscSnYAqg/mDqVSW4ayNK5xPy63dfWj4=; b=oz35sbYt0VcacsOyqmtXO/QTkhd1SRWF5O1E1gFz8K7Zoko10whMEFvzGDL785lL2u mudI/WOkGr6U4euzHXyRT/gvZqDO49yiN1eoOK+/0cL3CPOam3ZkZq+j8OtgwL8xM7Ht wLm6cMr+6gEgEqmojNRrsCa2zefxSZDISQBLgVbnFNGjjh5Ndm+WiaNDcZkqZzM3HTG2 oojBHNlIaIUsSeICmdddI6yYcmasBwuoNQxdMph3kuHXRF463m8QyTbwFiy18o13O7eB LSmqceE4ZVkJMGGglt9d1Qn8uKCg63hMKMGnOB+ffW8Mb2TRMT1nxZSpt6powCmPgVIx MDbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Td/EJHr5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id lb2-20020a17090b4a4200b00262e5a82047si1767498pjb.44.2023.11.17.02.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:20:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Td/EJHr5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EFE7681DDBCE; Fri, 17 Nov 2023 02:20:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345875AbjKQKUI (ORCPT + 99 others); Fri, 17 Nov 2023 05:20:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345960AbjKQKTq (ORCPT ); Fri, 17 Nov 2023 05:19:46 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E8BBD6C; Fri, 17 Nov 2023 02:19:40 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AH9aCpN023980; Fri, 17 Nov 2023 10:19:36 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-type; s=qcppdkim1; bh=n9xCiAAkP1ei2U4Nbz7Oc3igifK+7eScPyLV21qrCVg=; b=Td/EJHr5eBgYjQGPcNeVlqgk6HXZPdJTUefRu8gd1p729HEixnuRP0nL+aiQvRk1QWzh KWWKla0owJhT8QVAAdxPpvaeCLwznJigdfrm2mD5Y/oqkkspi79dqY5DlGRnINBXBCmX b87XPhPCchthbGmCimJv+UpP9qXG3q82zs6luXp9o4ncuEOq094/SY2K9HORAXodjsus 10G876fT90wiAN4XevKl9Yo+/6leUJlMoRIBMOYlOyJ6HCBrDX4PFjlDsB2byrlcOsvz XIRz8K5+uI7Jfksz+hRcoeCVCkmK1ym0nvGZ8r/e7K3lTGXazXajmWrJDBdGqQDmOXun Ag== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ue5per2sa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 10:19:35 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AHAJZfq012722 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 10:19:35 GMT Received: from tengfan2-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Fri, 17 Nov 2023 02:19:31 -0800 From: Tengfei Fan To: , , , , , , CC: , , , <-cc=kernel@quicinc.com>, Tengfei Fan Subject: [PATCH 16/16] arm64: dts: qcom: sm8550-aim300: add bluetooth support Date: Fri, 17 Nov 2023 18:18:17 +0800 Message-ID: <20231117101817.4401-17-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231117101817.4401-1-quic_tengfan@quicinc.com> References: <20231117101817.4401-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: H6SAYjSkbeDy6wxx0uV8DkuHA8ulTgbd X-Proofpoint-ORIG-GUID: H6SAYjSkbeDy6wxx0uV8DkuHA8ulTgbd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-17_08,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 mlxscore=0 suspectscore=0 mlxlogscore=824 clxscore=1015 lowpriorityscore=0 malwarescore=0 adultscore=0 priorityscore=1501 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170076 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 02:20:33 -0800 (PST) Enable the WCN7850 bluetooth over the UART14 link. Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/sm8550-aim300.dts | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts index f3c558dd40f1..8129d57c4af1 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts @@ -23,6 +23,7 @@ aliases { serial0 = &uart7; + serial1 = &uart14; }; wcd938x: audio-codec { @@ -764,6 +765,10 @@ status = "okay"; }; +&qupv3_id_1 { + status = "okay"; +}; + &remoteproc_adsp { firmware-name = "qcom/sm8550/adsp.mbn", "qcom/sm8550/adsp_dtb.mbn"; @@ -841,6 +846,21 @@ &tlmm { gpio-reserved-ranges = <32 8>; + bt_default: bt-default-state { + bt-en-pins { + pins = "gpio81"; + function = "gpio"; + drive-strength = <16>; + bias-disable; + }; + + sw-ctrl-pins { + pins = "gpio82"; + function = "gpio"; + bias-pull-down; + }; + }; + sde_dsi_active: sde-dsi-active-state { pins = "gpio133"; function = "gpio"; @@ -882,6 +902,29 @@ status = "okay"; }; +&uart14 { + status = "okay"; + + bluetooth { + compatible = "qcom,wcn7850-bt"; + + enable-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; + swctrl-gpios = <&tlmm 82 GPIO_ACTIVE_HIGH>; + + max-speed = <3200000>; + + pinctrl-0 = <&bt_default>; + pinctrl-names = "default"; + + vddio-supply = <&vreg_l15b_1p8>; + vddaon-supply = <&vreg_s4e_0p95>; + vdddig-supply = <&vreg_s4e_0p95>; + vddrfa0p8-supply = <&vreg_s4e_0p95>; + vddrfa1p2-supply = <&vreg_s4g_1p25>; + vddrfa1p9-supply = <&vreg_s6g_1p86>; + }; +}; + &ufs_mem_hc { reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; vcc-supply = <&vreg_l17b_2p5>; -- 2.17.1