From patchwork Fri Mar 3 02:42:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13158267 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE1A2C6FA8E for ; Fri, 3 Mar 2023 02:42:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbjCCCmy (ORCPT ); Thu, 2 Mar 2023 21:42:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbjCCCmx (ORCPT ); Thu, 2 Mar 2023 21:42:53 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98F43210A for ; Thu, 2 Mar 2023 18:42:51 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id f18so1874331lfa.3 for ; Thu, 02 Mar 2023 18:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677811370; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=iDNEXw8teYXC1RePAZhjBh/dGMalMHP9Lg4fn2iWwxc=; b=dbiBVX/9NCg6BYhGh8+LSwc0ol2iHOSJAG4s5qAC8SSKGGXFnOadO4zhO2ClOZxR+T h57Xi6/m6alMV2KeoMcOwLJA60xhg5m6RjAK6+BoJZ4dx7z96UaS52+hN+DkPCwJQBJm RHNHTKlIH4lcldJhSyQYjwdaAHxB/ubgYt5BqbeBSM8sSAnaw20m5OcPsoiABIHqU/JK +fj74GC4nkL+uA3QG61opD2K90/6c6crSgwyJ9VnKZ1NguTDCU4irPdKTbOjJGFruvtB SsgVDZ5RTYAneDGzXiT4gt+sDQ9u9pf7mqs7XGld37ce1IvRjhktTGktDeKxdJF8dZSJ nE6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677811370; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iDNEXw8teYXC1RePAZhjBh/dGMalMHP9Lg4fn2iWwxc=; b=n2OsNioGrIQEDj5jtNxMOXDTUtjwBKBW7KGdmcsbgFAbdt9SieV7MYNPDC52mxS9zq cnqQ5WIjFM35tU5fGln/fhJTjSDhFUMJjZnA7Q5kxb0VPFcXhjdymwoS21a+x4mFxcIL 5yOxMUXbE5o4clFjD/J4EEEfwRL8PuVLPMiioJtMIUQ9S9wW9hzU03+NQR5h+dhN+COT 7EUJAHn+PnmuqVgBk+MPuLlYKoD+SyTWlZYN8pWo7PlAyO1iVPI8AqEy9uGeNphq8D7A TRg84y/rFyM0Xk3rnxeW30pSVRWiW4jt29HAtPbOzFUmQFSwJ/czpTR+C0l/31ACRxjK SV/A== X-Gm-Message-State: AO0yUKUUbE1AKSyAGptSpLXXcgkBB/rSr+q78uJ14VDVbWGsiszkacmi +u13i91fIby+RTtNBAmNk9vTOeCHEdfrPLFH X-Google-Smtp-Source: AK7set/6zMdHJiXD7PXCcw4098kJJxCA5Cq9XHtnY3BVqas1Stg1PK/SfGNLLtpNEMiO4rTo9aUbOw== X-Received: by 2002:ac2:548d:0:b0:4e0:ff8e:bbfc with SMTP id t13-20020ac2548d000000b004e0ff8ebbfcmr98941lfk.31.1677811369885; Thu, 02 Mar 2023 18:42:49 -0800 (PST) Received: from localhost.localdomain (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id x19-20020a19f613000000b004db1cd5efcesm181379lfe.241.2023.03.02.18.42.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 18:42:49 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: ath10k: Add vdd-smps supply Date: Fri, 3 Mar 2023 03:42:45 +0100 Message-Id: <20230303024246.2175382-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Mention the newly added vdd-smps supply. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index b61c2d5a0ff7..8697e63aeffa 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -66,7 +66,7 @@ Optional properties: - -supply: handle to the regulator device tree node optional "supply-name" are "vdd-0.8-cx-mx", "vdd-1.8-xo", "vdd-1.3-rfa", "vdd-3.3-ch0", - and "vdd-3.3-ch1". + "vdd-3.3-ch1" and "vdd-smps". - memory-region: Usage: optional Value type: From patchwork Fri Mar 3 02:42:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13158268 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EADD9C678D4 for ; Fri, 3 Mar 2023 02:42:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbjCCCm5 (ORCPT ); Thu, 2 Mar 2023 21:42:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229825AbjCCCmz (ORCPT ); Thu, 2 Mar 2023 21:42:55 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19FD72698 for ; Thu, 2 Mar 2023 18:42:53 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id bi9so1880705lfb.2 for ; Thu, 02 Mar 2023 18:42:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677811371; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=U5WGNHoHvFrqEzbIMWPaETRGh642NbHa8AZbtFWCIaY=; b=a1Th93dRZhNLFhiK7IaDAOwo6+U7mQU2G9IxkKcOhsXbtvHHwqOJBbyqnZq9OWlJbe PRy2m3odeC/uu+rdRtGZFHE4CyA+ZQyW570JMMZLN4ZkJTbwPvvrklO6MtzsN/isn4BZ d6+Vw3elF8Thke2Olw45Gfy2cHVxP7Mn/m34a+orjQ73+ZKOSd2QIvCAH5Xjl2PGcOSe Kt+nHfF3mpKhQlnRl82T+Ihx/9ydlw6UJibClFQKxIyBYPPaSJ8YYC0mAaBnuZk5yqdu wUD+TIYQLfmen1g5gsYWk2+PTx84nUjPbl82gCmqpBZeOrpdzxTaESrrrRSVSUuAlubS glEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677811371; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U5WGNHoHvFrqEzbIMWPaETRGh642NbHa8AZbtFWCIaY=; b=YzFhe/Mx6p4Qe6VpJsymwD0k0K3d2lA+REJaEErZl5hAMVjQqPjHdB1vBH7cG94E6N zz7KTyWBIelSi/HcVmY9o/U8DcgswXNVCjAGabT65P9geTPuCwgSAouFcmN81xP9HaN6 yEVUNDIGW4XRWB82dkOpExGjYGP0erYQVn6EWGHRyh0AyhPKibjOWe1tjYHuLfFAOLgx 0fM9k0zr+xFwEilbmS5l73YokFmIXYDXxdi7ODs72yLcpJHOEJz4kzCIwWLJBGW1mTF2 vGbsbsJdYVLlD0BPmggVORVYuQseQZErasdq4KxdqcLKHX5CWVUy7a3XVFrC6CaqUqlr TAZA== X-Gm-Message-State: AO0yUKWv2pT5geJ610qfUmzdbqtO9hBIpunyAqo6XDzwGBt9plVeDMjE +dXagYVBc7ayZf1giwSmkJgU7Q== X-Google-Smtp-Source: AK7set9F3ef7m9KaxrogAYM4oalKAF6WRYPXP6o4DQr3SoBD77rCGtH28CpKaBUu35HPmnfJ/K7pCw== X-Received: by 2002:a19:7611:0:b0:4b5:b705:9bf7 with SMTP id c17-20020a197611000000b004b5b7059bf7mr99636lff.11.1677811371416; Thu, 02 Mar 2023 18:42:51 -0800 (PST) Received: from localhost.localdomain (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id x19-20020a19f613000000b004db1cd5efcesm181379lfe.241.2023.03.02.18.42.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 18:42:51 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] wifi: ath10k: snoc: Add VDD_SMPS regulator Date: Fri, 3 Mar 2023 03:42:46 +0100 Message-Id: <20230303024246.2175382-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230303024246.2175382-1-konrad.dybcio@linaro.org> References: <20230303024246.2175382-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org At least SM6375 (bundled with soc_id 0x400e0000) and SM4350 (bundled with unknown, probably the same) expect one more supply, called vdd-smps downstream. It's set to 0.984V and connected to a - you guessed it - SMPS regulator on PM6125. Add support for it. Signed-off-by: Konrad Dybcio --- The smps name sounds like a quick downstream hack and is probably something more exquisite in reality.. Not something I know, though. drivers/net/wireless/ath/ath10k/snoc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index 9a82f0336d95..6443523131db 100644 --- a/drivers/net/wireless/ath/ath10k/snoc.c +++ b/drivers/net/wireless/ath/ath10k/snoc.c @@ -48,6 +48,7 @@ static const char * const ath10k_regulators[] = { "vdd-1.3-rfa", "vdd-3.3-ch0", "vdd-3.3-ch1", + "vdd-smps", }; static const char * const ath10k_clocks[] = {