From patchwork Thu Oct 17 22:18:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 11197257 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EEF5514ED for ; Thu, 17 Oct 2019 22:19:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C9FF921D7A for ; Thu, 17 Oct 2019 22:19:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="axQUnDMy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438267AbfJQWTC (ORCPT ); Thu, 17 Oct 2019 18:19:02 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36913 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388926AbfJQWTC (ORCPT ); Thu, 17 Oct 2019 18:19:02 -0400 Received: by mail-pg1-f195.google.com with SMTP id p1so2155804pgi.4; Thu, 17 Oct 2019 15:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=s9fEJB25cDAPZY3DtNOH/wi7012sGuVONlLEMVLYyf8=; b=axQUnDMyeNB3/EBhJoamiIXm331hdjS2hnK5N9pblD1OxnwedQ3V6CMj6cVPR6Fcfu MNJDZvPyfpOzBdqO+RCfBnMfW3hnJZZ+YJoDxb93dWQfgX0pRAjFxospgckErGSQ9Y9A ucp4yAg7SrCfR4vpit0Vl0AEraOTK05B4ViqW2kUHhMQ5jcViq8OUGQuT9zDeWvIxDKr aeF82II1p/2Ov8ZNLlwKPESxfsxfM/KH85VYXV95VOi42ekEWQEY6WCLCiTJYC0k2aHC Vuh63hMlaGeDQyNpYvKIQ7Ig56TDcTzCy9dTu4v4M4BkRNygN1aAqMDFtj82y6q+areT 343Q== 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; bh=s9fEJB25cDAPZY3DtNOH/wi7012sGuVONlLEMVLYyf8=; b=CYRDDrPt5L26GvFzEYtJGCPSHf87OdvCH2O9YZivW133v+XIFV50BUmB45cG5bRj3A PD9NTYArVrTQz267H41XQyer4lbeN0qa35gk3/7Gv7QDKdv29Yg63MFiq7qbJ+uELDer qFZTuHlAuNoZVYIQMjzQ6/0iD2hJwduIzYnb8dZ8JRK28TVQz2NxlX5SMKJg3djmxWHn Ik70ky17EB9GSBPi4S3vFGZkX1TGEQpgzRD1Vlt+hm0LgpTsxqmq7UD2v4DbtailEOMn RmaXRVl8Mx9K8RlMtoprdnPwEkfCDoBOpLAMdVH41/OSzi8hJt6AW6IIXnNxzmPUX0h8 LW3w== X-Gm-Message-State: APjAAAUKpnS5Okbg5b32Gn1KJRX9wxDZ5v1pCeRP4q19nAd73EVE1sp9 kRsl3JCkC9R4nZcjHpV6Wdz4iRi5 X-Google-Smtp-Source: APXvYqw00sZLsNXkGPnJwatQdx2ULrHHTTRCvR4qpWroQu8ngO/9MBDtK0DT14bo6sYn2qSNTjaG9A== X-Received: by 2002:a62:1889:: with SMTP id 131mr2738020pfy.21.1571350741437; Thu, 17 Oct 2019 15:19:01 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id a8sm3441912pff.5.2019.10.17.15.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 15:19:01 -0700 (PDT) From: Jeffrey Hugo To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [RFC PATCH 1/4] arm64: dts: qcom: msm8998: Add blsp1 BAM Date: Thu, 17 Oct 2019 15:18:40 -0700 Message-Id: <20191017221843.8130-2-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> References: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The BAM in the blsp1 block can be used as a DMA engine to offload work when managing any of the peripherals in the blsp. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index e42177952690..a3465f6bae84 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1201,6 +1201,19 @@ status = "disabled"; }; + blsp1_dma: dma@c144000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x0c144000 0x25000>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <18>; + qcom,num-ees = <4>; + }; + blsp1_i2c1: i2c@c175000 { compatible = "qcom,i2c-qup-v2.2.1"; reg = <0x0c175000 0x600>; From patchwork Thu Oct 17 22:18:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 11197259 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 690B214ED for ; Thu, 17 Oct 2019 22:19:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45B8D222BD for ; Thu, 17 Oct 2019 22:19:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OOdEH5qD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2395550AbfJQWTG (ORCPT ); Thu, 17 Oct 2019 18:19:06 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41304 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388926AbfJQWTG (ORCPT ); Thu, 17 Oct 2019 18:19:06 -0400 Received: by mail-pf1-f193.google.com with SMTP id q7so2510391pfh.8; Thu, 17 Oct 2019 15:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WcbMapS+KrTS1M+NWMTFZVWwBbbwGn9pH0cgzENlrX0=; b=OOdEH5qDLq8CO8vzYQJp0MxR+ODWFBIGrhmUavVV0CXMyHgedtVmVdXwQXZLVJEILI 7Z77pjVDhW3k5JzgNG6dNnE2+rsqN4qwub2/5SiBh3UF+Eepjvcd8a52yOUMfBCAHJDW eUUjd3kwj8jDyLdTQvlvn8vad55FWS0hMeicWRrFYYrJjs6gPKDsYfr0gPXBBxFM/w2O +NFXhzLOZKbZxV89OQFHDvkDCDH/jh5JmwkZtnlWUXtJJz/gDiYhO/p7mLPfucyFYTLA ZpVdLigqbL7Rb14aLL22Mdza92aMe6A1vBml7VWMOJv7v74mQtipcqPgY/aMRLWUqHKD Plxg== 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; bh=WcbMapS+KrTS1M+NWMTFZVWwBbbwGn9pH0cgzENlrX0=; b=jDFK/jThDTQtcIxX1+MutTxQpiYvyyFlKuNYAXSzfW6ZMQF+ahhj4/yb618/wLWKWA OsENkwBvIKVBQnqzrZ4uiBh9P0hx1RJENE218/qC32tUxdpUWsk1lnuDmZSKqOHRQQvu PPkR3GpuC8Cky6GWvLzsSDsFVBjkcYibrMfbkeySjMOPRiOj3ZPMLPG+W6d7r7wPuaLz oEhwYLprv5jId9/XNwdht+JMzH9pAdez91yuyA/T62M271MQtZeCREiwH3z5QKYZB9Qf KDppkhzystJ/YGE++qti2iduIJqghVOzxaxmueo2x5oOUNu8ov4ozdHgzS5AY+26X11X Gx0Q== X-Gm-Message-State: APjAAAUgnasx6FTOQqZ5rw/Sw2Lw01LAGiB8Ocms+3Duc1q2A75W6iBj nh85VsFIimgC7atkxWRcRyNWr96B X-Google-Smtp-Source: APXvYqwidTys3QOgscLTaEym1p5xGetQ3abS83Gte+Fn0KDOJL1CWbawWPGARzIfKbSRdWklkOrKgg== X-Received: by 2002:aa7:8a97:: with SMTP id a23mr2713310pfc.76.1571350743966; Thu, 17 Oct 2019 15:19:03 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id a8sm3441912pff.5.2019.10.17.15.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 15:19:03 -0700 (PDT) From: Jeffrey Hugo To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [RFC PATCH 2/4] arm64: dts: qcom: msm8998: Add blsp1_uart3 Date: Thu, 17 Oct 2019 15:18:41 -0700 Message-Id: <20191017221843.8130-3-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> References: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The blsp1_uart3 peripheral appears to be commonly used for interfacing with other SoCs on a platform, such as a wcn3990 to provide bluetooth. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998-pins.dtsi | 13 +++++++++++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 14 ++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8998-pins.dtsi index 6db70acd38ee..e32d3ab395ea 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-pins.dtsi @@ -75,4 +75,17 @@ drive-strength = <2>; /* 2 mA */ }; }; + + blsp1_uart3_on: blsp1_uart3_on { + mux { + pins = "gpio45", "gpio46", "gpio47", "gpio48"; + function = "blsp_uart3_a"; + }; + + config { + pins = "gpio45", "gpio46", "gpio47", "gpio48"; + drive-strength = <2>; + bias-disable; + }; + }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index a3465f6bae84..b69a7f38dd36 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1214,6 +1214,20 @@ qcom,num-ees = <4>; }; + blsp1_uart3: serial@c171000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x0c171000 0x1000>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + dmas = <&blsp1_dma 4>, <&blsp1_dma 5>; + dma-names = "tx", "rx"; + pinctrl-names = "default"; + pinctrl-0 = <&blsp1_uart3_on>; + status = "disabled"; + }; + blsp1_i2c1: i2c@c175000 { compatible = "qcom,i2c-qup-v2.2.1"; reg = <0x0c175000 0x600>; From patchwork Thu Oct 17 22:18:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 11197263 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C3DE117E1 for ; Thu, 17 Oct 2019 22:19:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A245421D7A for ; Thu, 17 Oct 2019 22:19:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="usvvbWWH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441621AbfJQWTK (ORCPT ); Thu, 17 Oct 2019 18:19:10 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:41308 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441609AbfJQWTG (ORCPT ); Thu, 17 Oct 2019 18:19:06 -0400 Received: by mail-pf1-f195.google.com with SMTP id q7so2510443pfh.8; Thu, 17 Oct 2019 15:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zbauNE2iaQVEwoF3BkrGqfKA5iulnwxZKgy69CxGyN4=; b=usvvbWWHfqJKPpmjKeL268ijpVfPqb4djf9I8jZLkwcn2aufrP/gW3JIPPkaq58TC5 jVAaMbit7tvh6Oqms2IjBpYn9D8vOlFyfDkkLxO5sbmClnfqZGmzf8nCRXPj4DfAuyua dEH+xvx3t0kU6a/Fn8acbjubxsf6tKLAofKno8wUMLnpVgsac58rrkjYG+rPmrC+KhKQ JNFIA0O6oa5ZosVHJNT/fYwli7IX+c+ck1mymrV89f5ZzIIx3GkS48aMJ9hB6SceuwKz Xj+Tj/VTTRxfblII4Koj7RlfpWR2CWzVOaH6vtp48eD0Yr5bH1/W0N+fzfEcNwwY0f/p hW2w== 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; bh=zbauNE2iaQVEwoF3BkrGqfKA5iulnwxZKgy69CxGyN4=; b=qJWiaDB1sQOshtwVV+fzwTUb77Gu6zQ7jpxRVShSog6BYrIcGyv/ryiqPfoeRgwhnt h2fmdaSKXIHyOKxKMDmRZfEVgSdEfsBRm0esqdsTb/tbTZvwDSHwIAAZHpUEbJL/d9Tf RW0c5RdM+y6fiaZaFlXHAX0k7zaMmO49E7LKebK3L0zXHX7zL5/SpNzKzn7tRbZ8GGZu FizMbUHh+r1wJpF6odrxWpVCA19iMrRvUMgk7Qv1Dno/BIiE3zWe5wucOmCbefLpeeZ6 2a/5bZXd/e1ANzblbgFK6cZH4QNx9n8TsnTRFhlcMfLLN/0ZoF5saY1EAPeCX8WCpspL Ov3Q== X-Gm-Message-State: APjAAAX/aLx8ctEWpGZvL5OIX/yyrv3JBwA3VZqqKeKAkYYYnj1U9eCn Md6b1JIaTQlvnSJ37ehM2ME= X-Google-Smtp-Source: APXvYqziZb7vVxrhWqH/uLbkjPsehUojov84XtVGYv/S1eeZiZLxe/18tItyDoNKx6YpSgu15dSxUA== X-Received: by 2002:a62:68c1:: with SMTP id d184mr2764418pfc.195.1571350746217; Thu, 17 Oct 2019 15:19:06 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id a8sm3441912pff.5.2019.10.17.15.19.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 15:19:05 -0700 (PDT) From: Jeffrey Hugo To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [RFC PATCH 3/4] arm64: dts: qcom: msm8998-mtp: Enable bluetooth Date: Thu, 17 Oct 2019 15:18:42 -0700 Message-Id: <20191017221843.8130-4-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> References: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Bluetooth is provided by a wcn3990, which is connected to the main SoC via blsp1_uart3. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi index 4f687570b6fd..1a1836ed1052 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi @@ -23,6 +23,20 @@ }; }; +&blsp1_uart3 { + status = "okay"; + + bluetooth { + compatible = "qcom,wcn3990-bt"; + + vddio-supply = <&vreg_s4a_1p8>; + vddxo-supply = <&vreg_l7a_1p8>; + vddrf-supply = <&vreg_l17a_1p3>; + vddch0-supply = <&vreg_l25a_3p3>; + max-speed = <3200000>; + }; +}; + &blsp2_uart1 { status = "okay"; }; From patchwork Thu Oct 17 22:18:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 11197261 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 979BF14ED for ; Thu, 17 Oct 2019 22:19:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 76668222BD for ; Thu, 17 Oct 2019 22:19:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gASX5gWQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441609AbfJQWTN (ORCPT ); Thu, 17 Oct 2019 18:19:13 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40024 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388926AbfJQWTK (ORCPT ); Thu, 17 Oct 2019 18:19:10 -0400 Received: by mail-pf1-f196.google.com with SMTP id x127so2511544pfb.7; Thu, 17 Oct 2019 15:19:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8JZTh5GOv/vPwyj1Z/f9GyQeqhW8aV/ynLQgCI/BrPs=; b=gASX5gWQMRaeKcinMDBoM1N8EXgDHtZviu7s6BZ2htkSiNOQfvkU7rGiZBP8dIUXKQ GUpRJxrCPZ+bNYjj8gM3eubGHRO1YsmxhA+7Yw8sLrCmBV6VpPsIOqt2/Wz6Abjya8R2 mDTBwhJH47QGfFvM6YU6goBxEd1ZWh+eOKZOxn2ozQBJ773igmeFk+dDeiJ1d7JVpXu1 4rwwqwemuoXSBmTFjHR/8dXRv57xZIjWzDy6AibvNeQ36kyNNvu+zOP11j/FTbYOqzmP Y0KXukY1wxELBi2Enpkd7KLoKZWKPbBlwcx5H/gt0jZC+AcNO+qtAwVrDaj2i7flFnIA J33A== 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; bh=8JZTh5GOv/vPwyj1Z/f9GyQeqhW8aV/ynLQgCI/BrPs=; b=dLeQtLWfCa9ONr7yyp9YMNcKGtj8xTcbjmRwuDA5pYwO9FVi4Fr0zy/TJ3AzENzVTl lW9nApOkPRpzI6/R/fwcrvEAq/BnDD6JX53X0bEjmO7/s+mhdc0orn6iFs/Na/u2Ch/6 nCv7ye8nrAkBRr0VLvOQQKJ838MUz7nFYGgjHRf6irkChS6LCepL+F/c9iC0hAIAT7zA 6aUthhk+7ul6yRuc2mni7zOTrwZ2wA80KBNhYaxlToqlhX7GxtQOojzZf/oCLDOU5MVc U+hK4RYisNP7ZJ81mk47hnjVdvhjla8B2MrfW2BwyBnZTqJlaEQ/ef1mZDMZMQh6O3uL nIDg== X-Gm-Message-State: APjAAAXxjXoVvAxU3uPs8IYl7AdXyqTN8K7GYqdAoTCjKnw1zpPB4xEZ 0Hq+48YUpU3FRdi8TQuCNOU= X-Google-Smtp-Source: APXvYqyT5pYhGkPtGA3klMmcwFm1aXTk0WQ7BdE9vjcp/7RSs3rStsEZKxZL4Q3f/XLgP0EvJnrlcg== X-Received: by 2002:a62:4d04:: with SMTP id a4mr2719467pfb.60.1571350747912; Thu, 17 Oct 2019 15:19:07 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id a8sm3441912pff.5.2019.10.17.15.19.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 15:19:07 -0700 (PDT) From: Jeffrey Hugo To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [RFC PATCH 4/4] arm64: dts: qcom: msm8998-clamshell: Enable bluetooth Date: Thu, 17 Oct 2019 15:18:43 -0700 Message-Id: <20191017221843.8130-5-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> References: <20191017221843.8130-1-jeffrey.l.hugo@gmail.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Bluetooth is provided by a wcn3990, which is connected to the main SoC via blsp1_uart3. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi index 8c35c1f54e32..ab24d415acc0 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi @@ -60,6 +60,20 @@ }; }; +&blsp1_uart3 { + status = "okay"; + + bluetooth { + compatible = "qcom,wcn3990-bt"; + + vddio-supply = <&vreg_s4a_1p8>; + vddxo-supply = <&vreg_l7a_1p8>; + vddrf-supply = <&vreg_l17a_1p3>; + vddch0-supply = <&vreg_l25a_3p3>; + max-speed = <3200000>; + }; +}; + &dsi0 { status = "okay"; @@ -209,6 +223,7 @@ vreg_l7a_1p8: l7 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-allow-set-load; }; vreg_l8a_1p2: l8 { regulator-min-microvolt = <1200000>; @@ -249,6 +264,7 @@ vreg_l17a_1p3: l17 { regulator-min-microvolt = <1304000>; regulator-max-microvolt = <1304000>; + regulator-allow-set-load; }; vreg_l18a_2p7: l18 { regulator-min-microvolt = <2704000>; @@ -284,6 +300,7 @@ vreg_l25a_3p3: l25 { regulator-min-microvolt = <3104000>; regulator-max-microvolt = <3312000>; + regulator-allow-set-load; }; vreg_l26a_1p2: l26 { regulator-min-microvolt = <1200000>;