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[] = {