Skip to content

Add support for Qualcomm QCA639x chips family

Dmitry Baryshkov linux-arm-msm linux-bluetooth linux-devicetree lkml oe-kbuild-all 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 19 repliesIn review
  2. v2 posting 2/25 patches 18 repliesSuperseded
  3. v2 posting 1/22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesSuperseded

Changes in v3 from the cover letter

- Rebase on top of linux-next to get wcn6750 changes.
- Switch from misc device providing power domains into regulator code.
- Use vddpe-3v3-supply as expected by pcie-qcom driver.
- Use enable_gpio functionality in hci_qca driver.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: regulator: qcom,qca6390: add binding for QCA6390 deviceDocumentation/devicetree/bindings/regulator/qcom,qca6390.yaml+70 -01 reply
2/7regulator: qca6390: add support for QCA639x powerup sequencedrivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/qcom-qca639x.c+171 -016 replies
3/7Bluetooth: hci_qca: provide default device datadrivers/bluetooth/hci_qca.c+14 -101 reply
4/7Bluetooth: hci_qca: merge qca_power into qca_serdevdrivers/bluetooth/hci_qca.c+22 -361 reply
5/7Bluetooth: hci_qca: merge wcn & non-wcn code pathsdrivers/bluetooth/hci_qca.c+71 -810 replies
6/7Bluetooth: hci_qca: add power sequencer support to qca6390drivers/bluetooth/hci_qca.c+4 -10 replies
7/7arm64: dts: qcom: qrb5165-rb5: add QCA6391 WiFi+BT SoCarch/arm64/boot/dts/qcom/qrb5165-rb5.dts+56 -00 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchBjorn Andersson
1/7
2/7
3/7R-b
4/7R-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] Add support for Qualcomm QCA639x chips family

Qualcomm QCA639x is a family of WiFi + Bluetooth chips, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks use common power management unit wich should be turned on before either of devices can be probed. Add common 'qcom-qca6390' driver providing regulator to be used by both BT and PCIe parts.

Changes since v2:
- Rebase on top of linux-next to get wcn6750 changes.
- Switch from misc device providing power domains into regulator code.
- Use vddpe-3v3-supply as expected by pcie-qcom driver.
- Use enable_gpio functionality in hci_qca driver.

Changes since v1:
- Stopped using wildcard in the dts binding, stick to qcom,qca6390.
- Stopped using pcie0_phy for qca639x power domain.
- Describe root PCIe bridge in the dts and bind power domain to the bridge.
- Add pci quirk to power up power domains connected to this bridge.

----------------------------------------------------------------
Dmitry Baryshkov (7):
dt-bindings: regulator: qcom,qca6390: add binding for QCA6390 device
regulator: qca6390: add support for QCA639x powerup sequence
Bluetooth: hci_qca: provide default device data
Bluetooth: hci_qca: merge qca_power into qca_serdev
Bluetooth: hci_qca: merge wcn & non-wcn code paths
Bluetooth: hci_qca: add power sequencer support to qca6390
arm64: dts: qcom: qrb5165-rb5: add QCA6391 WiFi+BT SoC

 .../bindings/regulator/qcom,qca6390.yaml           |  70 +++++++
 arch/arm64/boot/dts/qcom/qrb5165-rb5.dts           |  56 +++++
 drivers/bluetooth/hci_qca.c                        | 225 ++++++++++-----------
 drivers/regulator/Kconfig                          |  13 ++
 drivers/regulator/Makefile                         |   1 +
 drivers/regulator/qcom-qca639x.c                   | 157 ++++++++++++++
 6 files changed, 401 insertions(+), 121 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/qcom,qca6390.yaml
 create mode 100644 drivers/regulator/qcom-qca639x.c