From patchwork Thu Jan 28 17:52:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 372619 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp1485285jam; Thu, 28 Jan 2021 09:55:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDajM1LwIXrLOx6pPsFeesxnNraGnQxWoqbq92563/9farwXir9W2qpxnPbLs8SGwnG+U9 X-Received: by 2002:aa7:de8f:: with SMTP id j15mr850190edv.268.1611856542074; Thu, 28 Jan 2021 09:55:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611856542; cv=none; d=google.com; s=arc-20160816; b=KJssKTQLUTsllaaBG4DqjOoZfr0leHEAlG+XFc2bIAemF9Y3CicqviFtTIdizrNjHJ 95NIFmpifTaFGCIadmyQQgsDB+tYmnvFaTSs2roOPhdGFiuLxrRQ34wt6mSFKhEq+kwe 3X4zxN6fDVps+48fvd/IBELLY9tC4LxWdx6ClOYdNW22x9JFC5ZpVTRFW8D/ng15oB77 NOidjsTHkqgUsw11pn+QCXbAqiO3RBZEwbTK22IyduX62yyje+BezKRVNlgFOfjOIOA6 SawwGwr/3qLFqKtp0gm8z50WDyu53qDZytELRFVSwxKBygDgg4S5u3tN5crQ5Fir12CZ UOOw== 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=9xirdUoG4Ll4lVtpP53/4UjQ/mMXV3s/T44FiAusFTg=; b=htpzgt623hyXGqlpmtGo1jfD3Ts+88ySBXNrWuT6kR3pmFSyvuqZmbYaMgosuLgc5+ gr1d15ZRIhBW1n/ml/Olz7x509E5VOgohbMPOMK+QWymM/C9czctQDkbBqJR3DO1AZFa rDD0Dhy1eoF0DbICYdvXUT6AVk2oBve3scXC7OKkcV6UD7c/84iKf7eM0KtAvmMeibDh V3z1wbSbTwRoUis9xrpc7ilSrwlQx4KCuo215K/JoOBgufKJdw4hsXsyFz4FpYDBhe78 cdNAXaMBFKdeyonQytXyEMHPgPHbGXyUhuRi7VETejODXWhMBUI66D2Q3ZxQRKxQT+gC UCzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HijFpgtD; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lc20si3071079ejc.253.2021.01.28.09.55.41; Thu, 28 Jan 2021 09:55:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HijFpgtD; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbhA1RzP (ORCPT + 15 others); Thu, 28 Jan 2021 12:55:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231196AbhA1RyN (ORCPT ); Thu, 28 Jan 2021 12:54:13 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80F6CC061356 for ; Thu, 28 Jan 2021 09:52:42 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id e18so7390151lja.12 for ; Thu, 28 Jan 2021 09:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9xirdUoG4Ll4lVtpP53/4UjQ/mMXV3s/T44FiAusFTg=; b=HijFpgtDKzCt+F1Vszpyo4UAot2v3Wo7ywl19BCZmF6Jn1zYV92BJIoNi9APoJ5SR8 pKszdSR2/6VZ0IiW5D6N3OZwYyPp1Fc2Wi8VRc8/H6RRFK2/T1xvtL6MbvBBnx81aUKo e17S/ZSA4UDGZqfwP3dghScK2HyDSDUvyd0N/u5zwME+lq4WSLzHMFwbeVGBBNDNfK9P vsC/g8N8kXlXWefcBQcJaNkt+kvGTg4CHdK6XqTpvf7MebRIJf0IAFnZ4gUF9YyijdP2 4cF+Fe6UKf2xbLLTeNf+codZpf0Z4cbZJnBQ+lozrk8Q6pnN/fNXiL8xTQWKbJWF5mvD wNjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9xirdUoG4Ll4lVtpP53/4UjQ/mMXV3s/T44FiAusFTg=; b=r15FtfHfyaGuOY+QgeSXIWy+gOESxNr4b3vyT+29nIsfT8Fv7SmHn7eCZcdYl8Zrfu IofM2jgh7PE2/YAqJpHM5KZzak4iRxDv2RyaN11UGh/S54+X6VjIRzEj7XGQcgBGg4tO R7WnHV2wZrfeDJ30U9KpFZJ/WS6H6T09fN69Snxq3gVRRHaVX3i81LsCQ/d3ntfdchu2 h/82SxuTq0Jk8LcAqbg5S3DYRNfdJ33tODdV7urDrRGPiSuDjTTJoUmsRFcjz0GM/HYB fqVKN3wK4QyEd2xWFSLkDa5rOMp1JfcJ6DIZWXh9bVcUY+LMb1bY/0q0r8ftjUzoRoPI 7ncw== X-Gm-Message-State: AOAM531HuvAnghn+wGbOurrtDQ/Mi1OtXyyM+QrvynHmXym6uMVjrse5 bcyRwjX0FRl4uERJaUaheOWnxg== X-Received: by 2002:a2e:85ca:: with SMTP id h10mr247977ljj.474.1611856361059; Thu, 28 Jan 2021 09:52:41 -0800 (PST) Received: from eriador.lan ([94.25.229.83]) by smtp.gmail.com with ESMTPSA id w10sm2216119ljj.37.2021.01.28.09.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 09:52:40 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Arnd Bergmann , Greg Kroah-Hartman , Stanimir Varbanov , Lorenzo Pieralisi , Bjorn Helgaas Cc: linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: qcom: Add Bluetooth support on RB5 Date: Thu, 28 Jan 2021 20:52:25 +0300 Message-Id: <20210128175225.3102958-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210128175225.3102958-1-dmitry.baryshkov@linaro.org> References: <20210128175225.3102958-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Manivannan Sadhasivam Add Bluetooth support on RB5 using the onboard QCA6391 WLAN+BT chipset. Signed-off-by: Manivannan Sadhasivam [DB: added qca6391 power domain, removed s2f regulator] Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.29.2 diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index b39a9729395f..c65c13994a86 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -19,6 +19,7 @@ / { compatible = "qcom,qrb5165-rb5", "qcom,sm8250"; aliases { + hsuart0 = &uart6; serial0 = &uart12; sdhc2 = &sdhc_2; }; @@ -689,6 +690,26 @@ &pm8150_rtc { status = "okay"; }; +&qup_uart6_default { + ctsrx { + pins = "gpio16", "gpio19"; + drive-strength = <2>; + bias-disable; + }; + + rts { + pins = "gpio17"; + drive-strength = <2>; + bias-disable; + }; + + tx { + pins = "gpio18"; + drive-strength = <2>; + bias-pull-up; + }; +}; + &qupv3_id_0 { status = "okay"; }; @@ -1194,6 +1215,14 @@ wlan-en { }; }; +&uart6 { + status = "okay"; + bluetooth { + compatible = "qcom,qca6390-bt"; + power-domains = <&qca6391>; + }; +}; + &uart12 { status = "okay"; };