Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2305460rwr; Fri, 21 Apr 2023 07:13:33 -0700 (PDT) X-Google-Smtp-Source: AKy350YGTkxttAqD9gILHwocZ+e9JWPG18m9jA8tRpTR3Sia+YKOozaP2c/ZD3Q75bO3WfB3SJ/J X-Received: by 2002:a17:90a:e2d1:b0:246:fdad:28ca with SMTP id fr17-20020a17090ae2d100b00246fdad28camr4794024pjb.38.1682086412801; Fri, 21 Apr 2023 07:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682086412; cv=none; d=google.com; s=arc-20160816; b=CIwgmlcuPIwSbMXpiK2XYXjXJtliA5rEcvgn1X8ZMj97okjGMegd92+OgQZcViFefO HoZSz8Qimjh862zstkubRhlOo98+l13X6BBxGoCWmvDqEfOsXnDxoLZqdHZQfGzdbCFX xHTMqwDXGuw4ZCzRDWj2ClhD7SjdLk7G2d7ZObONBuf11xOJVhVo7X44na+ZFYxDzTbv +49Uu+M+FLeVol1TewtikRYO1gbLgqpPKsnOs+XdyxWaNkp3ny+v1W5sicP0U7BW4JCT FLQa5WCEH5NrvNBycu2N+99o22/4OfidJB7om2L3yYHXmWXs56N6SpifGjsRv9WHpI2G 4V4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=5PDdlh4u/xfgKewafucHFDvnZU5PveoA4hr4MMyV4jk=; b=A8DEqGwJPmBv/7FN96mWLMS49F2xNgZnBcu+nSNrN85QutkDyHHP8iIyOY+vDPCYo0 2M2WqS4pzatMLVlHCpRU80Ndp/3DkWj84zI+T/xyECwaIFqINLi4EnnburFZ/HDng8/e 2ByWjeYMK1LbO1Fw7Y7Q8nN7VQQU8khz/bNP2ueCNw1LZAzc0SV1ZQUmFwL/SSldL1Ye xEDIaAIJkkIc4UhLtVnFERIiOXbgLA9gpGRd5Mt0Zu1p00u+VduzNSazY7LQkM1WHfGo Rg6bRjwmni7F/9ucx3klZhdu3WTZWOY11IPNFGYxw7Ea7ZVyxv5E+AYrHwWlshtxNZDe XL/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=VKgUTyES; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx17-20020a17090b4b1100b00233e301c780si7920927pjb.31.2023.04.21.07.13.06; Fri, 21 Apr 2023 07:13:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@fairphone.com header.s=fair header.b=VKgUTyES; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232598AbjDUOLy (ORCPT + 99 others); Fri, 21 Apr 2023 10:11:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232570AbjDUOLw (ORCPT ); Fri, 21 Apr 2023 10:11:52 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 104E67AA5 for ; Fri, 21 Apr 2023 07:11:47 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-506bdf29712so12634879a12.0 for ; Fri, 21 Apr 2023 07:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1682086305; x=1684678305; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5PDdlh4u/xfgKewafucHFDvnZU5PveoA4hr4MMyV4jk=; b=VKgUTyESHEzEfyEpyia7JO5LA5ceaG6BIWK/+IcQyWsjEzQK2Z00VNu7eATdp1i1p8 hE12aSAUGs1tSXIPEvUOsBQ/40WfNJhTw24BlcGWAAJsctNYN/GxAmXCejz40UJsRaqV WSOGYmhpdgyrHd9dBN78Cu336z+XJHJZlP/Cnw7yk3vozClDHUMDEgUT+dJ0TERGJqUK OtPDfFtQv/5jhi1LakBn2lfrB9OChaoSzsKrosp+qo/f8eu1dE9Ay8fp545y+5OttAP9 xT+MR41xOhjOSoz5O1k13DNUM0eNAY1LFYkxdY4I1Z10xq+/l1f6304MbBx4kuL5gcrR z/sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682086305; x=1684678305; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5PDdlh4u/xfgKewafucHFDvnZU5PveoA4hr4MMyV4jk=; b=RXSS6xjUzzsnJq+BmkwAiY5t9LgxJLBeAb9sG77y2YqP3tczK1yLCzccKguON2zDwv hx+Nbm2hJZFzfjy+Glrnz6bU75afigluJkYT+arjnPdevEXGDJ93wVmz5sjQHh/5jsgJ lKIrlCSvE+O/zqRtbXe/ZYEbcjGTZaEB0Fe8X1YcSUUvBtmw5NVMfn8UH1zbim/w2oTO JNnCztu68rryEwHOQt7O6gi4aszUZr+9u+pUdCPDTUQHWWB+AgiuDwuAEP7G7aII8wbV AiwDxui25VvqO8eT8DuI9Sz5yAT9Qy5m3WxCp2Cp+WiYPSagxHUNHkSLBoSvBbI06UAQ eq8g== X-Gm-Message-State: AAQBX9cV/k3VoChh1T9aE09EzdEIZCCFjf7KKCD16GhINCJJR5gSiKa0 Tk1Vz6HLD5BuZI7Uv3IZVGmqXA== X-Received: by 2002:a17:906:d14f:b0:94e:83d3:1b51 with SMTP id br15-20020a170906d14f00b0094e83d31b51mr2542062ejb.23.1682086305561; Fri, 21 Apr 2023 07:11:45 -0700 (PDT) Received: from [172.16.220.31] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id mb20-20020a170906eb1400b0094f432f2429sm2104299ejb.109.2023.04.21.07.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 07:11:44 -0700 (PDT) From: Luca Weiss Date: Fri, 21 Apr 2023 16:11:41 +0200 Subject: [PATCH RFC 4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Add Bluetooth MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230421-fp4-bluetooth-v1-4-0430e3a7e0a2@fairphone.com> References: <20230421-fp4-bluetooth-v1-0-0430e3a7e0a2@fairphone.com> In-Reply-To: <20230421-fp4-bluetooth-v1-0-0430e3a7e0a2@fairphone.com> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Balakrishna Godavarthi , Rocky Liao , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-bluetooth@vger.kernel.org The device has a WCN3988 chip for WiFi and Bluetooth. Configure the Bluetooth node and enable the UART it is connected to. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index 7ae6aba5d2ec..35e2889c5439 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -31,6 +31,7 @@ / { aliases { serial0 = &uart9; + serial1 = &uart1; }; chosen { @@ -563,6 +564,22 @@ &tlmm { gpio-reserved-ranges = <13 4>, <56 2>; }; +&uart1 { + status = "okay"; + + bluetooth { + compatible = "qcom,wcn3988-bt"; + + vddio-supply = <&vreg_l11a>; + vddxo-supply = <&vreg_l7a>; + vddrf-supply = <&vreg_l2e>; + vddch0-supply = <&vreg_l10e>; + swctrl-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>; + + max-speed = <3200000>; + }; +}; + &uart9 { status = "okay"; }; -- 2.40.0