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: 63733 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp193152wrd; Thu, 2 Mar 2023 19:00:01 -0800 (PST) X-Google-Smtp-Source: AK7set/+WwyFj9AtAOSfsjpI8OhDrx2d9Bbub3j2UdX1NKWyyNZdJYhBtckx9osy9gXxUOM5CCI3 X-Received: by 2002:a17:90b:3ec2:b0:236:75d3:fedc with SMTP id rm2-20020a17090b3ec200b0023675d3fedcmr90673pjb.8.1677812401150; Thu, 02 Mar 2023 19:00:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677812401; cv=none; d=google.com; s=arc-20160816; b=0EiXswsoaFGFVetT6UAb/+6uLltdjzmzLxGVOBNByhJRBlZD8T/bu2aqRrnA774Sa3 61jJtFnIVfjsnN07eQvRrcqEQvKeXM/T1IaC6smjNXY8TUCFxiVRnQ7qxuH3uBuZoN4n 6NE85zXBFVhIHAHseobLwbSOobOVnLETWbLw1LbmLws40/VZvApAX3sDXKxMtRiUnKK/ FZyoz7Aqb/U9eb7tK7pPE9A839D7AhZWWGJLrfZCKoZhk5i7MV9yJrxTzvwQ3GCPTBzR t+75JeOllAFdpMhRrclxs4X3PsPZWnY/HyPTXZuTcedDb/5G9YwSRXZccik7ePVD8pf/ pS4g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iDNEXw8teYXC1RePAZhjBh/dGMalMHP9Lg4fn2iWwxc=; b=isecSbwXK20wI5MHVNE4/lTIi41LZsLhH1u9cs5c4gTqUUQZ25sbAcSNkqqQzmmUNH pkdJpl6SUNhBs9IZRFdx81Gt/CAGMYGKFnaIl2Z7fqtwBEsKFtk+Ll8M6SpkeV+VbzfF RI0cDKAEa/g8ncUL91sfXXcQVyJv4Cl4VeVg6+hiexMOc9koT0qgaw3jm13TAJRrYDf6 bybgQj8jW1BdoF/A8o5jr+rRJBVPgOLxwuCmF78XWfJ5QKKIxajQRggGfRy5XhwVkJxf n7KJHK/LbANxTNjzG4Gl43pXnOkFth2dAECf8URthvwR6bJkFMyoWzwiJ1yqFGtxliNG O9ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dbiBVX/9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i14-20020a63220e000000b004e30cc4a2f5si871501pgi.507.2023.03.02.18.59.35; Thu, 02 Mar 2023 19:00:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@linaro.org header.s=google header.b="dbiBVX/9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229831AbjCCCmz (ORCPT + 99 others); Thu, 2 Mar 2023 21:42:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbjCCCmx (ORCPT ); Thu, 2 Mar 2023 21:42:53 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 965A5C7 for ; Thu, 2 Mar 2023 18:42:51 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id bi9so1880632lfb.2 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=gNFS0wE4ZggBtKbPf9a+s0zptelqUTURsu5IyKzdeUX3Zpd+VHYKfNIxZGY9nUGCGk 5g37FD1DF3D3zd3HwQTAzHP1Kx5GCB8rPszdeGIl5HlWcagjZVIUPdGGJZ01BmLnM0Za Gv7Ifbh8nkbFeBuTyw0P0P8sp3gbHPyK1HDcnrwvHV1Exdh/YFbDbLlUe2+HC1/oeIb+ RptT6DjcZsjQlO6Nw0yi5N+5fawkFwLEBevGvhm2Z/uAJfAlKfdRaeSem9dvxxU9AkdF cR/uALwGq+PQ2+KgQFDs3efR7Ew5ZVoqQezNFwAPMveF+xT7YYbFQwB1cqntI5Krrkec riDQ== X-Gm-Message-State: AO0yUKU9pu7se+w1cQzqqh02nQvw+aTzuFoY1nyuBvkTerk50e9evKng XbGymGota0vwEpXVfNuw6itzMw== 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 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 autolearn=unavailable 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759313816185270811?= X-GMAIL-MSGID: =?utf-8?q?1759313816185270811?= 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: 63735 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp193377wrd; Thu, 2 Mar 2023 19:00:27 -0800 (PST) X-Google-Smtp-Source: AK7set+ojPHoxgEh4gVTO4qjALIFZYoMyJrqwI24E4FPXG0q4FBjLHTej9uI3GDDeD49r5dEK5wu X-Received: by 2002:a17:907:8e9a:b0:86a:833d:e7d8 with SMTP id tx26-20020a1709078e9a00b0086a833de7d8mr78409ejc.17.1677812426979; Thu, 02 Mar 2023 19:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677812426; cv=none; d=google.com; s=arc-20160816; b=aYB/VepRoo4wWi4S4Tht8EqYI2fTU5O3H4+a7NF+xZOhufj6Bd0Pm1UVnIN8ypvkVQ yPbZidNqdhARRs3hDjBDNYN3JH+oEm5LtJOsnzekgCKDpsXglPdV7++me/uO4hoCMM5x H0qeytLCb/6ifRkUA1Lojosq6NnBdhFnjFofOe7yA0WWJNNMmd5Arqhh7pvunwn/wCTH iZajLxp15ILmXKbHwevtAiJgOz/790fxkRbZnW7hy3a1DIB25I8qetq4Z/Y+Xj7XGD3B BTs8Zd4YTFdxU4SW7PUy8j2acoce89qboeaVm8VQaSyeVAH/Mhl2mX1Xtzp84kJSWWNT Q6aw== 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=U5WGNHoHvFrqEzbIMWPaETRGh642NbHa8AZbtFWCIaY=; b=XCVHJ25JVBPgHDQqV4s7i54yWY/owOPUDWBCWFUncr/VZ1WWMOr1V1sm1ATDy13azY cp8j1M3Lluwqv9QRqp7aW7rp00ag6oaWpDz8udPm3W2L0JAMkKIJMkDrgoSBlMylgIJ4 Iu2QOCedzA2u8B0aNXjariX36sNbD6OSz6nLgdAriRcNZQKL8yBtHfWjr/0ME9NTpAki a2u4SCwKhAnAPlpiIQaw7z4/9RoervkAU8xeqmbDyJfPMRY25F1VBu0C6Jhsvw4WJnXx kzdQZbM5DaYla6r4UR0NG1pggtqQQ7IN0Js7/IBJlFjSZnFSvvCbiTgU9JIcuwyaHzf2 UvKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a1Th93dR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs26-20020a1709073e9a00b008d741e5e351si1486161ejc.356.2023.03.02.19.00.03; Thu, 02 Mar 2023 19:00:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@linaro.org header.s=google header.b=a1Th93dR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229849AbjCCCm7 (ORCPT + 99 others); Thu, 2 Mar 2023 21:42:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbjCCCmz (ORCPT ); Thu, 2 Mar 2023 21:42:55 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3046226BA for ; Thu, 2 Mar 2023 18:42:53 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id i9so1845575lfc.6 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=40+KQglHdXp9t/koSmdYOJcUGUFGHRipmleJajiMqjd8YSLIEKyl9P7Jin5/jVMPz1 Gln9mCD01Ka5N9+Kov+6fvSBlGvxYQle/3byQ+EdXcLQHjL7Oz+mYsBfkUAw3QgK8hzF U7nAsHs4NhBfGZbbp+jEafG0la64jEYIGWvqppOQil5X14LVTw3XIkcLanM+2/SRAWR1 g5IueAleGbvHONSyJr8PIjnzY7ONj8DpdNOXqCUQ7rfHpWmQhozK/nY/eCyG6jPsNdct 7Sei+un9CQZlzJmegvvj95VxVwB3/bzzAadJM4nlQ/9LPpDbQoxix+MQKN/oN4e4ttk7 AzOg== X-Gm-Message-State: AO0yUKVGU+w7DoCFpvSoz/9C3iMxOYs/9BYy6lyCTMQsQWzAIT9RPDmH kbSZe05U7Hze0fUPmhUFUbJoYg== 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 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 autolearn=unavailable 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759313843465091682?= X-GMAIL-MSGID: =?utf-8?q?1759313843465091682?= 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[] = {