From patchwork Sun Nov 5 20:46:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryant Mairs X-Patchwork-Id: 161779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2299973vqu; Sun, 5 Nov 2023 12:50:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2uGLcgUJrJM+tSarS8IvqJknRmOfYlawekLLWxAgv0vMjFaB0IKxFOuEW+Tk9d0Q6z2Tx X-Received: by 2002:a05:6a20:72a2:b0:181:7d6d:c0f1 with SMTP id o34-20020a056a2072a200b001817d6dc0f1mr14967139pzk.37.1699217448084; Sun, 05 Nov 2023 12:50:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699217448; cv=none; d=google.com; s=arc-20160816; b=KT1O7q94M6Xj2DUDGBdkS5Q0ir46AXO/bHKanwiEnkOey+9AkrfTZvUqZEI6Gg/9bI yFHRi20trRgDxeWD/UXqMJ4Cbo5l+QvwgAdXGj9JFvoIDwbTNylNqrkSoqO7QmXD2jQX WU0qgZVJJoXla4szMnPQB4MVYHOdpNSbVfIz2c8Wq+ZaffzAeHZBSB2vnkBne4rnt/Yv a5fB6m0sMq0HVwiSKyh9gMklrlYsky94gQF1Ny2j+e+0jWYcEovwVixx+Hve6awtlxOW hi0GuUZgyrWjGVpKzLH4d7guQhy8I57hji78C71ioJYVl71jrlpt5h/mbOVB3XwfWvcr b/Jg== 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:to:from:feedback-id :dkim-signature:dkim-signature; bh=D+GTzLQFmpfIZebnBHKmLneCEhVlPIP7ZLa4jOj3Qhk=; fh=Zg6yj1iLReYuu+XOEmRDwyizklD9g5ULV0IopsbQ56w=; b=ftI0pTObPuhvJP9NS37fUtWuRVzP4ttVtg6EgRjztxNn6HXGPwkHZj8jQA6sXeHT4z 60yY7swDHrCZm63vJKfJZL9QrOW+MUXSoedWj3lhTitMHs0U3OsERucl+ys/TkEg2Wtd +HqKjaPHsrOeahBr7m6TKH6GZeacDc2OnVgQrJN+0SvcqbrEuZijLxMY7uVCcgx454A9 esGQfDmmwk48z1Mfdjnz2+Vz+WPtmZ+CkpzjUQaiTGu/b/RJSJKtIiX52tTeI3/TV1/S CaLnDrz1ctZEroShkkEsAaorVwvJeGHxAHdPD9XdvNgS/FH3yHGsEcHGBYuNTcpDNygV E30g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=Fcgbn1Eg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Yi2kMvP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id r17-20020a170902c7d100b001cc2c4fdbecsi5870411pla.649.2023.11.05.12.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 12:50:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@mai.rs header.s=fm2 header.b=Fcgbn1Eg; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Yi2kMvP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E93A0809C930; Sun, 5 Nov 2023 12:50:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbjKEUt5 (ORCPT + 34 others); Sun, 5 Nov 2023 15:49:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjKEUsS (ORCPT ); Sun, 5 Nov 2023 15:48:18 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2C57E0; Sun, 5 Nov 2023 12:48:15 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2AA585C00B6; Sun, 5 Nov 2023 15:48:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 05 Nov 2023 15:48:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mai.rs; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1699217295; x= 1699303695; bh=D+GTzLQFmpfIZebnBHKmLneCEhVlPIP7ZLa4jOj3Qhk=; b=F cgbn1EgO+ZN/Ku5AhJwVNvrRBZMAE2GVgtjAo5dWFmBoF2SK7OGspGM/IG9yTVBr dyTAUQduSv7nRR0E+LhCm+SvGcFF4y9EWvigCgX8Ipou/bmIEW9+OGc9XKCcQVtl TJ/0QXN0uSFVWYloHCrTnSN3QXcV7K8vlaoihxTcyE9VNntzOrc91ofBA9vJS+1q WwkeiRetH/fJ2jyvh/xftE4Z5Y9UaAlZTCnMQ36mcy13e1Q9ZhBIzXlFITGnk24a M+TP4d+Ub9ofYQ8zCSnMTe9vUQv3ieavgafceG70DxSbeLsLDjOoEKBXHcQlcM+O OjOPbAr891frLjRq0e77w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1699217295; x=1699303695; bh=D +GTzLQFmpfIZebnBHKmLneCEhVlPIP7ZLa4jOj3Qhk=; b=Yi2kMvP44eqkWUEsb pk/wBH9onTmESYr3nUT4MQNlvp3L3lcLl7Qs7o9wa7WJLKDhFLjZQEyfBLsjWcOd DQqPodZSXkCh2VBTM/V5hchDFauiyj3GOiy4KSfkkc+4EbLVoihV/YRPoAozWqCu xY1ak03vNOfI52UtYvFBQsyaIAiOlzF25msYgwZok76n5WpZg2i7yl8w43xIoghw Dhhd0mGAdqBQ+Nw3ux0SMYCBtkTf+O8CKZgd7WpehVZjSSogIEiQYpZslKEjFUGM cqoYFJxJoVyAkvh5ENva00Z7rdDuipue5NL7iHTN+SWN/2Q7MF+4xcVegxw0INZS wA/tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduvddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepuehrhigr nhhtucforghirhhsuceosghrhigrnhhtsehmrghirdhrsheqnecuggftrfgrthhtvghrnh epvdegkeekkeehffehveeltdekvdfhffejuefgjeelfeefgffgleekheeffefggeefnecu vehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepsghrhigrnh htsehmrghirdhrsh X-ME-Proxy: Feedback-ID: i891b436e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Nov 2023 15:48:13 -0500 (EST) From: Bryant Mairs To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Linus Walleij , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 6/7] ARM: dts: qcom: apq8026-samsung-milletwifi: Enable Wi-Fi and Bluetooth Date: Sun, 5 Nov 2023 21:46:21 +0100 Message-ID: <20231105204759.37107-7-bryant@mai.rs> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231105204759.37107-1-bryant@mai.rs> References: <20231105204759.37107-1-bryant@mai.rs> MIME-Version: 1.0 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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 05 Nov 2023 12:50:41 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781758634940373164 X-GMAIL-MSGID: 1781758634940373164 Enable Wi-Fi and Bluetooth support for milletwifi. This device uses the WCN3660A that is already supported, so it only needs to be enabled in the DTS. Signed-off-by: Bryant Mairs --- .../qcom/qcom-apq8026-samsung-milletwifi.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts index 910e8d2f69b0..57f50af487c1 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-milletwifi.dts @@ -310,6 +310,28 @@ touchscreen@48 { }; }; +&pronto { + vddmx-supply = <&pm8226_l3>; + vddpx-supply = <&pm8226_l6>; + + pinctrl-0 = <&wcnss_pin_a>; + pinctrl-names = "default"; + + status = "okay"; + + iris { + vddxo-supply = <&pm8226_l10>; + vddrfa-supply = <&pm8226_l24>; + vddpa-supply = <&pm8226_l16>; + vdddig-supply = <&pm8226_l24>; + }; + + smd-edge { + wcnss { + status = "okay"; + }; + }; +}; &rpm_requests { regulators { @@ -557,6 +579,13 @@ tsp_int_rst_default_state: tsp-int-rst-default-state { drive-strength = <10>; bias-pull-up; }; + + wcnss_pin_a: wcnss-pin-active-state { + pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; + function = "wlan"; + drive-strength = <6>; + bias-pull-down; + }; }; &usb {