Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp202987rdb; Tue, 5 Dec 2023 03:09:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcCFASQocUithpwjUJIBAGL33ViqICDHFLzjcZn0emL6vdjO1HCXTT6NYSSr1Djh+hHysk X-Received: by 2002:ac8:7d0e:0:b0:3f9:aa80:b48a with SMTP id g14-20020ac87d0e000000b003f9aa80b48amr1663287qtb.8.1701774568532; Tue, 05 Dec 2023 03:09:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701774568; cv=none; d=google.com; s=arc-20160816; b=Mp9siCeYozMpmxztCKtrsJmsTluOy9nSJl+sKL8RXMB4v0tGZ8KErh27mN53/vOzHB Knlmfr7ROApSke5eRnYjWvMNH2kl186kXuOfj9e2bMI/uFytOzZAt/PYErZ8rolEzSst gNw/uudxXrLPOMY8553xYh+yjPOsVfHiJekVugjhSNGDC1k+51x5atKCHIV0Tbl4RLEk XOTuWZXYQPbTkOcz51PHpmaXIPIOtHil1JlL6ZeL+v5jGQSUYQNey2TP58oAVR6kv3/c wz/6FiK0ydMlPURmYWksn8Ia+SnJ7Evg+zBQp+TcliZ9yxN/NhXH9XVHNltf4EURGWgP mHvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=QEX8g9ws8pSAca/CRdznAgAd77RiybUJhIDkQ8ekvP4=; fh=RJimpfmNIfXZxP3Hhll1x19bf82G9yCzSF3aUoUHASc=; b=O72UDCPbl+3jPrNewv22ZPLtqBoOrt0hIHJOcwm+ooKI6yIq0125bNL75xIeybpflR gOfass+aCTvXwSYwFQ1BNUMRqFybY0pWKnQjl3vIOiuOEGhBBNnySQO5H4oR9Dl9mXbT hxN3qhOo3v9i2asfAzvX4IuzdBGSYN91LOxUZctpb8oGLhty7t5jLt9kadJ+haNjtVsi rVgYyRBKB9Vm+a/IvlVInyQDeH+qs2aBTPLRQjgCWpI9QnKBiEGtvkz9txcD1j/GmU4D d/+G/kHInP2dFZ8mqyodimrz0O7o8TIBOVp8ok3xI5DvMbNaFsA4nENrRKFJER7l5/27 1dmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=jWKEf0Ve; spf=pass (google.com: domain of linux-bluetooth+bounces-396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-396-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ev6-20020a05622a510600b0042545acddd6si7217999qtb.498.2023.12.05.03.09.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:09:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=jWKEf0Ve; spf=pass (google.com: domain of linux-bluetooth+bounces-396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-396-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4AD111C20C1A for ; Tue, 5 Dec 2023 11:09:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E0E455C1F; Tue, 5 Dec 2023 11:09:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="jWKEf0Ve" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC198113 for ; Tue, 5 Dec 2023 03:09:13 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40b479ec4a3so54500135e9.2 for ; Tue, 05 Dec 2023 03:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1701774552; x=1702379352; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QEX8g9ws8pSAca/CRdznAgAd77RiybUJhIDkQ8ekvP4=; b=jWKEf0VeXDkMSYAdZy1IKtXAT0G3ERckDws1B66P7aBJaQW8NSj5myftgwYuV4JetS aaObN9fFWVJnWpoHgI0pGLz2IN9gvYeSLuAfZGL7xaJNC0jwspPftZ3yDDU1WymFm4WK vcDYN+BMgTw0vwcxZ08d2EYBvVHrq/QDbAu6uF+OeGynKJQyHQMfWfZWO0phRg5j2vCL phf5EiRfwexzAqzKT+aFGulJaRMWsvMJT17+ek8xXW4tUyr6NFE2ZA+NqljowmuSgztq AldNhrI2a1eOGbcyOWBeOXnDQn0aY5pZprcboAzrPfTO6VsHu+3WVeck8K8yjRPsBrxO LTlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701774552; x=1702379352; 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=QEX8g9ws8pSAca/CRdznAgAd77RiybUJhIDkQ8ekvP4=; b=sBmEm3PBy7HBzOf+ZMztjw07sSZgJilXkon0rmU78VH0aRA0ZN023Hnxn54+/n04TT DQBsHl9mTHZUYC2q8s8dtezAr4qevi8tmcTx8jL7hOWNum+zaeoxckjoDOZqIJIVlcuN Ll+0XzzoI29WAZc7CYNWaVa6suwPBYbS2ukEd57f9Px6zTgG/TQQgrUO7/5aJ3pHLEQ8 C8coP79FU30V+4ecMVwB0NDyhmIHlZclIGFFsHwdrOXTg5yxWApch3qWMs/753PrSsIA XDvXgnFYlwUz6JBHVTYL6RxSoI1WpaCZanPQuGmiJoDgVZmkbE7eNmYGRyEwifw4CwCV 1xug== X-Gm-Message-State: AOJu0YzgQTvhglZ60BAJM60NoRAMl4w2H7DURqCrTKNOnYfm1X3kg51S vqfP7K6bg0eW27JkHNzhwRVR6A== X-Received: by 2002:a05:600c:4506:b0:40b:37ef:3671 with SMTP id t6-20020a05600c450600b0040b37ef3671mr4501417wmo.38.1701774552298; Tue, 05 Dec 2023 03:09:12 -0800 (PST) Received: from brgl-build.home ([2a01:cb1d:334:ac00:2efb:ffdf:fa22:d5ee]) by smtp.gmail.com with ESMTPSA id o18-20020a05600c4fd200b0040b45282f88sm21798166wmq.36.2023.12.05.03.09.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:09:11 -0800 (PST) From: Bartosz Golaszewski To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Alex Elder , Srini Kandagatla , Bjorn Andersson Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 1/2] Bluetooth: qca: add regulators for QCA6390 Date: Tue, 5 Dec 2023 12:09:02 +0100 Message-Id: <20231205110903.68898-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Bartosz Golaszewski Add regulators for the QCA6390 module present on the Qualcomm RB5 board. Signed-off-by: Bartosz Golaszewski --- drivers/bluetooth/hci_qca.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index 35f74f209d1f..7f25931a946e 100644 --- a/drivers/bluetooth/hci_qca.c +++ b/drivers/bluetooth/hci_qca.c @@ -2044,7 +2044,15 @@ static const struct qca_device_data qca_soc_data_qca2066 __maybe_unused = { static const struct qca_device_data qca_soc_data_qca6390 __maybe_unused = { .soc_type = QCA_QCA6390, - .num_vregs = 0, + .vregs = (struct qca_vreg []) { + { "vddio", 20000 }, + { "vddaon", 100000 }, + { "vddpmu", 1250000 }, + { "vddrfa1", 200000 }, + { "vddrfa2", 400000 }, + { "vddrfa3", 400000 }, + }, + .num_vregs = 6, }; static const struct qca_device_data qca_soc_data_wcn6750 __maybe_unused = { -- 2.40.1