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: 659134 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 28A2AC7EE32 for ; Fri, 3 Mar 2023 02:43:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229836AbjCCCm6 (ORCPT ); Thu, 2 Mar 2023 21:42:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbjCCCmz (ORCPT ); Thu, 2 Mar 2023 21:42:55 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2815726B5 for ; Thu, 2 Mar 2023 18:42:53 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id f18so1874392lfa.3 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=T6ZR6R1Fv3zH41JOoa9VFJnbBGeZRDWzgGW8Pm/BwL4XHq3r9+5SHCoMDIEb13+7zp nKVndoyxwSiARyB+K/bI0AMxuizKcaobwf76pheZEBbm+9Afkp6Z7c78sfSaQM+JetJf 7u4Aieck2nWO586tQ9Uy8kkzvpUgVseYRTt1hfhCDW3oGmah4MAKX2rCfey+UYqmbblN mCNzJrZK/6dKENbN6og6ANZdREWf5cCw9ZRWzIC8cy/vdy7ppIWoinjABKNd3Diu09AW 7DV19SrCV7HBSCzrC7fJ8x6iu5klYXF3yGSV8TiikWa9CCG3ExfK25TsJx/QKDZGERc0 i4eQ== X-Gm-Message-State: AO0yUKVJjot3NWohRIE9WgyiGYIQjj2dfuzTZ+DkXB9L1/A9Cxyir9hc UkKxQNdnDVKr1DPiQquIVGz2WXRTlgs/hcI9 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: linux-wireless@vger.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[] = {