]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Bluetooth: hci_qca: use the power sequencer for wcn6750
authorJanaki Ramaiah Thota <quic_janathot@quicinc.com>
Thu, 20 Feb 2025 11:29:45 +0000 (16:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:17:46 +0000 (10:17 +0200)
[ Upstream commit 852cfdc7a5a5af54358325c1e0f490cc178d9664 ]

Older boards are having entry "enable-gpios" in dts, we can safely assume
latest boards which are supporting PMU node enrty will support power
sequencer.

Signed-off-by: Janaki Ramaiah Thota <quic_janathot@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/hci_qca.c

index 37129e6cb0eb136e2e356b9f4a03e1da700e00c1..fbf8840fa534eaeceab51ff9835230e712dc7864 100644 (file)
@@ -2346,6 +2346,7 @@ static int qca_serdev_probe(struct serdev_device *serdev)
        switch (qcadev->btsoc_type) {
        case QCA_WCN6855:
        case QCA_WCN7850:
+       case QCA_WCN6750:
                if (!device_property_present(&serdev->dev, "enable-gpios")) {
                        /*
                         * Backward compatibility with old DT sources. If the
@@ -2365,7 +2366,6 @@ static int qca_serdev_probe(struct serdev_device *serdev)
        case QCA_WCN3990:
        case QCA_WCN3991:
        case QCA_WCN3998:
-       case QCA_WCN6750:
                qcadev->bt_power->dev = &serdev->dev;
                err = qca_init_regulators(qcadev->bt_power, data->vregs,
                                          data->num_vregs);