]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 25 Mar 2025 16:41:19 +0000 (12:41 -0400)
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>
drivers/bluetooth/hci_qca.c

index 0ac2168f1dc4f8ae2f7a3b2912e7f5b5b8115cac..d2fd08aceb179ead9ea9ced1dc8736db6192063e 100644 (file)
@@ -2359,6 +2359,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
@@ -2378,7 +2379,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);